07-18-2022 07:27 AM
I want to use the BSEC library to get the CO2 values, However i,m getting "mismatch" error when the example configuration file (FieldAir_HandSanitizer_config) is loaded: "BSEC_E_CONFIG_VERSIONMISMATCH". (line 125 https://github.com/BoschSensortec/Bosch-BSEC2-Library/blob/master/examples/generic_examples/basic_co...)
I guess,this file is mean for the X8 board (2277 values???)--> Therefore, my question is, How to get/find/compile a configuration file for a custom board with just a single sensor ? I mean (1 x BME688 on: ESP32S3, STMG4,STMH7),
FYI . the BME68x API si working fine. Unfortunatelly, I dont know how to calculate CO2 and IAQ values from the the 3 data fields.....
07-18-2022 03:35 PM
Hi giomate,
Can your software environment work normally with running example which downloaed from "BSEC 2.x Software" https://www.bosch-sensortec.com/software-tools/software/bme688-software/?
First make sure your software environment is normal, then run the example of hand sanitizer and see the result again.
The example program is applicable to BME688 + host.
07-18-2022 04:17 PM
Hi Robin,
this link ""BSEC 2.x Software" https://www.bosch-sensortec.com/software-tools/software/bme688-software/?" just point me to the Home page of the BME688. There, one find 3 repos and other appications... Could you be please be more precise..
i implemeted the BME68x-Library.. this is one of these repos (https://github.com/BoschSensortec/Bosch-BME68x-Library). This API is working on the tree microcontrollers.
I tried to replicate the example (https://github.com/BoschSensortec/Bosch-BSEC2-Library/tree/master/examples/generic_examples/basic_co... on a custom ESP32S3 (NOT arduino)....but i got stocked at the moment to load the configuration... the size of the file bmeConfig and the size of the FieldAir_HandSanitizer_config are not compatible..that says this function ( bsec_set_configuration(config, BSEC_MAX_PROPERTY_BLOB_SIZE, workBuffer, BSEC_MAX_WORKBUFFER_SIZE);), which is not accesible 😞
07-21-2022 11:06 AM
Hi giomate,
I high light "BSEC 2.x Software" here:
BME68x-Library integraed BSEC1 is used for BME680. As you used BME688, you need to use BSEC2.
10-10-2022 08:08 AM
it turn out, that default configurations such as "FieldAir_HandSanitazer" does not work.
i got working the BSEC output without Configuration step "envSensor.setConfig(FieldAir_HandSanitizer_config);"... maybe you had a better ideas.
Anyways, i write to you because , i have two doubts:
1. ON my custom board there is only one BME688, However if define this variable "#define BSEC_MAX_PHYSICAL_SENSOR " to 1, i get only temperatures.. it work with 8 (fake) physical sensor...
2. IAQ values differs strongly, with other IAQ values.. the iaq-bme is alway for a while 50 an then oscillates on values of 90~130 on a ventilated room(should be 50~90)..Question:IAQ-BME, can be calibrated or readjusted...