I setup this sensor following the tutorial from the learning center but every time I run the example code I get a bunch of errors. When I eventually get a reading all of it is wrong. Temperature won't move off 12.8C no matter what and it reads that I'm 10,000 feet below sea level. No matter what I do it does the same thing every time. I'm very new to this but I feel like my sensor is bad. I just wanted to make sure I am not doing something dumb before I try to send back the sensor. My connections are firm and I'm using the adafruit breakout board and a mini breadboard. I'll post pics later. Thanks for any help
-Cody
BMP085 Reading Incorrectly
Moderators: adafruit_support_bill, adafruit
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Reading Incorrectly
What version Pi are you using?
What do you see in i2cdetect?
Make sure you have it configured for the right i2c bus for your version of the Pi: http://learn.adafruit.com/using-the-bmp ... pi-for-i2c
What do you see in i2cdetect?
Make sure you have it configured for the right i2c bus for your version of the Pi: http://learn.adafruit.com/using-the-bmp ... pi-for-i2c
- cody.jiron
- Posts: 5
- Joined: Thu Feb 14, 2013 1:16 am
Re: BMP085 Reading Incorrectly
I'm pretty sure I have a version one. Here is what I see.
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Reading Incorrectly
Looks like a version 1 and it is seeing the module at the right address. In Adafruit_I2C.py do you have the following line configured for bus 0?
Code: Select all
def __init__(self, address, bus=smbus.SMBus(0), debug=False):
- cody.jiron
- Posts: 5
- Joined: Thu Feb 14, 2013 1:16 am
Re: BMP085 Reading Incorrectly
Yes it is set correctly.adafruit_support wrote:Looks like a version 1 and it is seeing the module at the right address. In Adafruit_I2C.py do you have the following line configured for bus 0?Code: Select all
def __init__(self, address, bus=smbus.SMBus(0), debug=False):
- adafruit_support_bill
- Posts: 88087
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Reading Incorrectly
One more thing to check: In the photo, some of the solder joints appear not to have flowed well onto the solder pad. The SCL pin is a critical one for i2C communication, but a couple others look suspicious as well.
Touch up those solder joints and try again. If it still doesn't work, contact [email protected] with a link to this thread for a replacement.
Touch up those solder joints and try again. If it still doesn't work, contact [email protected] with a link to this thread for a replacement.
- cody.jiron
- Posts: 5
- Joined: Thu Feb 14, 2013 1:16 am
Re: BMP085 Reading Incorrectly
Yep, bad solder joints, I have it updating to google docs. Thanks for everything
-Cody
-Cody
Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/