04-30-2023 07:27 AM - edited 04-30-2023 07:28 AM
Hi,
I have been trying to integrate BSEC 2.4.0.0 with the BME680 into my application for the ESP32 S1 and S3 using the ESP-IDF 5.0 IDE and am struggling with getting it to work. I am using I2C. I have attached my main.c and bsec_integration.c, both of which are based off of the provided example code. However, it does not work and I am getting a "initializing BSEC failed -12" error which I could not identify the cause of. Could an implementation be provided or help provided?
Solved! Go to Solution.
05-01-2023 05:49 PM
Hi effectiveIOT,
After review you software code, you can change sample rate to BSEC_SAMPLE_RATE_SCAN and test it again.
05-19-2023 07:19 AM - edited 05-19-2023 07:21 AM
Hi,
Thank you, that worked! I'll let you know if I have any other questions.
For future reference, in bme68x_bsec_update_subscription in bsec_integration.c, only some sensors support certain scan rates.
07-10-2024 10:20 AM
Hii @effectiveIOT can you please share updated files ?
Thank you in advance