Pages: [1]   Go Down
Author Topic: I2C not working  (Read 981 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am trying to read from my BMP085 barometric sensor over I2C but the Arduino Due will not find this or any of the other I2C devices I have connected. I am using the I2C Scanner (http://playground.arduino.cc/Main/I2cScanner) code from the Arduino Playground. I currently have a barometric sensor, accelerometer, gyro, and compass IMU board as well as a RTC module connected with I2C. I have checked that the devices are working and ran a scan with my Raspberry Pi. All the correct address showed up.

I haven't used the Due before and am not sure if this is a configuration error or what.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.arduino.cc/en/Reference/Wire

You're using the right pins?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 29
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am not sure that I2CScanner works on Due at all. I have a BMP0854 too and it failed to show up with I2CScanner, though, it works perfectly well if I am reading it's registers using the Wire library.

Just keep in mind that SDA (pin 20)/SCL (pin 21) do have  1k5  pullup resistors soldered on board while SDA 1/SCL 1 do not have them so you'll have to put them yourself.

Best regards,
Dan.
Logged

Pages: [1]   Go Up
Jump to: