Due to the fact that I attached PiFace to Raspberry PI, I've decided to use P5 header (RPI B Revision 2) for BMP085 connection.
As you can see below I managed to detect the sensor and read the values.
Code: Select all
pi@Gate ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_BMP085 $ sudo i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77
Code: Select all
pi@Gate ~/Adafruit-Raspberry-Pi-Python-Code/Adafruit_BMP085 $ sudo python Adafruit_BMP085_example.py
Temperature: 18.70 C
Pressure: 1007.52 hPa
Altitude: 47.82
Code: Select all
2016-02-21 16:53:30.696 Error: BMP085: Error reading sensor data!...
Does someone find or know a workaround?
Thank you in advance.
KR
Iganin