+ All Categories
Home > Documents > I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware,...

I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware,...

Date post: 11-Jun-2020
Category:
Upload: others
View: 4 times
Download: 0 times
Share this document with a friend
27
I2C for PC USB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER Features Uses BL233B I2C-Serial IC USB, RS232, TTL interfaces 3 separate I2C/SMBus busses 2x SPI bus 4x Dallas type 1-Wire bus Easy, Futureproof, ASCII control 5V and 3.3V On-board regulators Galvanic Isolation option Power-On, Watchdog and other autonomous macro actions Auto-switching USB/RS232 No special DLL's, API's, Drivers Cross-Platform: Mac, Android, Linux, Windows, iOS etc USB Bus Power or 9V external Boxed (not bare PCB) 45x80mm Applications ATE for I2C/SPI based equipment Evaluation of I2C and SPI chips Evaluation kits for I2C & SPI chips Rapid Prototyping & PnP design PC based instrumentation and control Reader for 1Wire serial numbers Galvanic Isolated I/O BluetoothLE version -iOS/Android Cheap and Easy Data logging PC and Network Watchdogs PDA/Calculator Analog/Digital I/O Lithium Battery controllers RS232 parrallel I/O Camera chip control Fibre Optic and Laser Module Programmable EEProm stores commands and settings Power On Reset actions Interrupt actions Watchdog timeout actions Macro's Autonomous actions © 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 1 of 21 ph +64 21 623-402 www.i2cchip.com [email protected] USB RS232 FibreOptic RS422 Is olation BL233 5V PSU I2C TTL Serial Port I2C I2C 3x I2C Ports Galvanic Isolation I2C2PC Adaptor 3V3 PSU Bluetooth VDD=5V, 3.3V Option Board CMOS CMOS TTL
Transcript
Page 1: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Features

Uses BL233B I2C-Serial IC USB, RS232, TTL interfaces 3 separate I2C/SMBus busses 2x SPI bus 4x Dallas type 1-Wire bus Easy, Futureproof, ASCII control 5V and 3.3V On-board regulators Galvanic Isolation option Power-On, Watchdog and other

autonomous macro actions Auto-switching USB/RS232 No special DLL's, API's, Drivers Cross-Platform: Mac, Android,

Linux, Windows, iOS etc USB Bus Power or 9V external Boxed (not bare PCB) 45x80mm

Applications

ATE for I2C/SPI based equipment Evaluation of I2C and SPI chips Evaluation kits for I2C & SPI chips Rapid Prototyping & PnP design PC based instrumentation and

control Reader for 1Wire serial numbers Galvanic Isolated I/O BluetoothLE version -iOS/Android Cheap and Easy Data logging PC and Network Watchdogs PDA/Calculator Analog/Digital I/O Lithium Battery controllers RS232 parrallel I/O Camera chip control Fibre Optic and Laser Module

Programmable

EEProm stores commands and settings Power On Reset actions Interrupt actions Watchdog timeout actions Macro's Autonomous actions

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 1 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

USB

RS232

FibreOpticRS422

Isolation BL233

5V PSU

I2C

TTL SerialPort

I2C

I2C

3x I2C Ports

Gal

van

ic I

sola

tion

I2C2PC Adaptor

3V3 PSU

Bluetooth

VDD=5V, 3.3V

Option Board

CMOS

CMOS

TTL

Page 2: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Description

With both USB and RS232 serial interfaces this is a truly universalI2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computinghardware, with the simplest and most portable software format.

I2C2PC is not an I2C slave or an I2C monitor. It is a master on the I2C/SPI bus only.

Building an I2C based application needs nothing more than your I2C chip, everythingelse is included.

There is an internal 5V and 3.3V power supply to run the interface and your targethardware. Simple systems will run from the USB bus power.

Unlike some competing products, it can sustain high baud rates, and has multiple I2CBussesCompared to cruder solutions, it doesn't rely on bit-bashing PC software, ill definedI/O characterisics, or processor and OS dependent timing. Unlike single chip USBsolutions it can guarantee timing of I2C transactions

Power-On-Reset actions can be set in EEProm so that systems are properly initialisedwhen the PC is not present.Watchdog actions can be programmed to automatically respond to PC failure.

Galvanic isolation can be installed where the I2C busses need to be isolated from thecomputer for noise, ground loop, or safety considerations.

An optional 3rd TTL interface is available for Fibre Optic, Bluetooth, RS422 andsimilar interfaces, or development for your own BL233 product.

Figure 1 Adaptor with case removed

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 2 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Bus #1

Bus #2

Bus #3

5V / 3.3V

Page 3: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Table of Contents

1 REVISION HISTORY.......................................................................................................................4

2 COMMANDS......................................................................................................................................5

3 SOFTWARE INTERFACE..............................................................................................................5

4 INSTALLING AND TESTING YOUR NEW ADAPTOR............................................................5

5 JUMPERS...........................................................................................................................................6

6 RS232-USB SELECTION.................................................................................................................7

6.1 AUX INTERFACE CN9..........................................................................................................................7 6.1.1 Regulator for Aux Interface 8

6.2 BLUETOOTH ON AUX...........................................................................................................................8

7 I2C BUS CONNECTOR....................................................................................................................8

8 CS AND INTERRUPT PINS............................................................................................................9

9 BUS DRIVE AND PULLUPS...........................................................................................................9

10 POWER SUPPLY............................................................................................................................10

10.1 USB BUS POWERED.......................................................................................................................10 10.2 I2C BUS POWER SELECTION 5V / 3.3V............................................................................................10 10.3 LOCAL AND USB POWER..............................................................................................................11

11 GALVANIC ISOLATION..............................................................................................................11

11.1 FITTING ISOLATOR YOURSELF............................................................................................................12 11.2 GALVANIC ISOLATED POWER.............................................................................................................12 11.3 USB POWER ONLY CABLE...............................................................................................................13 11.4 EXTERNAL 5V TO PC SIDE..............................................................................................................13 11.5 FITTING A DC-DC CONVERTOR.......................................................................................................13 11.6 DEFEATING ISOLATION.....................................................................................................................14

12 OTHER MODIFICATIONS...........................................................................................................14

12.1 LOW VOLTAGE REGULATOR FOR BUS 3.............................................................................................14 12.2 DAUGHTER BOARD CONNECTOR........................................................................................................14 12.3 USB LEDS AND POWER LED............................................................................................................15 12.4 USB EEPROM...............................................................................................................................15

13 EXAMPLE APPLICATIONS.........................................................................................................15

13.1 8 BIT I/O PORT..............................................................................................................................15 13.2 SIMPLE DATA LOGGER WITH NO PC SOFTWARE...................................................................................16 13.3 SIMPLE RS232 I/O PORT................................................................................................................16 13.4 RS232 TO LCD MODULE ADAPTOR.................................................................................................16 13.5 HUGE RS232 PARALLEL PORT.........................................................................................................16

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 3 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 4: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

