Comments (4)
It looks like you're running into IO errors for some reason- is the BME680 plugged directly into Breakout Garden, what other sensors do you have connected, and do you have an entry for i2c baudrate in your /boot/config.txt
?
from bme680-python.
thanks for answering.
no there is no setting for i2c baudrate. I added 40000. Tried to get a bmp280 running on breakout garden with a similar result:
~/breakout-garden-master/bmp280-python/examples $ python2 dump-calibration.py
Traceback (most recent call last):
File "dump-calibration.py", line 10, in
bmp280.setup()
File "/usr/local/lib/python2.7/dist-packages/bmp280/init.py", line 146, in setup
raise RuntimeError("Unable to find bmp280 on 0x{:02x}, CHIP_ID returned {:02x}".format(self._i2c_addr, self._bmp280.CHIP_ID.get_id()))
RuntimeError: Unable to find bmp280 on 0x76, CHIP_ID returned 00
Moreover, the oled I planned to use doesn't work, too - getting a dotted line.
Any idea much appreciated.
Many thanks
from bme680-python.
@StefanKreiling you can try to use the secondary address of the BME680 which is 0x77. It worked for me.
But just to be sure if the device is connected properly you can write in the REPL the following command.
>>> from machine import I2C
>>> i2c = I2C(0, I2C.MASTER,pins=('P22','P21'), baudrate=100000)
>>> i2c.scan()
[8, 16, 30, 119]
>>>
The value 119 = 0x77. Hope this help you
The BME680 - CHIP_ID is 0x61 indeed … however I saw the the get_chip ID method returns the b'a'.
If you compare b'a'[0] == 0x61 the result will be True.
from bme680-python.
solved. fresh installation of raspbian did help. Don't know what the issue was but must have been a software issue. The only difference was probably a) installation of python2 & 3 and b) double installation of BME680 (package with breakout garden & single install?)
thanks for the help -
from bme680-python.
Related Issues (20)
- Temperature readings to high HOT 5
- Invalid CHIP ID: 0x60 HOT 4
- IOError: [Errno 121] Remote I/O error HOT 16
- Temperature offset and humidity issue HOT 6
- can I make a pi with the bme680 hat act as a zigbee z-wave device ? HOT 1
- Solution for "BME680 Not Found. Invalid CHIP ID: 0x-79"
- Broken link in readme? HOT 3
- SPI instead of I2C? HOT 3
- heat_stable goes to False, then intermittent Errno 121
- Add support for IAQ, eCO2 and bVOCe HOT 1
- Error in get_sensor_data (after running for some time)
- gas same value
- How can the heater be disabled? HOT 1
- constants don't match Bosch-version
- Micropython bme.data.gas_resistance always exact same reading (-1.986394e+07 Ohms)
- Altitude and sea level pressure HOT 2
- How do I force sleep mode?
- Can this be used in micropython? HOT 3
- Getting the estimated CO2 in ppm
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 bme680-python.