Comments (4)
Hello,
Edited the following file for I2C address.
https://github.com/pimoroni/bme680/tree/master/library/bme680/__init__.py
def __init__(self, i2c_addr=I2C_ADDR_PRIMARY, i2c_device=None):
TO
def __init__(self, i2c_addr=I2C_ADDR_SECONDARY, i2c_device=None):
Where,
I2C_ADDR_PRIMARY => 0x76
I2C_ADDR_SECONDARY=> 0x77
from bme680-python.
Are you using our add-on board, or a generic bme680 breakout/your own hardware?
from bme680-python.
I am have the same issue but this didn't fix it for me. My I2C address is also 0x77 and im using a Adafruit bme680 chip.
Traceback (most recent call last):
File "read-all.py", line 6, in <module>
sensor = bme680.BME680()
File "build/bdist.linux-armv7l/egg/bme680/__init__.py", line 25, in __init__
File "build/bdist.linux-armv7l/egg/bme680/__init__.py", line 285, in _get_regs
IOError: [Errno 121] Remote I/O error
from bme680-python.
Instead of modifying the library you can also just pass bme680.BME680(i2c_addr=bme680.I2C_ADDR_SECONDARY)
to the constructor of the sensor class.
from bme680-python.
Related Issues (20)
- 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
- chip id issue with BME680 Breakout HOT 4
- 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
- Using v2.0.0 with temperature_pressure_humidity.py unmodified example from repository HOT 1
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.