13.6 READING A DS2401 1 WIRE SERIAL NUMBER....................................................................................17

14 USB....................................................................................................................................................17

14.1.1 Changing Comport Numbers 1714.2 SHOULD I USE USB OR RS232?......................................................................................................17

15 FAQ....................................................................................................................................................18

16 FACTORY TEST PROCEDURE...................................................................................................19

16.1 VISUAL INSPECTION.........................................................................................................................19 16.2 DC SUPPLY CURRENT AND POWER SUPPLY..........................................................................................19 16.3 RS232..........................................................................................................................................19 16.4 USB.............................................................................................................................................20 16.5 I2C BUS 1.....................................................................................................................................20 16.6 I2C BUS 2.....................................................................................................................................20 16.7 INT PIN........................................................................................................................................20

17 ROHS, REACH, & LEAD FREE...................................................................................................20

18 ORDERING INFORMATION.......................................................................................................21

19 OEM VERSIONS.............................................................................................................................21

19.1 RS232/USB TO TTL INTERFACE....................................................................................................21

20 SCHEMATICS AND DRAWINGS................................................................................................21

1 Revision History

Rev Date Changes

43

51 24 Feb 2008

58 20 March 2014 Add CN10 pinout

60 25 June 14 Add new power supply dc-dc convertor types, old typeobsoleted.

69 15 Sept 15 Improve Galvanic section, new photos, remove some obsoletematerial.Schematics, PCB and Mechanical drawings embedded

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 4 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 5: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

2 CommandsRead the BL233 B PDF Datasheet for a full description of commands and operation.

There are application notes for BL233 and i2c2pc that clarify specific applications, and other information in the PDF Library

3 Software InterfaceThe I2C-2-PC appears as a serial port device when either the USB or RS232 are used.(Linux, Windows, Mac).No special API's or DLL's are required to access it. Almost any programming language can be used including Labview. Our customers are using it with VB C, C++ Labview Matlab Delphi Java Python Perl PDA's Batch files

4 Installing and Testing Your New AdaptorThe I2C2PC is normally shipped set to 57,600 bd N81, RTS/CTS handshake.

If you have Galvanic Isolation fitted, see sec 11 below.

The jumpers are set 5V, and IRQ on the I2C buses.

Download, Install Realterm from: http://www.i2cchip.com/realterm Documentation is at http://realterm.sourceforge.net/ View the Videos Starter Kit Introduction Video, http://www.i2cchip.com/videos

Use the “Realterm I2C USB” shortcut to start up Realtern. This will automatically configure the port settings to hardware handshake RTS/CTS.

Ensure the Port Select jumper is in AUTO position (ie not fitted). The port will default to RS232 when the USB is not connected.

If you are going to use the USB, install the FTDI driver software for Windows. http://www.ftdichip.com/Drivers/VCP.htm

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 5 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 6: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Connect USB cable. Select port \VCP0 or Connect a DB9 serial extender (m-f) cable (not a cross over cable) to the RS232

(and select comport) . Apply 9V Centre positive 2.1mm power supply. When you apply power you should see a default startup message like “HI I2C v118”. Note you probably won't see this when using USB power, as the message is normally sent before the USB bus has enumerated.

Type “?”. The I2C2PC should reply with 2 hex bytes of status eg “18” All units are fully tested in our ATE system. It is unlikely it is not working out of

the box.

5 JumpersThe back of the PCB has silkscreen of the jumpers with their functions labelled.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 6 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 7: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

6 RS232-USB SelectionSee also “USB“ sec 14 below and “Should I use USB or RS232?“ sec 14.2 below

Selector J2 is inside the adaptor 1: Jumper toward DB9: Always RS232 Jumper toward USB connector: Always USB No Jumper: Autoselect USB when bus enumerates, RS232 otherwise.

J1 J2 Mode

none none Autoselect USB/RS232Selects USB when it is enumerated

none USB USB only

none RS232 RS232 only

fitted none invalid

fitted USB AUX Only

fitted RS232 invalid

6.1 Aux Interface CN9

CN9 is a third serial interface that can be manually selected instead of RS232 and USB. It is selected by installing link J1, and the setting J2 to USB.

*** WARNING: While it uses a 6 pin micromatch it is completely incompatible with the I2C bus. Do not plug into the wrong socket ***

You can use it to add a 3rd interface, eg Bluetooth or Fibre or RS422 or TTLIt can be directly connected to the logic level2 pins of a UART or microprocessor serial pins. For example you can connect it direct to the serial pins of a Linksys WRT54G Linux router. It is directly compatible with 3V and 5V devices. This is also ideal where you plan to use the BL233 in your own design.

1 Boards before 2011 had J3 fitted at edge of case. After 2011 only J2 is fitted internally.Boards before May 2003 are:Jumper toward DB9: Always USBJumper toward USB connector: Autoselect USB when enumerated, RS232 otherwise.No Jumper: Always RS232

2You cannot connect CN9 directly to RS232. RS232 is inverted and has high voltage levels

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 7 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 8: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

6.1.1 Regulator for Aux InterfaceIf you need a lower voltage (eg 3.3V) to power the device on CN9, there are 3 pads labeled CN4, adjacent to CN9 which can take a Microchip MCP1700-XX-T0 or Holtek HT73XX regulator in to-92 package.Cut track between Pin1&Pin 3. Fit regulator, Fit C13 next to U3.

6.2 Bluetooth on AuxBLE Adaptors are available from webstore. See I2C2PC_Bluetooth.pdf for more details.Bluetooth Low Energy and Bluetooth modules can be directly connected to CN9. Set the module to 57600bd using its AT command set, and you are ready to go.

# I2C2PCCN9

# SparkfunBlue SmiRF Extended

1 VCC (+5) 2 PWR

2 CTS (out) 1 CTS-I

3 RXD (out) 5 RX-I

4 TXD (in) 4 TX-O

5 RTS (in) 6 RTS-O

6 GND 3 GND

7 I2C Bus ConnectorThe I2C Bus connector used is a MICRO-MATCH by AMP. Either 4 or 6 way can be used. 6 Way I2C Connectors and Cables are available from I2CCHIP, as well as from Farnell. I2CCHIP can supply bulk connectors (boxes of 250) if required as well as cables, andsmall quantities of connectors.

# 4 Way 6 Way1 SDA SDA2 VDD VDD3 VSS VSS4 SCL SCL5 INT / CS Interrupt input (active low) or

Chip select for SPI (jumper select)6 VAUX Aux supply. Not connected

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 8 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 9: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

