08-13-2019 06:20 PM
I'm thinking of using BME680 and related software with ESP32 using deep-sleep. In deep-sleep, the system turns system RAM off but small part of RAM (RTC_RAM) is kept powered for preserve the state during the sleep. I was thinking of putting data structures from bme680.h, the integration files into the RTC_RAM and initialize everything once during the power-up but after returning from the deep-sleep, I would just trigger measurements (no initializations) as MBE680 is kept all the time powered in (U)LP so it retains its state during the deep-sleep boot-ups.
This part should work fine but I'm not sure if any system data is kept at libalgosec. If there are some data at the algorithm section that needs to be preserved between measurements (or initialized in the library), then this approach would not work and the best I can do is light-sleep. Can you, please, confirm if you store any system data in the algorithm library that would prevent my approach?
06-08-2020 05:04 PM
Hi @Hend
The experimental example code was eventually merged to the master/main brand, hopefully you can find the example code mentioned above here.
If you are still facing issues, please create a new Thread/Topic describing your current setup and configuration, since the thread above was in fact resolved.
07-22-2020 05:43 PM
Hey handytech,
So i decided to run this code. Without any changes what so ever, it goes to accuracy 1 and the static air quality just oscillates between 25, 26, 27 and 28. Never goes higher. Why is this? What is causing the issue?
Thanks
Sagar
07-24-2020 06:02 PM
If you are operating the sensor for the first time, maybe you need to let the system running for a few hours to let the sensor stabilize to its environment and experience different air qualities. For test puporse, if you expose the sensor to high VOC concentrations you should see the IAQ rising. To understand if the IAQ and IAQ accuracy output are expected, we need to see the raw temperature/humidity/gas resistance and timestamp used.
03-31-2022 04:29 PM - edited 03-31-2022 04:30 PM
Hello @kgoveas
I am also want to de a similar thing, but i could not get a accuracy of 3 even 1 was not possible. Do you still have the code you worked with because the link is not available anymore.
kind regards
Roeland