Recently I have acquired from Adrafuit two BME680 boards for my Indoor Air Quality Monitor station project.
After following the BSEC-Arduino-library README file, I have compiled the library with success on the Arduino MKR1000 using Platformio.
However, after running this library for 24 hours, the IAQ, eVOC and eCO2 read values are always the same. The accuracy retrieved by the sensor is stuck at 0, and I don't know how to fix this. I have already tested the two different sensors and nothing has changed.
To mislead, I have downloaded the official library from https://www.bosch-sensortec.com/ (which is currently on version 184.108.40.206) and I have replaced the compiled libalgobsec.a for the Cortex-M0+ processors, but the problem persists. Temperature, humidity, pressure, and gas values look good so it is just a problem with the internal calibration of the sensor...
Any suggestion? Thank you.
Arduino MKR1000 MCU details:
- SAMD21 Cortex-M0+ 32bit low power ARM MCU
Solved! Go to Solution.
Are you using NVM?
If yes, what is your IAQ type? LP or ULP?
Would you upload your BME680 here?
Thank you very much for answering me.
Regarding the NVM, yes I'm using a piece of my flash memory to emulate an EEPROM.
I have already tested all three modes, LP, ULP, and Normal mode (present in the latest version of the bsec library). However, currently, I'm using it in LP mode.
The code is the following (you can also check it out in my GitHub😞
Thank you very much for your help!
Tested and indeed it is now working.