The reason for the power lines being between the I2C wires is to stop the edges of SDA and SCL coupling together. This follows the Philips pattern set out in section 17.3 of The I2C Bus Specification.– If the length of the bus lines exceeds 10 cm– This arrangement will have similar capactive loading on SDA and SCL. Where

you don't use pins 5 & 6, it can be better to just use 4 wires.

AMPwww.amp.com

Farnellwww.farnell.co

m

RS

6 way male-on-wire

7-215083-6 149-068

6 pin female-on board

7-215079-6 148-519

4 pin male-on-wire

7-215083-4 149-032

4 pin female-on-board

7-215079-4 148-507

8 CS and Interrupt PinsJumpers J4,5 are provided to select the function of pin 5 of the I2C connector betweenIRQ (input), and CS/1Wire (i/o). This is for BUS# 2, 3 only. Bus#1 is always connected to IRQ.

If you are using the adaptor for SPI, you will need to change the jumper position to CS to make it an output.

Note that the IRQ pin is common to all buses it is connected to. So changing its level at one bus, will affect all of them.

9 Bus Drive and PullupsThe bus is fitted with 1k5 pullup resistors in a SIL resistor pack.

If you want to reduce or increase the current, replace the resistor pack. Werecommend cutting it out with fine side cutters, removing the individual pins throughthe top of the board, and desoldering the holes.

Note that although Bus#3 may be pulled up to 5V, it has a diode clamp that keeps thevoltage down to VDD on that bus.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 9 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 10: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

The BL233 can drive much higher currents if required, 15-20mA @5V VCC. Thereis a 47 ohm protection resistor in series with the outputs that will need to be reducedof course. You will need a buffer at the other end of the bus if you do this.

10 Power SupplyExternal power is 9-12V DC, (2.1mm centre positive). An on board 7805 regulator is fitted to provide 5V. An HT7333 regulator provides 3.3V at up to 250mA.

If you have a Galvanic Isolated adaptor, see 11.2 belowIf you want to use low voltage I2C devices (<3.3V) see: Low Voltage Regulator for Bus 3 12.1 below

USB Bus Powered USB Data: ~50mA for I2C devices USB Bus Powered RS232 Data: ~50mA for I2C devices External Power, RS232 External Power USB

10.1 USB Bus PoweredThe USB bus can deliver up to 500mA3. When operating from USB, the supply voltage is normally about 4.7V. The 3.3V regulator will operate correctly from the USB supply.Even if you are using the RS232 port, you can use a USB cable for power. Just fit the RS232 jumper to force the adaptor to ignore the usb port.Note that USB power can be very noisy, and can go as low as 4.4V when other devices are used with unpowered hubs. Using the 3.3V regulator for the I2C may be best for USB powered applications that are noise sensitive.

10.2 I2C Bus Power Selection 5V / 3.3VI2C Bus #1,2 are connected to the BL233B's VDD supply. J6 selects between 5V and 3.3V for the BL233B's VDD.

I2C Bus#3 has a separate VDD jumper J7. Using J7 you can operate I2C Bus#3 from either 5V or 3.3V, while Bus#1,2 are operating from 5V.

3Devices that draw > 100mA from the bus should have switched load, and in theory you should changelinks on the FT232, so the adaptor tells the PC that it is a high current device. See FT232BM datasheet for more detail if this matters to you.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 10 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 11: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

If you leave J7 off completely, then you can power Bus#3 from another the I2C cable.Bus#3 has TTL levels and an in-built diode bus clamp, that keeps clamps the voltage on SDA and SCL to the Bus#3 VDD. This means that you can oiperate Bus#3 VDD from 2-5V

The I2C Bus VDD is connected to the interfaces VDD (5V). To isolate an I2C Bus#1 or 2's VDD from the adaptors VDD, remove the associated 0603 link by the connector. (FB10,11)

10.3 Local AND USB PowerBoards manufactured after April 20034 should work happily with both external and USB power.If you do not want the USB bus to try and power your equipment, remove D5 (by USB connector). Normally you would do this when building the I2C-2-PC into a standalone equipment that has its own 5V supply.

If you are making test systems, be aware that a short circuit, high voltages etc, that may accidentally be applied to the VDD of the I2C bus, will be connected through theUSB cable to the power supply of your computer. This can reset your computer or worse. For these applications, the Galvanic Isolated option is available.

11 Galvanic IsolationBefore using a new Galvanic Isolated unit anywhere safety-critical, you should use a multimeter to verify that the input and output side of the adaptor are actually isolated. This is good practice. Note that these units have not been tested by any certifying laboratories, and we do not claim that they comply with any particular standards for isolation. It is your responsibility to ensure they are fit for purpose.

DC-DC Converters are fitted as standard to Galvanic units from mid 2015

Adaptors and Starter Kits can be ordered with Galvanic Isolation. Isolated versionshave:

• Case is marked Isolated• Isolator is fitted to pcb. • DC-DC convertor powers I2C from USB (mid 2015 on)

4With boards manufactured before May 2003:There are some traps to watch when using a local power source, and the USB adaptor. The USB chip will not see a power on reset when the USB Bus is connected, and local power is already applied, and may not enumerate correctly. See FTDI documentation for more reset details.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 11 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 12: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

You should use the Galvanic Isolated version if: • I2C side can be inadvertently short-circuited and you are using USB• Faults at the I2C could possibly connect high voltages to any pins of the

adaptor (including the ground pin)• You don't want to ground your I2C bus to the PC chassis• Measurements are sensitive and you need to decouple from the PC's noise, and

ground currents, and earth loops.• This is a valuable and important industrial system that should be designed to

be robust.• You need to run the I2C bus floating or above ground potential

The Analog Devices ADUM1402A5 is used for isolation in V3 adaptors For more information see the datasheet. Creepage distance is ~2.5mm.

11.1 Fitting Isolator Yourself

If you need isolation, either mill, or chisel the bridging tracks from the isolator footprint and fit the IC.If you use RS232, and an isolator you will need to power the RS232 section. Fit CN4,and protection diode D1 (BZX85C5V6 or C6V2)

11.2 Galvanic Isolated Power

DC-DC Converters to power the I2C from the USB power, are fitted as standard to Galvanic units from mid 2015. 1W / 200mA units are fitted. Warning: shorting +5 can destroy the DC-DC convertor. If this may occur limit the usb supply or fit a Polyfuse to limit current to 200mA.The DC-DC convertor has an unregulated output, and so the exact voltage (5V) depends on both the USB supply and the load on the I2C side. To increase the I2C side ~0.3V, bridge the USB power diode shown in blue above.

5The NVE IL716-3 magnetic isolator is used for galvanic isolation on old V2 units

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 12 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Figure11.3: Normal Figure 11.1: Isolated Top View Figure 11.2: Bottom View

Page 13: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

