Comments (7)
Hrm that's odd, one thing I'm curious about are you using a Pi 2 or original Pi? I've seen a similar intermittent error with a different I2C device on the Pi 2 and am curious if you're seeing something similar here too.
edit: Also just to rule out a conflict with the devices, do they work in isolation? I.e. pull the si1145 off the Pi and just try it with the BMP sensor and vice-versa.
from adafruit_python_bmp.
I'm using an original first revision RPi B.
After more digging it seems to be an issue in the kernel.
raspberrypi/linux#865
I see this in dmesg,
[ 22.686503] i2c i2c-0: transfer setup timed out
[ 24.711928] i2c i2c-0: transfer setup timed out
[ 26.726649] i2c i2c-0: transfer setup timed out
[ 28.736568] i2c i2c-0: transfer setup timed out
[ 30.741944] i2c i2c-0: transfer setup timed out
I'll try rebuilding with the latest kernel or try using an older kernel if that doesn't work.
currently I'm using 3.19.0 and I have the following line in config.txt
dtparam=i2c_arm=on
Will report back after I test some different kernels.
from adafruit_python_bmp.
Ouch, thanks for linking to that bug--that's somewhat annoying to see the issue at the kernel level. If it helps, you might try the stock Raspbian release that's on the 3.18 kernel: http://www.raspberrypi.org/downloads/ Good to know that 3.19 might have some issues right now.
from adafruit_python_bmp.
This seems to be a different issue than the one in the linked issue. You are getting a "transfer setup timed out" while issue #865 is about "transfer timed out". Can you detail a bit your setup pls?
- Do you have a Pi camera attached?
- What i2c baud are you using?
- Combined transactions on? (you can just paste the kernel params from cmdline.txt here)
- Overclocked Pi?
- Do other sensors work?
- Did you try an older kernel ( < 0ca4c1f57c84bb114641176d63d16ce345f5a95d)?
- When you get bad readings do you have a simultaneous timeout in dmesg?
from adafruit_python_bmp.
I'm seeing the same issue with a different sensor (MPL3115A2), so I believe it is a module problem. In case it helps, my setup (running Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
):
- No camera attached
- Tried 100000, 32000, 5000 with the same error everytime.
- Yes, since the sensor requires it
- No
- Only one sensor to test with right now
- Running 3.18
- Yes:
[ 1923.121754] i2c i2c-1: transfer setup timed out
from adafruit_python_bmp.
Hi,
I'm seeing the same issue, first the sensor did a good reading, after I put a while to see continuosly the data and the exception appeared (after half minut), and now the sensor wasn't connected to the I2C bus. (with the comand i2cdetect -y 1 I don't see any sensor, that before, I've saw.
Can you help me?
from adafruit_python_bmp.
hiya we're closing these issues and archiving this repo because this library has been deprecated!
the bmp085 and bmp180 are no longer made, and are replaced by the bmp280 + friends
we are now only using our circuitpython sensor libraries in python
check out this guide for using the bmp280 with python!
https://learn.adafruit.com/adafruit-bmp280-barometric-pressure-plus-temperature-sensor-breakout
from adafruit_python_bmp.
Related Issues (14)
- Munin plugins not working HOT 1
- Self Calibration p8 value HOT 3
- Release to PyPI HOT 1
- Update examples/google_spreadsheet.py to use oAuth2 HOT 1
- BMP280 support HOT 1
- Build on Banana PI did not work HOT 3
- \
- traceback (most recent call last) HOT 3
- BMP085 ERROR AFTER UPDATING RASPBIAN AND KERNEL HOT 1
- Raspbian install error and related issues HOT 5
- My pressure values are way too low
- Doesn't work with Python 3.4 HOT 5
- wrong issue, please delete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_python_bmp.