Just connected my Raspberry to a BMP085 sensor using Wheezy and following the Adafruit directions and obtaining the GitHub software, when I try to Run - sudo python Adafruit_BMP085_example.py - I get error message:error accessing 0X77: check your I2C address.
The sensor reading are not correct, where did I go wrong?
tom
BMP085 Sensor problem
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Sensor problem
Does the sensor show up on i2cdetect? Make sure you are looking at the right I2C bus for your version of the Pi. On the original Pi it is bus 0. Current versions use bus 1.
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: BMP085 Sensor problem
yes, I had to edit the AdafruitI2C.py program from SMBus (0), debug = False to SMBus (1), then it worked ok,
Another question, in the Adafruit_BMP085 suite there is a program which appears to send data to google, how does that work????
thanks
Tom
Another question, in the Adafruit_BMP085 suite there is a program which appears to send data to google, how does that work????
thanks
Tom
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Sensor problem
First you need a GoogleDocs account and you need to create a spreadsheet there. If you modify the code with your account credentials and spreadsheet file name, it can log in to Google Docs, open the spreadsheet and start appending the barometer data.
- geotek
- Posts: 65
- Joined: Thu Mar 07, 2013 1:39 pm
Re: BMP085 Sensor problem
I entered my credentials into the Adafruit_BMP085_googledocs_ex.py program and tried to run it form terminal and I get an error message:
traceback (most recent calllast):
File Adarfruit_BMP085_googledocs_ex.py, line 6, in <modeule> import gspread import error: no module gspread
What is the Gspread line in the code mean? is it a module call?
help
Tom
traceback (most recent calllast):
File Adarfruit_BMP085_googledocs_ex.py, line 6, in <modeule> import gspread import error: no module gspread
What is the Gspread line in the code mean? is it a module call?
help
Tom
- adafruit_support_bill
- Posts: 88154
- Joined: Sat Feb 07, 2009 10:11 am
Re: BMP085 Sensor problem
Have you installed the GSpread library? See here for details: http://learn.adafruit.com/dht-humidity- ... oogle-docs
Please be positive and constructive with your questions and comments.