09-13-2022 06:58 PM
Hello,
I am using the bme688 devkit to gather data for 2 gas classes. After using ai-studio to generate the bsec config file, I am testing the gas classification with the example application provided under https://github.com/BoschSensortec/Bosch-BSEC2-Library, which works. But if I am trying to use the same configuration with one of our own sensors connected over i2c the classification does not work. I tried three different sensors but none showed the correct gas class. In fact the classification output does not change at all, regardless of the air around the sensor. I hardly believe that all three sensors are somehow defective, given that every other metric, be it temperature, humidity, raw gas resistence, does change according to changes in the air. Does a custom bsec config only works with the dev board? What could be the error?
Kind regards,
Dennis
05-02-2024 05:04 PM
@BSTRobin Any feedback ? in the software I have a class as air... and the other ones as different chemicals... the app and the dev kit look ok for class but the firmware is maybe mixing it up ? for instance for what I would expect air to be up at 1.0000 for estimate 1 but is the estimate not in corilation to the class ie is class a estimate 1 ? etc
05-02-2024 05:13 PM
further context note how air and formaldehyde stay static at 0 but the other two swap around every now and then but the sample its also static and not changing so is the issue with indexing ? FYI acetone is the actual sample
I (370054) BSEC: air: 0.000000 Acuracy: 3
I (370054) BSEC: Acitone: 0.670209 Acuracy: 3
I (370054) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (370064) BSEC: Toluine: 0.329791 Acuracy: 3
I (380634) BSEC: air: 0.000000 Acuracy: 3
I (380634) BSEC: Acitone: 0.999626 Acuracy: 3
I (380634) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (380634) BSEC: Toluine: 0.000374 Acuracy: 3
I (391164) BSEC: air: 0.000000 Acuracy: 3
I (391164) BSEC: Acitone: 0.998922 Acuracy: 3
I (391164) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (391174) BSEC: Toluine: 0.001078 Acuracy: 3
I (393924) esp_schedule_nvs: Schedules in NVS: 6
I (393924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (393924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (393934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (393934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (393944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (393954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (393954) esp_schedule_nvs: Found 6 schedules in NVS
I (401704) BSEC: air: 0.000000 Acuracy: 3
I (401704) BSEC: Acitone: 0.975615 Acuracy: 3
I (401704) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (401714) BSEC: Toluine: 0.024385 Acuracy: 3
I (412274) BSEC: air: 0.000000 Acuracy: 3
I (412274) BSEC: Acitone: 0.680359 Acuracy: 3
I (412274) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (412284) BSEC: Toluine: 0.319640 Acuracy: 3
I (422814) BSEC: air: 0.000000 Acuracy: 3
I (422814) BSEC: Acitone: 0.998817 Acuracy: 3
I (422814) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (422814) BSEC: Toluine: 0.001183 Acuracy: 3
I (423924) esp_schedule_nvs: Schedules in NVS: 6
I (423924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (423924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (423934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (423934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (423944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (423954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (423954) esp_schedule_nvs: Found 6 schedules in NVS
I (433384) BSEC: air: 0.000000 Acuracy: 3
I (433384) BSEC: Acitone: 0.113716 Acuracy: 3
I (433394) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (433394) BSEC: Toluine: 0.886284 Acuracy: 3
I (443924) BSEC: air: 0.000000 Acuracy: 3
I (443924) BSEC: Acitone: 0.999968 Acuracy: 3
I (443924) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (443924) BSEC: Toluine: 0.000032 Acuracy: 3
I (453924) esp_schedule_nvs: Schedules in NVS: 6
I (453924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (453924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (453934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (453934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (453944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (453954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (453954) esp_schedule_nvs: Found 6 schedules in NVS
I (454484) BSEC: air: 0.000000 Acuracy: 3
I (454484) BSEC: Acitone: 0.999962 Acuracy: 3
I (454484) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (454484) BSEC: Toluine: 0.000038 Acuracy: 3
I (465054) BSEC: air: 0.000000 Acuracy: 3
I (465054) BSEC: Acitone: 0.998636 Acuracy: 3
I (465054) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (465054) BSEC: Toluine: 0.001364 Acuracy: 3
I (475624) BSEC: air: 0.000000 Acuracy: 3
I (475624) BSEC: Acitone: 0.560842 Acuracy: 3
I (475624) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (475624) BSEC: Toluine: 0.439158 Acuracy: 3
I (483924) esp_schedule_nvs: Schedules in NVS: 6
I (483924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (483924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (483934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (483934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (483944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (483954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (483954) esp_schedule_nvs: Found 6 schedules in NVS
I (486174) BSEC: air: 0.000000 Acuracy: 3
I (486174) BSEC: Acitone: 0.734041 Acuracy: 3
I (486174) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (486174) BSEC: Toluine: 0.265959 Acuracy: 3
I (496744) BSEC: air: 0.000000 Acuracy: 3
I (496744) BSEC: Acitone: 0.700161 Acuracy: 3
I (496744) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (496754) BSEC: Toluine: 0.299839 Acuracy: 3
I (507314) BSEC: air: 0.000000 Acuracy: 3
I (507314) BSEC: Acitone: 0.000196 Acuracy: 3
I (507314) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (507324) BSEC: Toluine: 0.999804 Acuracy: 3
I (513924) esp_schedule_nvs: Schedules in NVS: 6
I (513924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (513924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (513934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (513934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (513944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (513954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (513954) esp_schedule_nvs: Found 6 schedules in NVS
I (517874) BSEC: air: 0.000000 Acuracy: 3
I (517874) BSEC: Acitone: 0.999225 Acuracy: 3
I (517874) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (517874) BSEC: Toluine: 0.000775 Acuracy: 3
I (528404) BSEC: air: 0.000000 Acuracy: 3
I (528404) BSEC: Acitone: 0.998583 Acuracy: 3
I (528404) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (528414) BSEC: Toluine: 0.001417 Acuracy: 3
I (538974) BSEC: air: 0.000000 Acuracy: 3
I (538974) BSEC: Acitone: 0.999990 Acuracy: 3
I (538974) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (538984) BSEC: Toluine: 0.000010 Acuracy: 3
I (543924) esp_schedule_nvs: Schedules in NVS: 6
I (543924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (543924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (543934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (543934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (543944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (543954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (543954) esp_schedule_nvs: Found 6 schedules in NVS
I (549534) BSEC: air: 0.000000 Acuracy: 3
I (549534) BSEC: Acitone: 0.991084 Acuracy: 3
I (549534) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (549534) BSEC: Toluine: 0.008916 Acuracy: 3
I (560104) BSEC: air: 0.000000 Acuracy: 3
I (560104) BSEC: Acitone: 0.999388 Acuracy: 3
I (560104) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (560114) BSEC: Toluine: 0.000612 Acuracy: 3
I (570644) BSEC: air: 0.000000 Acuracy: 3
I (570644) BSEC: Acitone: 0.153206 Acuracy: 3
I (570644) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (570644) BSEC: Toluine: 0.846794 Acuracy: 3
I (573924) esp_schedule_nvs: Schedules in NVS: 6
I (573924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (573924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (573934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (573934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (573944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (573954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (573954) esp_schedule_nvs: Found 6 schedules in NVS
I (581214) BSEC: air: 0.000000 Acuracy: 3
I (581214) BSEC: Acitone: 0.018472 Acuracy: 3
I (581214) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (581214) BSEC: Toluine: 0.981528 Acuracy: 3
I (591784) BSEC: air: 0.000000 Acuracy: 3
I (591784) BSEC: Acitone: 0.975560 Acuracy: 3
I (591784) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (591784) BSEC: Toluine: 0.024440 Acuracy: 3
I (602354) BSEC: air: 0.000000 Acuracy: 3
I (602354) BSEC: Acitone: 0.000007 Acuracy: 3
I (602354) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (602354) BSEC: Toluine: 0.999993 Acuracy: 3
I (603924) esp_schedule_nvs: Schedules in NVS: 6
I (603924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (603934) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (603934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (603934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (603944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (603954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (603954) esp_schedule_nvs: Found 6 schedules in NVS
I (612914) BSEC: air: 0.000000 Acuracy: 3
I (612914) BSEC: Acitone: 0.019979 Acuracy: 3
I (612914) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (612924) BSEC: Toluine: 0.980021 Acuracy: 3
I (623454) BSEC: air: 0.000000 Acuracy: 3
I (623454) BSEC: Acitone: 0.999528 Acuracy: 3
I (623454) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (623454) BSEC: Toluine: 0.000472 Acuracy: 3
I (633924) esp_schedule_nvs: Schedules in NVS: 6
I (633924) esp_schedule_nvs: Schedule 0_0 found in NVS 0/0/50
I (633924) esp_schedule_nvs: Schedule 0_5 found in NVS 0/5/0
I (633934) esp_schedule_nvs: Schedule 1_1 found in NVS 1/1/50
I (633934) esp_schedule_nvs: Schedule 1_6 found in NVS 1/6/0
I (633944) esp_schedule_nvs: Schedule 1_8 found in NVS 1/8/25
I (633954) esp_schedule_nvs: Schedule 1_11 found in NVS 1/11/0
I (633954) esp_schedule_nvs: Found 6 schedules in NVS
I (634034) BSEC: air: 0.000000 Acuracy: 3
I (634034) BSEC: Acitone: 0.991871 Acuracy: 3
I (634044) BSEC: Formaldihide: 0.000000 Acuracy: 3
I (634044) BSEC: Toluine: 0.008129 Acuracy: 3