BMP085 Reading Incorrectly

Talk about Adafruit Raspberry Pi® accessories!

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/

BMP085 Reading Incorrectly

Postby Cody.Jiron » Thu Feb 14, 2013 12:25 am

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

Image

Image

Image
Cody.Jiron
 
Posts: 5
Joined: Thu Feb 14, 2013 12:16 am

Re: BMP085 Reading Incorrectly

Postby adafruit_support_bill » Thu Feb 14, 2013 6:16 am

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
User avatar
adafruit_support_bill
 
Posts: 16061
Joined: Sat Feb 07, 2009 9:11 am

Re: BMP085 Reading Incorrectly

Postby Cody.Jiron » Thu Feb 14, 2013 9:08 pm

I'm pretty sure I have a version one. Here is what I see.

Image
Cody.Jiron
 
Posts: 5
Joined: Thu Feb 14, 2013 12:16 am

Re: BMP085 Reading Incorrectly

Postby adafruit_support_bill » Fri Feb 15, 2013 5:57 am

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):
User avatar
adafruit_support_bill
 
Posts: 16061
Joined: Sat Feb 07, 2009 9:11 am

Re: BMP085 Reading Incorrectly

Postby Cody.Jiron » Fri Feb 15, 2013 10:01 pm

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):


Yes it is set correctly.
Image
Cody.Jiron
 
Posts: 5
Joined: Thu Feb 14, 2013 12:16 am

Re: BMP085 Reading Incorrectly

Postby adafruit_support_bill » Sat Feb 16, 2013 6:59 am

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 support@adafruit.com with a link to this thread for a replacement.
User avatar
adafruit_support_bill
 
Posts: 16061
Joined: Sat Feb 07, 2009 9:11 am

Re: BMP085 Reading Incorrectly

Postby Cody.Jiron » Sun Feb 17, 2013 12:12 pm

Yep, bad solder joints, I have it updating to google docs. Thanks for everything

-Cody
Cody.Jiron
 
Posts: 5
Joined: Thu Feb 14, 2013 12:16 am


Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [103]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[109]
 
Wireless[14]
Cables[61]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]