06-07-2022 01:20 PM
I used the BME688 in some cumstom PCB's, which are based on ESP32 and STM32H7 MCU's. I got the BME688 working, but i have some doubts about it. 1. How can I convert the raw data from the bme68xLibrary to BSEC outputs in real time (not external treatment with AI tools) . I want to parse this data in real time to feed another algorithm , Hence, I appreciate , if you can give me some support
06-08-2022 03:22 AM
Hi giomate,
1. How can I convert the raw data from the bme68xLibrary to BSEC outputs in real time (not external treatment with AI tools) .
Reply: The BSEC algorithm performs this convertion. The implementation of BSEC algorithm was not public.
I want to parse this data in real time to feed another algorithm
Reply: As you want to feed another algorithm, I don't understand why you need to know the implementation of BSEC algorithm?
06-08-2022 10:39 AM
Hi Robin,
Thanks for the reply.
the outputs of the BSEC, seems to be more adequate for air quality specifications. Nevertheless, when i check the repo(https://github.com/BoschSensortec/Bosch-BSEC2-Library), i see basically that raw data from the api is saved on a SD card or printed out. Therefore i wanted to know, how to do the conversion on the MCU (no further handling of data on Host Computers)
Anyways , you are right. I dont need to deal with the BSEC library, if i can handle the raw data directly on the MCU.
However, i have a doubt about one raw value: gas_index from <data[i]->gas_index = buff[off] & BME68X_GAS_INDEX_MSK;> How is this parameter related to air quality?..or ... is it just a heater step index?
06-21-2022 08:56 AM
Hi giomate,
The BSEC library runs on the MCU. You need it.
The parameter is from BME688 data sheet about how to read sensor data, you could get more detailed information from data sheet.