Difference between revisions of "TWOG/add i2c1"

From PaparazziUAV
Jump to navigation Jump to search
(Created page with "Category:Hardware == Add 2nd I2C port to Tiny/TWOG == 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 se…")
 
Line 1: Line 1:
[[Category:Hardware]]
[[Category:Hardware]]


== Add 2nd I2C port to Tiny/TWOG ==
= 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.
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.
Line 17: Line 17:
The original I2C/J6 is i2c0 and ADC2/J8 becomes i2c1.
The original I2C/J6 is i2c0 and ADC2/J8 becomes i2c1.


==Modification==
==Modification TWOG/Tiny==
[[Image:Twog_v100_i2c1_mod.jpg]]
[[Image: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==
[[Image:Tiny_v2-1_i2c1_mod.jpg]]

Revision as of 12:53, 9 May 2012


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