On older units, you have to power the PC side separately from the I2C side. Normally USB power is used for the PC side, and an external 9V supply for the I2C side. To use external supply (for greater current or better noise and regulation) cut LK1.

If you want to use the RS232 interface, you can still use the USB connector to providepower. Just fit the "RS232" jumper to force the interface to use RS232. (with no jumper the interface autoselects USB when the USB is connected to a computer, but not when a USB power-only cable is used)

11.3 USB Power only CableYou can use a USB Power-only cable to power the PC side, when using RS232. This is just a USB cable with only the 2 power wires fitted. Just cut the end off a Usb cable. Normally the power wires are red and blue, and thicker than the data wires.

11.4 External 5V to PC SideIf you are not using USB power, fit 2 pin connector CN4 and protection zener D1 (BZX85C5V6 or BZX85C6V2).The PC side requires 4-5V, 30mA.See the wires in Figure 5 below

11.5 Fitting a DC-DC Convertor

If you want to power one side of the isolation barrier from the other, you can fit a 5V-5V DC-DC convertor module. Part# Manuf. Digikey Future Elx Mouser

PDS1-S5-S5-D CUI 102-2757-ND

CME0505-DC Murata 811-2893-5-ND 580-CME0505DC

B0505D-1W NengdaThe dc-dc convertor is 5V-5V, Single Output, DIP 8 pin(has 4pins)

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 13 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Figure 11.4:

Page 14: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Adaptors made after 2011 have pads to fit a standard DIP convertor, next to the DC Jack, marked T1 on the silkscreen. The pads are slightly confusing, as you can fit the DC-DC convertor module either way around. The arrows on the silkscreen show you which way the power flows.

• Fit as T1 powers I2C side from USB side. (Pin 1 on USB side, see Figure 12Isolated Top View above)

• Fit as T1A powers RS232/USB side from DC power jack (I2C side, Pin1 on I2C side)

If you wish to fit another type of convertor, just wire to the pads labeled +/- in the T1 footprint.Links LK1 and LK2 select the input to T1A. Use LK2 if you have a 9V in, 5V out type convertor.

11.6 Defeating IsolationIf you don't need the isolation you can simply remove the DC-DC convertor and join VCC and GND across the DC-DC convertor holes. Beware of forgetting that the isolation is gone! Mark the case Not Isolated!

12 Other Modifications

12.1 Low Voltage Regulator for Bus 3Bus 3 will support low voltages. See i2cad_Using_Low_Voltage_Devices.pdf. You can fit an extra regulator U9, Microchip MCP1700-XX-T0 or Holtek HT73XX if you want voltages other than 3.3 and 5V. This is a TO-92 style regulator for easy fitting.

If you fit optional internal regulator U9, leave J7 off.

When VDD is 5V, Bus 3 can be as low as 2.5V. When VDD is 3.3V, Bus 3 can be as low as 1.8V.

12.2 Daughter Board ConnectorI2C2PC can be used as a daughter/mother board that plugs onto another board, insteadof using cables from the I2C Bus.

A 12 pin SIL 0.1” pitch connector CN10 can be fitted from either top or bottom side of the PCB.

VCC is 5V or 3V3 as selected by J6.VCC3 is the output of the 3V regulator.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 14 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Figure 12.1:CN10 Pinout

Page 15: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

If the adaptor has USB power or external power, VCC can be used to power the external module. Alternatively you can feed 5V into VCC from CN10.

See the Mechanical drawing at end for details of the position and mounting holes. DXF and Altium PCB files are available.

12.3 USB Leds and Power LedUSB-RX (led1) and USB-TX (led2) leds can be fitted if you want. Use 5V built-in resistor type leds (or use 3mm leds + 330 ohm resistors). These LEDs flash briefly when data is sent or received through the USB bus. They are useful for debugging purposes. Led3 is a power LED. V4 adaptors have plain pads on the top side for these signals. (Earlier adaptors had holes for LEDs)

12.4 USB EEPromUSB info can be set using FTDI utilities. This will let you enumerate the device as something other than a generic usb/serial adaptor, as well as setting special information such as current consumption.Boards manufactured before 2011 use FT232B, and require the 93C46B EEProm to be fitted to the pcb. Post 2011 boards use FT232R and have built in eeprom.

Some customers have reported that Windows XP does not correctly handle multiple adaptors on the same USB, and that this may be fitted, and a unique serial number set.Later (post 2011) FT232R boards have unique serial numbers by default.

13 Example ApplicationsSee the http://www.i2cchip.com for more examples.

There are application notes that clarify specific applications, and other information in the PDF Library

13.1 8 Bit I/O PortUse a Philips PCF8574 or Onsemi JLC1562. See http://www.i2cchip.com/pcf8574.html for i/o boards and keyboards.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 15 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 16: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Figure 13.1

13.2 Simple Data logger with no PC Software

Use a Philips PCF8591 4 channel 8 bit A-D chip. Store this macro in the EEProm at location 0. It will run automatically at power on, sending 4 channels of A-D data in hex, followed by LFS90 04 R04 T0A L0200 >00[Start][address 0x90 (8591)][Control register=0x04][Read 4 channels of A-D] [Type LF (linefeed)][delay 512 ms][goto start]Capture the data to file with Realterm.Plot it with Excel, Matlab etc.

13.3 Simple RS232 I/O Port

The I2C-2-PC can be used directly as an 8 bit I/O port with a 1 bit IRQ input. No I2C or SPI chips are needed at all. This is ideal for connecting relays, lights and switches to a PC.O OF[write 0x0F direct to pins]Q[read pins]?[read IRQ input]

13.4 RS232 to LCD Module adaptor

A single PCF8574 can drive a standard LCD module. This circuit is available built up.

13.5 Huge RS232 Parallel Port

To get are large number of cheap and easy output pins with good drive capability, use the SPI output, and 74HC4094 shift registers. Eg a 32 bit output with 4x 4094's. SDA4 is used as STB for the 4094'sG3 Y01020408 OFFFD OFFFC

