01-12-2024 01:12 PM - edited 01-12-2024 01:37 PM
Hello!
I want to use BSEC library 2.4.0.0 build for ESP32-C2C3 on another riscv platform.
Sample application build up succesfully.
I read data from BME680, raw sensor data seems ok
I use valid timestamps in ns
Mode is LP
I wait forsensor_settings.next_call
I followed guide in FAQ section
BSEC configuration for BME680 has been set up with no error
no error on bsec_init
no other warnings or errors
I tried with fresh air, defferent configuration, different delays, all I can find in the forum here.
In the BSEC output I have temperature, humidity and other values I have already from BME680, but IAQ sesnor value and accuracy always 0.
Maybe library is not appropriate for my platform.
So I am concerned about initial valule for IAQ.
Should initial value for IAQ be 25, or it could be zero?
I attached output data from BSEC with raw valuesfrom BME680.
Note that timestamps is devided by 1000000, so they are passed to BSEC lib in ns.
Could you please share some test data that I can test if library in general can work on my platform?
05-30-2024 09:06 AM
Hi dimaplusplus,
You need to enable BME68X_OUTPUT_GAS_IAQ macro definition and disable BME68X_OUTPUT_GAS_ESTIMATE macro definition in the code.
We suggest that you obtain the RTC hardware time instead of using xTaskGetTickCount() to obtain the RTOS time.