BMP085 on P5 header Raspberry PI

Moderators: fantom, leecollings

Post Reply
iganin
Posts: 47
Joined: Tuesday 28 October 2014 17:55
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Location: Aalter, Belgium
Contact:

BMP085 on P5 header Raspberry PI

Post by iganin »

Hello,

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
However Domoticz doesn't see BMP085:

Code: Select all

2016-02-21 16:53:30.696 Error: BMP085: Error reading sensor data!...
I assume the root cause that Domoticz tries to find the sensor in I2C =1 instead of I2C =0
Does someone find or know a workaround?

Thank you in advance.
KR
Iganin
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests