TWOG/add i2c1

From PaparazziUAV
Revision as of 11:53, 9 May 2012 by Martinmm (talk | contribs)

Jump to: navigation, search


Add 2nd I2C port to TWOG/Tiny

It can be handy to have a second I2C port on the TWOG v1.00 or Tiny v2.11. This allows to separate flight sensitive sensors (e.g. IMU) from payload sensors.

ADC2/J8 can easily be modified to have the same pinout as the original I2C/J6 port.

remove R12
replace R13 with a 10k resistor
cut the trace between R13 and R15
connect the (then) open end of R13 with 3.3V at R17
connect J8_IN_ADC_6 with J7_BOOT (SDA1)
connect J8_IN_ADC_5 with J2_CTS (SCL1)
secure the thin wire with small dots of hot glue

The original I2C/J6 is i2c0 and ADC2/J8 becomes i2c1.

Modification TWOG/Tiny

Twog v100 i2c1 mod.jpg

Add 2nd I2C port to Tiny

On the Tiny Download/J7 can also be modified to have I2C.

cut the trace between J7_LPC_TXD0 and the IC5/LPC2148
add a 10k pull-up resistor to J7_+3.3v
connect other side of the new 10k to J7_LPC_TXD0
connect J7_LPC_TXD0 with J2_CTS (SCL1)
secure the thin wire with small dots of hot glue

The original I2C/J6 is i2c0 and Download/J7 becomes i2c1 (J7_LPC_TXD0 = SCL1, J7_BOOT = SDA1).

Modification Tiny

Tiny v2-1 i2c1 mod.jpg