04-25-2023 04:24 AM
Hello, i´ve trained and exported the BSEC files and succesfully used them in the BME x8, however in the development we need to use only one sensor per board, and i´ve come into the issue that BSEC export files just won´t work on the basic_config_state, i modified the .h and .c files i got from the BSEC export on AI Studio, and it just shows error -34, i don´t know what to do anymore.
Board is RP2040, using earle philhower core, altough error is also shown on ESP32.
BME688 x1 board is Adafruit
Connected together using StemmaQT cable.
When not trying to use my own BSEC export files sensor works correctly,altough i noticed it showed [100% Probability of hand sanitizer] when it was exposed to normal air
Solved! Go to Solution.
04-25-2023 09:08 AM
Hi PROletarian1991,
For your description " i modified the .h and .c files i got from the BSEC export on AI Studio, and it just shows error -34,", what is your modificatin?
04-27-2023 06:50 AM
i modified the "#include "bsec_serialized_configurations_selectivity.h"" line since it was stating an error:
C:\Users\bryma\OneDrive\Documentos\Arduino\libraries\Bosch-BSEC2-Library-master\src\config\Export\2023_04_21_21_38_unnamed_HP-501_RDC-1-0Continuous.c:2:10: fatal error: bsec_serialized_configurations_selectivity.h: No such file or directory
#include "bsec_serialized_configurations_selectivity.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
04-27-2023 06:55 AM
Some more information, i´m now using seeduino Xiao as the microcontroller, based off SAMD21, if i try a custom BSEC export i get :
C:\Users\bryma\OneDrive\Documentos\Arduino\libraries\Bosch-BSEC2-Library-master\src\config\Export\2023_04_21_21_38_unnamed_HP-501_RDC-1-0Continuous.c:2:10: fatal error: bsec_serialized_configurations_selectivity.h: No such file or directory
#include "bsec_serialized_configurations_selectivity.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
exit status 1
Error compiling for board Seeeduino XIAO.
If i use the hand sanitizer VS air i get that ~100% certainty that the BME688 is reading hand sanitizer, when in fact its regular air. If i were to add hand sanitizer close to the sensor i get no change whatsoever.
In addition, the files generated from AI Studio, differ drastically from the ones in the hand sanitizer example, AI Studio export references config_selectivity.
05-31-2023 11:24 AM
Hi PROletarian1991,
'-34' means the version of the config file and BSEC library do not match, we check the config file what you generated which is 2400, so make sure to use 2400 to run it.
And also you can use alcohol to test with the original config file.