Comments (5)
Without touching anything the reading went back then collapse for an hours
I'll let it run.
from adafruit_circuitpython_bme680.
As a comparison check, I ran an UNO with the Arduino lib. I logged data for ~1 hour, breathing on it at the beginning and end to generate a response. Plot of millis()
vs. gas_resistance
:
There's a general warming up trend, but it otherwise responded to breath.
I also did a similar check with an Itsy Bitsy M4 and CP 3.1.1. I seemed to have gotten the same odd behavior. Plot of time.monotonic()
vs. gas
:
It initially responded, but then the reading froze. Other readings, like temperature and humidity were still responding.
from adafruit_circuitpython_bme680.
@caternuson Can you test this again? I believe it may have been resolved by #18 based on reference to #12.
from adafruit_circuitpython_bme680.
@kattni Yep, appears to be fixed. Or at least could not repeat the same behavior as above. Here's latest test result for plot of gas
:
import time
import board
import digitalio
import adafruit_bme680
bme = adafruit_bme680.Adafruit_BME680_I2C(board.I2C())
led = digitalio.DigitalInOut(board.D13)
led.direction = digitalio.Direction.OUTPUT
led.value = False
go = digitalio.DigitalInOut(board.D10)
go.direction = digitalio.Direction.INPUT
print("logging...")
with open("/data.csv", "a") as fp:
while go.value:
fp.write("{},{},{},{},{}\n".format(time.monotonic(),
bme.temperature,
bme.gas,
bme.humidity,
bme.pressure))
fp.flush()
led.value = not led.value
time.sleep(1)
print("DONE.")
from adafruit_circuitpython_bme680.
Resolved. Closing.
from adafruit_circuitpython_bme680.
Related Issues (20)
- The GAS values is slow to update and is not accurate HOT 5
- 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.