04-25-2023 11:16 PM
Hi there!
I've got a BME680 hooked up to an ESP8266 for an Air Quality Monitor project, and it's giving outlandish readings.
The software stack is simply the BSEC example code that POSTs the data to a NodeRED + InfluxDB + Grafana set up. If you'd like access to real time or raw data, let me know in a comment and i'll arrange a guest account. Below is a Snapshot of some of the readings. If the Arduino code is relevant, I'll link it, but again it's the basic, plus some JSON-ing and POST-ing.
https://snapshots.raintank.io/dashboard/snapshot/pzx0Ko3h85Mw28C34smvn9KdQEJX42Xq
It seems to struggle with accuracy. The sensor is positioned out of a window.
Does anyone know why this is happening?
I also have another sensor that does an even weirder thing: it warms up when conneted and messes up the readings, but I think it's more to do with QA on the manifacturer side.
Thanks to everyone!
04-27-2023 10:04 AM
Hi fabio53443,
You can provide you software code and data log and describe out which data is outlandish? And how about your test environment?
04-27-2023 12:30 PM
Hi there!
Thanks for replying.
My reference data is data from the Region's Environment Administration for my area https://waqi.info/it/#/c/41.922/12.674/12.3z
The code for the Arduino is here: https://github.com/Fabio53443/AirQualityMonitor/blob/main/BME680Sensor/BSEC/basic/basic.ino
and the raw data from the sensor can be found here (be warned, it's a 200mb json, 900k+ rows. might crash your text editor): https://we.tl/t-8enQQJEwED (WeTransfer because the file was to big to commit on github and I'd rather die than setup GLFS right now 😂).
What is more confusing is not really how high the AQI is, but rather that it's so variable, even when there's the same accuracy number.
Hope you can help.
Thanks!
08-10-2023 10:11 AM
Hi fabio53443,
You can refer to this example code https://github.com/boschsensortec/Bosch-BSEC2-Library/blob/master/examples/generic_examples/basic_co... to add the code of saving and loading state.
You can record timestamp, BSEC output, accuracy for analysis.