[select bus3][send 4 bytes to 4094's][pulse STB pin to latch data] nb O not zero

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 16 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 17: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

13.6 Reading a DS2401 1 Wire serial numberTo read a DS2401 serial numberGC S ? W33 R04[Select 1 wire bus#1 (bus #C)][Start(reset)][Get status to check presence][ReadRom Command][Read 4 bytes of rom data]Since Start can be followed immediately by write data, a shorter version is:GC S 33 R04[Select 1 wire bus#1 ][Start][ReadRom command][read 4 bytes]

14 USBUSB requires the Virtual Comport drivers for Windows. For other operating systems see http://www.ftdichip.com/Drivers/VCP.htm

USB introduces latency that may affect your software design. See AN232B-04 Data Throughput, Latency & Handshaking

This latency affects all USB devices. To avoid it you should structure your software to decouple the commands you send from the data coming back. ie you send as many commands as possible to the BL233, then you process the data as it returns. If you send a command, then wait for each response, performance can be very poor.

Just because USB runs at 12Mbps does not mean it really works fast. RS232 may perform better in practice. This is why we provide both interfaces.

The USB configuration in EEProm can be changed so that it enumerates as a special device rather than a virtual comm port. FTDI utilities can be provided to do thisFTDI provides D2XX DLL Drivers are to directly access the USB interface. http://www.ftdichip.com/Drivers/VCP.htmWe recommend using the Virtual Comm Port approach, as you retain the flexibility touse RS232 with no software changes.

14.1.1 Changing Comport NumbersKeep the adaptor on the same port of the computer / hub, to avoid the comport number jumping around.

14.2 Should I use USB or RS232?If you are making test systems or otherwise require reliability and performance, werecommend that you try and use a real serial port, rather than USB. Reliability doesnot depend on drivers, and on other USB devices being connnected and disconnected

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 17 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 18: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

from the computer. The Comport number will not move around. Latency is reduced,and more reliable.

15 FAQ

The BL233 datasheet is the place to find answers to all your software questions!

Can I use SMBUS chipsYes. SMBUS chip will usually operate directly. SMBus chips have timeout, so you may not be able to type commands from the keyboard. Use the Realterm SEND tab, Using the “:” command in your programs may be a good idea.

Can I mix 5V and 3V IC's?Yes. Bus# 3 has TTL Levels. You can have bus 1&2 at 5V and bus 3 at 3.3V

Can I use 2.5V or 1.8V I2C.Yes – on Bus 3. See i2cad_Using_Low_Voltage_Devices.pdf

My adaptor doesn't work. I have Galvanic Isolation. (Before mid 2015) You have to power the PC side and the I2C side separately. See Isolation section 11.2

Will your product continue to be available.Yes it is a sucessful product with a growing market. We have seen many competitors come and go. Importantly, our ASCII command approach is futureproof against changes in OS's and programming fashions. You will never me reliant on us updating drivers or DLL's to keep using the system.

USB is really slow?Latency is an issue. See USB section 14

The data is gobbledygook.First use Realterm to test the adaptor. Make sure the baud rate is correct (57600 is default) and that you are using RTS/CTS handshaking. Once you have used Realterm to send commands successfully and found out what the returned data is, you are readyto start writing your software.

Realterm doesn't do XXXXTry the latest development version of Realterm at http://www.i2cchip.com/realterm

Does it work with Labview?

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 18 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 19: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Yes. Labview has good serial support

Does it work with Linux / Solaris / MacYes. No special drivers are required. You will probably find it easier to use the rs232 interface. Does it work with iOS / Android?Get the BluetoothLE adaptor. If your Android device has OTG you may be able to use the FTDI serial.Another options is our WebI2C solution that gives you Wifi/LAN/Web access

How do I interface to a Wireless Router.We now have a product WebI2C, based on an OpenWRT Router, ask for more details.Most routers such as the Linksys RTA54G have a logic level serial port. This can be connected directly to the AUX port. You may need to put 4k7 resistors in series for level shifting.Some routers (eg ASUS) have a USB port, and may have be able to work with the USB-Serial interface.

16 Factory Test ProcedureThis is the factory test procedure:

16.1 Visual InspectionInspect paying close attention to all leaded solder joints.

16.2 DC Supply current and Power supplySet PSU to 0V.Connect to DC socket.Increase supply voltage slowly to 8V, whilst measuring the 5V line across D2, and watching for excessive current (>50mA)Check supply voltage on BL233B is between 4.75 and 5.25VChange jumper J6 to 3V position, check voltage is 3.2-3.4V

16.3 RS232Install RS232 jumperConnect RS232 cable and set terminal program to nominal baud rate (normally 57600)Connect power to adaptorTerminal should display "HI I2CAD V118" or similar. Note that once the EEProm has been changed this may no longer be true.

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 19 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 20: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

Type "?". Board will reply with 2 chars eg 18

Remove jumper (auto-select).Type "?" again and check still works

16.4 USB(Note that FTDI USB/serial adaptor drivers may need to be installed first time)Remove RS232. Plug in USB.Type "?" and check response.In case of problems check the USB RX and USB TX LED positions with an oscilloscope. These pulse low when chars are received or sent. Note that you won't see the "HI I2CAD V118" power on message through the USB port as the USB connection is not enumerated yet, when the BL232 starts.

16.5 I2C Bus 1Connect the test PCF8574 board to I2C Bus1.Type "S42F0P"Half the leds will come on

16.6 I2C Bus 2Connect the test PCF8574 board to I2C Bus1.Type "G2" to change to I2C Bus 2Type "S42F0P"Half the leds will come on

16.7 INT PinPut jumpers J4,5 in INT positionSend ?. Reply is "18"Hold down a button on 8574 board.Send ?. Reply is "08"Check for 3 busses

17 RoHS, Reach, & Lead FreeI2C2PC RoHS/Lead Free are being supplied globally from October 2007.BL233_B supplied after October 2005 are RoHS/Lead Free. See Certificate of Compliance

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 20 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 21: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

I2C for PCUSB & RS232 TO I2C/SPI ADAPTOR & CONTROLLER

18 Ordering Information

19 OEM VersionsIt is available as a bare board in OEM packs. See Mechanical PCB and DXF files for mounting hole positions.Special builds are also available for volume orders. RS232 only USB only Waterproof metal box other voltages

19.1 RS232/USB to TTL InterfaceWe supply this board for use as a built up serial interface to customers TTL level devices. Contact us for pricing.CN2 connects to your device and can power it.Pin# Direction Function1 V+2 From PC TTL RTS3 From PC TTL TXD4 To PC TTL RXD5 To PC TTL CTS6 0V

20 Schematics and DrawingsSchematics and Drawings should be embedded below. If they have been omitted please email: [email protected]

21 Revision HistoryCN2 connects to your device and can power it.Rev Date Changes69 15 Sept 2015 Add DC-DC convertor photos etc70 14 Jan 2015 Sign PDF, add rev history

© 2002-17 Broadcast Equipment Ltd i2c2pc.odt r70 page 21 of 21ph +64 21 623-402 www.i2cchip.com [email protected]

Page 22: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

1

1

2

2

3

3

4

4

D D

C C

B B

A A

Title

Number RevisionSize

A4

Date: 9/13/2015 Sheet ofFile: C:\cad\..\I2CAD.sch Drawn By:

TTL_RTS

TTL_CTSTTL_RXD

TTL_TXD

VCC

GND

VCC3

I2CSerialAdI2CSerialAd.Sch

123

CN5

Socket2.1mm

C17

47uF 10V

12

CN4

D2

C6V8

Power or VCC 5V Led

Vin 1

GN

D2

Vout3

U87805

C1847uF 16V

D3

1A 50V

C19100n

led3

5Vorg3mm

USB_TXD

USB_RXDUSB_CTS

USB_RTS

GND

_PWREN

VCC

FT232RUSB_FT232R.Sch

TTL_RTSTTL_TXD

TTL_RXDTTL_CTS

GND2

VCC2

USB_TXDUSB_RTS

ALL_RXDALL_CTS

OPTO_RTSOPTO_TXD

VCC1

GND1

_USBEN

RS232Ad_BRS232Ad_B.sch

FID2

FIDUCIAL

FID1

FIDUCIAL

MP1

PCB I2CAd 0532

MP4

SOLDER STENCIL

MP5

Gainta G403 BOX

MP9

LINK 0.1"

MP7

LINK 0.1"

MP6

LINK 0.1"

Vin 2

GN

D1

Vout3

U7HT7333

123

J6

CON3

C20100n

C24

47uF 10V

Vin 1

GN

D2

Vout3

U8A7805

MP8

LINK 0.1"

3V

5VVCC

I2C-2-PC Adaptor V3

+VIN4

0V_IN1 0V 7

+VOUT 5T1

VBSD1-S5-S5-DIP

+VIN 4

0V_IN 10V7

+VOUT5T1A

VBSD1-S5-S5-DIP

Optional DC-DC convertors

Power from USB side

Power from I2C side

LK1 LK2

PIC1701

PIC1702

COC17 PIC1801

PIC1802COC18PIC1901

PIC1902

COC19PIC2001

PIC2002

COC20PIC2401

PIC2402

COC24

PICN401

PICN402

COCN4

PICN501

PICN502

PICN503

COCN5

PID20A

PID20KCOD2

PID30APID30K

COD3

COFID1 COFID2

PIJ601

PIJ602

PIJ603

COJ6

PIled30A

PIled30K

COled3

PILK101

PILK102

COLK1PILK201

PILK202

COLK2

COMP1COMP4 COMP5

COMP6 COMP7

COMP8 COMP9

PIT101

PIT104 PIT105

PIT107

COT1

PIT1A01

PIT1A04PIT1A05

PIT1A07

COT1A

PIU701

PIU702PIU703

COU7

PIU801

PIU802

PIU803

COU8

PIU8A01

PIU8A02

PIU8A03

COU8A

Page 23: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

1

1

2

2

3

3

4

4

D D

C C

B B

A A

Title

Number RevisionSize

A4

Date: 9/13/2015 Sheet ofFile: C:\cad\..\I2CSerialAd.Sch Drawn By:

GND1

23456789

R31k5

C8100nF

C10 15pF

C915pF

VDD 14

OSCIN 16

OSCOUT 15RST4

SCL4/CS23

VSS5

SDA22

SCL21 SDA1 18

SCL1 17

SDA3 13

SCL3 12

SDA4/CS3 11

RTS 10CTS9

TXD8

RXD7

INT6

U4BL233-DIP

VCC

GND

TTL_RTS

TTL_TXD

TTL_RXD

TTL_CTS

VCC

GND

VCC

VCC

GND

R17 47

R18 47R19 47

R20 47

R16 47

R15 47

SDA1

VDD2

VSS3

SCL4

INT5

VAUX6

CN8I2C6PIN

SDA1

VDD2

VSS3

SCL4

INT5

VAUX6

CN7 I2C6PIN

SDA1

VDD2

VSS3

SCL4

INT5

VAUX6

CN6 I2C6PIN

GND

C23

100n

C22

100n

C21

100n

FB11

FB10

FB9

GND

GND

R23 47

R24

47

R25

47

GND

GND

VCC

VCC

GND GND

I2C Bus1

I2C Bus 2

I2C Bus 31 2 3

J5CON3

1 2 3

J4CON3

R3110k

VCC

Bus 1&2 can have either Constant-Current or Resistive pullups. From the factory, resistive pullups are standard.

EITHER:Use 9 pin R3 resistive pull-ups (default)ORFit constant current generators (Q1,2+resistors) and R3 with last 2 pins removed.

R32

1k5VCC

D6BAV70

D7BAV70

R26

330

X1

14.7456

123456789101112

CN10

123

J7

CON3

VCC3

FB9,10,11 are 0 ohmC10,11 only fitted with Crystal. Default is Ceralok with built in capacitors

VCC3

VCC3

VCC3

Vin2G

ND

1

Vout 3

U9MCP1700-XX-T0

GND

Optional Bus 3 Low Voltage Regulator.for 2.7V, 2.5V, 1.8V etc

TO-92 package

Holtek HT73XX TO92 or Microchip MCP1700-XX-TO

http://www.i2cchip.com/pdfs/i2cad_Using_Low_Voltage_Devices.pdf

PIC801

PIC802COC8

PIC901PIC902

COC9

PIC1001 PIC1002

COC10

PIC2101 PIC2102

COC21

PIC2201 PIC2202

COC22

PIC2301PIC2302

COC23

PICN601

PICN602

PICN603

PICN604

PICN605

PICN606

COCN6

PICN701

PICN702

PICN703

PICN704

PICN705

PICN706

COCN7

PICN801

PICN802

PICN803

PICN804

PICN805

PICN806

COCN8

PICN1001PICN1002PICN1003PICN1004PICN1005PICN1006PICN1007PICN1008PICN1009PICN10010PICN10011PICN10012COCN10

PID60A1 PID60A2

PID60K

COD6PID70A1 PID70A2

PID70K

COD7

PIFB901 PIFB902

COFB9

PIFB1001 PIFB1002

COFB10

PIFB1101 PIFB1102

COFB11

PIJ401 PIJ402 PIJ403

COJ4

PIJ501 PIJ502 PIJ503COJ5

PIJ701

PIJ702

PIJ703

COJ7

PIR301

PIR302PIR303PIR304PIR305PIR306PIR307PIR308PIR309COR3

PIR1501 PIR1502

COR15PIR1601 PIR1602

COR16

PIR1701 PIR1702

COR17

PIR1801 PIR1802

COR18

PIR1901 PIR1902

COR19

PIR2001 PIR2002

COR20

PIR2301 PIR2302

COR23

PIR2401 PIR2402COR24

PIR2501 PIR2502

COR25

PIR2601 PIR2602

COR26

PIR3101

PIR3102

COR31

PIR3201PIR3202

COR32

PIU401

PIU402

PIU403

PIU404

PIU405

PIU406

PIU407

PIU408

PIU409 PIU4010

PIU4011

PIU4012

PIU4013

PIU4014

PIU4015

PIU4016

PIU4017

PIU4018

COU4

PIU901

PIU902 PIU903

COU9

PIX101PIX102

PIX103 COX1

POGND

POTTL0CTS POTTL0RTS

POTTL0RXD

POTTL0TXD

POVCC POVCC3

Page 24: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

1

1

2

2

3

3

4

4

D D

C C

B B

A A

Title

Number RevisionSize

A4

Date: 9/13/2015 Sheet ofFile: C:\cad\..\RS232Ad_B.sch Drawn By:

GND1

C5100nF

GND1

GND1

GND1

GND1

C3100nF

C1 100nF

C2 100nF

C4 100nF

C1+1

V+2

C1-3

C2+4

C2-5

V-6

T2OUT7

R2IN8 R2OUT 9

T2IN 10

T1IN 11

R1OUT 12

R1IN 13

T1OUT 14

GND 15

VCC 16

U1ST202ECD

VDD11

GND12

IN13

IN24

OUT35

OUT46

VE17

GND18

VDD2 16

GND2 15

OUT1 14

OUT2 13

IN3 12

IN4 11

GND2 9

VE2 10

U3ADUM1402

X0 12

X1 14

X2 15

X3 11

Y01

Y15

Y22

Y34

INH6

A 10

B 9VEE7

X 13

Y3

VCC 16

GND8

U274hc4052

GND1

C6

100nF

GND1

C7100nF

R1

10kR2

10k 1

2

J1

VCC1

GND1

FB1FB2

FB3

VCC2VCC1

Refers to PC labels

123456

CN2

MM6F

GND2

VCC2

4052 Mux Posn's0: Opto1: Invalid (not used)2 :USB3: RS232

TTL_RTSTTL_TXDTTL_RXDTTL_CTS

GND2

VCC2

USB_TXDUSB_RTS

ALL_RXDALL_CTS

OPTO_RTS

OPTO_TXD

RS232

VCC1

GND1

C1647uF

VCC1

VCC1

FB4

ADUM1402 normally NOT FITTEDand tracks bridge packageCut tracks and fit to isolate

GND1

123

J2

_USBEN

VCC1

USB

n/f: Auto

D1C6V8

123456

CN9

MM6F

GND1

VCC1

Opto Select

GND2

External Bluetooth /Fibre /RS422 Adaptor

External TTL Serial Device

123

J3

GND1

R5

10kVCC2

R27 1k5

R28 10k

DCD 1

DSR 6

RXD 2

RTS 7

TXD 3

CTS 8

DTR 4

RI 9

GND 5

B01

B02

CN1DB9F-RA-DR50

FB1-4 not fitted (linked)VCCCTS (out)RXD (out)TXD (in)RTS (in)Gnd

C131u0

C13 n/f: fit if using regulator to feed CN9

PIC101 PIC102

COC1

PIC201 PIC202

COC2

PIC301 PIC302COC3

PIC401 PIC402

COC4

PIC501

PIC502COC5

PIC601

PIC602

COC6 PIC701

PIC702COC7

PIC1301

PIC1302COC13

PIC1601

PIC1602COC16

PICN101

PICN102

PICN103

PICN104

PICN105

PICN106

PICN107

PICN108

PICN109

PICN10B01PICN10B02

COCN1

PICN201

PICN202

PICN203

PICN204

PICN205

PICN206

COCN2

PICN901

PICN902

PICN903

PICN904

PICN905

PICN906

COCN9

PID10A

PID10KCOD1

PIFB101 PIFB102

COFB1PIFB201 PIFB202

COFB2

PIFB301 PIFB302COFB3

PIFB401 PIFB402

COFB4

PIJ101

PIJ102COJ1

PIJ201

PIJ202

PIJ203

COJ2PIJ301

PIJ302

PIJ303

COJ3

PIR101 PIR102

COR1

PIR201

PIR202 COR2

PIR501PIR502

COR5

PIR2701 PIR2702COR27

PIR2801 PIR2802COR28

PIU101

PIU102

PIU103

PIU104

PIU105

PIU106

PIU107

PIU108 PIU109

PIU1010

PIU1011

PIU1012

PIU1013

PIU1014

PIU1015

PIU1016

COU1

PIU201

PIU202

PIU203

PIU204

PIU205

PIU206

PIU207

PIU208 PIU209

PIU2010

PIU2011

PIU2012

PIU2013

PIU2014

PIU2015

PIU2016

COU2

PIU301

PIU302

PIU303

PIU304

PIU305

PIU306

PIU307

PIU308 PIU309

PIU3010

PIU3011

PIU3012

PIU3013

PIU3014

PIU3015

PIU3016

COU3

PO0USBEN

POALL0CTSPOALL0RXD

POGND1

POGND2

POOPTO0RTS

POOPTO0TXD POTTL0CTS

POTTL0RTS

POTTL0RXDPOTTL0TXD

POUSB0RTS POUSB0TXD

POVCC1

POVCC2

Page 25: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

1

1

2

2

3

3

4

4

D D

C C

B B

A A

Title

Number RevisionSize

A4

Date: 9/13/2015 Sheet ofFile: C:\cad\..\USB_FT232R.Sch Drawn By:

GND1

GND1

FB8

n/f

VCCUSB

C14 100n

C15100nF

GND1

GND1

GND1GND1

C11

10n

Vbus 1

D- 2

D+ 3

GND 4

Chasi 5

CN3

USB CONNECTOR

GND1

R6

10k

R4 4k7

VCCUSB

GND1

USB_TXD

USB_RXD

USB_CTS

USB_RTS

GND

_PWREN

VCC

VCCUSB

VBUS

PWREN is Active Low.Prevously USBEN was active hi,on FT8U232A

D5A1N5819

C12100n

VCC20

RST19

3v3OUT17

USBDP15 USBDM16

GN

D7

SLEEP/CBUS4 12

RXLED/CBUS122 TXLED/CBUS023

PWREN/CBUS3 14TXDEN/CBUS2 13

RI 6

DCD 10DSR 9

DTR 2

CTS 11

RTS 3

RXD 5

TXD 1

OSCI27 OSCO28

AG

ND

25

VCCIO 4

TEST

26

nc 8

nc24

GN

D18

GN

D21

U6FT232RL

D51N5819

VCCUSB

PIC1101

PIC1102

COC11

PIC1201

PIC1202COC12

PIC1401PIC1402

COC14

PIC1501

PIC1502COC15

PICN301

PICN302

PICN303

PICN304

PICN305

COCN3

PID50A

PID50KCOD5

PID5A0A

PID5A0KCOD5A

PIFB801 PIFB802

COFB8PIR401PIR402

COR4

PIR601 PIR602

COR6

PIU601

PIU602

PIU603

PIU604

PIU605

PIU606

PIU607

PIU608

PIU609

PIU6010

PIU6011

PIU6012

PIU6013

PIU6014PIU6015

PIU6016

PIU6017

PIU6018

PIU6019

PIU6020

PIU6021

PIU6022

PIU6023

PIU6024

PIU6025PIU6026

PIU6027

PIU6028

COU6

PO0PWREN

POGND

POUSB0CTS

POUSB0RTS

POUSB0RXD

POUSB0TXD

POVCC

Page 26: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

PAC101 PAC102COC1

PAC202

PAC201COC2

PAC301 PAC302COC3

PAC401

PAC402COC4PAC502PAC501

COC5 PAC602PAC601

COC6PAC702PAC701COC7

PAC802 PAC801COC8

PAC901

PAC902COC9

PAC1002

PAC1001

COC10

PAC1101

PAC1102

COC11

PAC1201

PAC1202

COC12

PAC1301PAC1302 COC13

PAC1401PAC1402COC14

PAC1502 PAC1501

COC15

PAC1602PAC1601

COC16

PAC1702PAC1701

COC17

PAC1801PAC1802

COC18

PAC1902

PAC1901 COC19

PAC2001

PAC2002 COC20

PAC2101PAC2102COC21

PAC2202

PAC2201 COC22

PAC2301

PAC2302

COC23PAC2402PAC2401

COC24

PACN101

PACN102

PACN103

PACN104

PACN105

PACN106

PACN107

PACN108

PACN109

PACN10B01

PACN10B02

COCN1

PACN206PACN205

PACN200

PACN203PACN204

PACN202PACN201

COCN2

PACN305PACN304 PACN301PACN303 PACN302

COCN3

PACN402

PACN401COCN4

PACN502PACN501

PACN503COCN5

PACN606PACN605

PACN600

PACN604

PACN602PACN601

PACN603

COCN6

PACN701PACN702

PACN704

PACN700

PACN705PACN706

PACN703

COCN7

PACN803

PACN806PACN805

PACN800

PACN804

PACN802PACN801

COCN8

PACN906PACN905

PACN900

PACN903PACN904

PACN902PACN901

COCN9

PACN10012

PACN10011

PACN10010

PACN1009

PACN1008

PACN1007PACN1006

PACN1005

PACN1004

PACN1003

PACN1002

PACN1001COCN10

PAD10A PAD10KCOD1

PAD20K

PAD20ACOD2

PAD30KPAD30ACOD3

PAD50A PAD50KCOD5

PAD5A0KPAD5A0A

COD5A

PAD60KPAD60A2

PAD60A1

COD6PAD70A1

PAD70A2PAD70K

COD7

PAFB101

PAFB102COFB1

PAFB201

PAFB202COFB2

PAFB302

PAFB301COFB3

PAFB401

PAFB402COFB4

PAFB802

PAFB801

COFB8

PAFB901 PAFB902COFB9

PAFB1001

PAFB1002COFB10

PAFB1102

PAFB1101

COFB11

PAFID100 COFID1

PAFID200 COFID2PAJ102 PAJ101COJ1

PAJ203 PAJ202 PAJ201

COJ2

PAJ303

PAJ301

PAJ302COJ3

PAJ401

PAJ402

PAJ403

COJ4

PAJ501 PAJ502 PAJ503

COJ5

PAJ603 PAJ602 PAJ601

COJ6

PAJ703

PAJ702

PAJ701COJ7

PALED30K

PALED30A COLED3

PALK102PALK101

COLK1

PALK202PALK201

COLK2

PAR101 PAR102 COR1

PAR202

PAR201

COR2

PAR301

PAR307

PAR308

PAR309

PAR306

PAR302

PAR304

PAR303

PAR305

COR3

PAR402 PAR401COR4

PAR502PAR501 COR5

PAR601 PAR602COR6

PAR1502

PAR1501 COR15

PAR1601 PAR1602 COR16

PAR1701 PAR1702COR17

PAR1801

PAR1802

COR18

PAR1901 PAR1902 COR19

PAR2001 PAR2002COR20

PAR2302PAR2301

COR23

PAR2402PAR2401 COR24

PAR2501 PAR2502COR25

PAR2601 PAR2602COR26

PAR2702PAR2701COR27

PAR2801 PAR2802COR28

PAR3101

PAR3102 COR31

PAR3201 PAR3202

COR32

PAT1 0>01

PAT1 0>04 PAT1 0>05

PAT1 0>07COT1 0>PAT1A07

PAT1A05 PAT1A04

PAT1A01

COT1A

PAU1010

PAU1015

PAU1014

PAU1013

PAU1011

PAU109PAU108

PAU107

PAU106

PAU105

PAU104

PAU103

PAU102

PAU101

PAU1012

PAU1016COU1

PAU2011

PAU2012

PAU2016

PAU2015

PAU2014

PAU2013

PAU2010

PAU209PAU208

PAU207

PAU206

PAU205

PAU204

PAU203

PAU202

PAU201COU2 PAU3015

PAU3014

PAU3013

PAU3012

PAU3011

PAU3010

PAU309PAU308

PAU306

PAU305

PAU304

PAU303

PAU302

PAU301

PAU307

PAU3016COU3

PAU406

PAU401 PAU4018

PAU4017

PAU4016

PAU4015

PAU4014

PAU4013

PAU4012

PAU404

PAU402

PAU407

PAU4010

PAU408

PAU409

PAU4011

PAU403

PAU405

COU4

PAU6023PAU6022

PAU6015PAU6016PAU6017PAU6018PAU6019PAU6020PAU6021

PAU6024PAU6025PAU6026PAU6027PAU6028

PAU6014PAU6013PAU6012PAU6011PAU6010PAU609PAU608PAU607PAU606

PAU604PAU603PAU602PAU601

PAU605

COU6PAU702

PAU703

PAU701COU7

PAU802PAU803

PAU801 COU8PAU8A01

PAU8A02PAU8A03

COU8A

PAU903 PAU901PAU902

COU9PAX101

PAX103

PAX102

COX1

Page 27: I2C for PC · I2C/SMBUS/SPI/1-Wire interface, for the widest possible range of computing hardware, with the simplest and most portable software format. I2C2PC is not an I2C slave

COCN301

PACN10012

PACN10011

PACN10010

PACN1009

PACN1008

PACN1007PACN1006

PACN1005

PACN1004

PACN1003

PACN1002

PACN1001

COCN10 PAI2C#103

PAI2C#106PAI2C#105

PAI2C#100

PAI2C#104

PAI2C#102PAI2C#101

COI2C#1

PAI2C#201PAI2C#202

PAI2C#204

PAI2C#200

PAI2C#205PAI2C#206

PAI2C#203COI2C#2

PAI2C#306PAI2C#305

PAI2C#300

PAI2C#304

PAI2C#302PAI2C#301

PAI2C#303COI2C#3

COPower Socket


Recommended