Main Site Documentation

I2C on I012 & I011


#1

On my cobra I am trying to use the barometric pressure sensor BMP085. I beleive this is I2C. From the board layout it shows IO12 and IO11 pins for I2C. Since there are 3 pins for JST connections which pin (of the 3) do I hook up SDA and SCL to?


#2

Use the Pin in the middle of JST connectors.


#3

Pinout is here http://www.tinyclr.com/downloads/FEZ_Tutorial.pdf page 21

Do not go by colors please


#4

Thanks, I remember reading/seeing that document before. Wanted to verify.

So there is only one I2C for cobra?


#5

Why need more? I2C is multi-slave bus so you can have multiple slaves on the same wires.


#6

yep, that makes sense. Thanks.


#7

Furthermore, you can use up to two BMP085 on the same I2C bus (look chapter 4.2 of the Data Sheet) using an extra pin for selecting each sensor.

By the way in case you need, there is a driver for this sensor I made available on Fezzer. Please report any bug…