10-02-2021 10:13 AM
Dear All,
Is there an expected date for the upgrade of the BSEC for arduino to the revisione 2.x?
I've designed a custom board based on ESP32 and BME688 to monitor indoor air quality, Sensei32.
It would be great to have support for the mighty BME688 also in Aurduino environment as of right now only BME680 is officialy supported by the last library version (althought it works and pulls out plausible readings).
Is it possible to manually upgrade the arduino library by updating its files with the one I can get from bme688_development_software?
Thank you again,
Davide
https://github.com/BoschSensortec/BSEC-Arduino-library
10-04-2021 08:23 AM
Update:
These days i've managed to merge the last available official BSEC library (1.6.x) with the latest BSEC 2.x successfully, after all no code modification was required library-side (just an accurate copy-paste).
As of now the provided example "basic_config_state.ino" compile and runs smoothly but it obviously is in the BSEC_SAMPLE_RATE_HIGH_PERFORMANCE.
To the needs of my project i want to configure it in ULP mode (300s) but i've found problem handling DeepSleep: unlike previous BSEC library (1.6.x), the sensor keep re-initializing after a deep-sleep wake up event.
Do I miss how to use this new library API for DeepSleep?
Can you provide a brief example or few steps?
Here is a link to the project source (just the .ino file is published, bsec 2.x library porting is not distribuited in any form, as required by the license):
https://github.com/Sensei32-DevKit/Sensei32-BME688_Advanced/blob/BSEC_2-0-6-1/Sensei32-BME688_Advanc...
As an additional information the code above will run well if DeepSleep is replaced with LightSleep or delay, so i think is just an erroneus setup at wake-up.
Many thanks for the help.
10-08-2021 03:05 AM
Hello Raggio,
You could download BME688 software from here: https://www.bosch-sensortec.com/software-tools/software/bme688-software/
10-10-2021 10:43 AM - edited 10-10-2021 10:45 AM
Dear Robin,
Thank you for your reply.
I already have the latest software versione from "https://www.bosch-sensortec.com/software-tools/software/bme688-software/", the BSEC 2.0.6.1 release.
What I found is that this release have an issue with ESP32 DeepSleep that prevents ULP mode (300s).
Even if I store the sensor state in EEPROM and perform the correct initialization function as of the past library release (BSEC 1.6.x), the sensor keep re-initializing after each wake-up.
Do I miss how to use this new library API for DeepSleep?
Can you provide a brief example or few steps?
Here you can find my current code for BSEC 2.x "https://github.com/Sensei32-DevKit/Sensei32-BME688_Advanced/blob/BSEC_2-0-6-1/Sensei32-BME688_Advanc..."
Thank you,
Davide
11-26-2021 07:15 AM
Hello Raggio,
Which configuration you used?