Rčtol
[ca][en][es]
How to buy
Training
Contact

External links
Picture
Schematic
Description
Document revision

USB - RS232 TTL / TWI (I2C) translator

Placa set01_05_v3

20130730www.electronics.cat



Tweet

Picture

pictSet01_05_usbRs232v03small.jpg


Schematic

set01_05_usbRs232v02schSmall.png

Description


    This board has three functions : 1st) translating USB to TTL Tx and Rx, 2nd) converting USB to I2C and 3rd) supplying voltage to next board if jumper is between positions 1 and 2.

    LEDs are USB activity indicators.

    USB Class B is to be connected to desktop/laptop USB Class A connector. Connector 4x2, P1,  is to be connected to microcontroller's UART using set03_11 cable. Connector 5x2, P2,  is to be connected to TWI bus (aka I2C by their inventors, NXP) using set01_04_A cable.

    Power supply of this board comes from USB. This board can be used to supply voltage to boards connected to it (it relies on jumper's position). Peripherals consumption should respect USB specifications.

   

set01_05_v03_Rpi.jpg
set01_05_v3 connected to a Raspberry Pi using 3Bpi


set01_05_v03_uc.jpg
set01_05_v3 connected to an 8 bit microcontroller board


set03_03_v02_UsbTwi.jpg
set01_05_v3 connected to three
set03_03 expanders, based on PCF8574 chip


set03_03_v02_UsbTwi02.jpg
set01_05_v3 connected to three set03_03 expanders using input/output peripherals

How-to video :


Code used in this video


How to set serial port on Raspberry Pi : http://electronics.cat/code/3Bpi/rs232/setRs232up.html


set01_05_v01_pcbSilk.png
set01_05_v01_pcbComp.png
set01_05_v01_pcbSold.png


Document revision :

20130730 - 3rd version: Updated July 30th, 2013

20130424 - 2nd version : It has been added TWI compatibility
20101208 - 1st version: Original document of December 8th, 2010