Dear Bosch Community
I'm successfuly using a BME680 with the bsec library 1.6.1480 on an ESP32 microcontroller (configuration stored on SPI Flash) based on the basic_config_state.ino example. Everything works fine, the sensor is reaching accurcy 3 as it should and the config is written routinely and read at sartup as normal. When I transported the system to a different place (several occasions), the eCO2 value was never lower than about 2000 afterwards and the eVOC values was at 10'000 even after a longer time period. It was only after erasing the configuration that the sensor was working properly again.
I don't understand why I this happens and what had gone wrong or what problematic handling I have done. The only way to solve this problem is to erase the configuration and then everything works as expected and normal. What happens during transportation when the sensor is not powered on? Does anyone have an idea? This is critical when I want to ship the device with a stored configuration.
Best Regards, JuergL
Solved! Go to Solution.
As what you said, one state file was used on different location or after the long time the sensor power off.
Actually the purpose state file is to store historical situation of one position. After restart, the sensor would fast track the environmental data of the same place and give accurate output. If the environment changes, loading state file of other place does not help to give accurate output.
Don't recommend to use one state file in different location. And also, if the power off time is very long, which means the environmental gas distribution already changes a lot compared to the historical environment, loading state file also cannot give accurate output. But after running for some time, output will be accurate. The time duration depends on the deviation between two environmental status.
Hopefully, it can meet your inquiry.
Thank you very much for this investagations and explanations. I now understand the function and use of the previous data from a specific place much clearer. In this case I understand that we should erase any old configuration if we move the sensor to a different place or when it is turned off for a longer period. Thank you very much. This helped me a lot!
Best Regards, JuergL