Comments (5)
Someone correct me if I'm wrong, but it looks like the gas heating duration isn't being set.
Adafruit_CircuitPython_BME680/adafruit_bme680.py
Lines 107 to 108 in f1b9e6c
If I understand _write() correctly, the above is just writing [0x73, 0x64, 0x65] into incrementing registers 0x5A to 0x5C and not setting the heating duration. It should be changed to something like:
_BME680_BME680_RES_HEAT_0 = const(0x5A)
_BME680_BME680_GAS_WAIT_0 = const(0x64)
self._write(_BME680_BME680_RES_HEAT_0, [0x73]) # approx 320 degrees
self._write(_BME680_BME680_GAS_WAIT_0, [0x65]) # 148ms
from adafruit_circuitpython_bme680.
Probably related to #11
from adafruit_circuitpython_bme680.
Also on SPI no improvement ... :-(
https://forums.adafruit.com/viewtopic.php?f=60&t=132231&p=736089&hilit=bme680#p736089
from adafruit_circuitpython_bme680.
not surprising, the SPI is still reading the same data. you could try to compare what the arduino or espruino is sending for commands and let us know if you see any differences in data?
from adafruit_circuitpython_bme680.
Hi, the latest update of adafruit_bme680.py (release 3.1.3) on CircuitPython 5.0 and Bundle 20200307 works perfectly!
Tested via i2c on:
- Feather M4 Express
- ItsyBitsy M4
- Trinket M0
THANK YOU VERY MUCH
from adafruit_circuitpython_bme680.
Related Issues (20)
- Pressure value wrong HOT 3
- SPI broken? HOT 8
- Please add __version__ and __repo__ metadata. Thank you!
- Support for BME680 IAQ readings HOT 3
- Error in filter_size setter
- Please explain filter_size in documentation HOT 1
- Adafruit library shows different values than BSEC library HOT 4
- Wrong conversion result for register 0x04 HOT 4
- SPI HOT 1
- Newest example needs licensed HOT 2
- Gas resistance calculation showing incorrect results for BME688 HOT 3
- Error during __init__ - Failed to find BME680! Chip ID 0x0 HOT 3
- Missing Type Annotations HOT 1
- pyproject.toml missing optional_dependencies
- Method to disable heater please
- Slow refresh rate HOT 1
- adafruit_bme680.py, class Adafruit_BME680, _perform_reading(): infinite loop HOT 6
- Wrong formula for gas_wait causing huge sampling delays
- v3.4.12 always returns wrong/nonsenical, static number for temperature, humidity, and pressure on first reading. Gas also seems wrong HOT 13
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_circuitpython_bme680.