10-31-2020 08:40 PM
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 1.4.8.0) 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
Code:
Solved! Go to Solution.
11-03-2020 03:23 AM
Hello Fernando,
Are you using NVM?
If yes, what is your IAQ type? LP or ULP?
Would you upload your BME680 here?
Thanks,
11-05-2020 10:16 PM
Hello Minhwan,
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😞
11-05-2020 11:55 PM
11-06-2020 10:06 PM
Hello Minhwan,
Thank you very much for your help!
Tested and indeed it is now working.
Best regards.