02-15-2024 07:46 AM
I'm using BSEC2.4.0.0 (BSEC2.4.0.0_Generic_Release) with ATMEL SAM M4 MCU. I set the sample rate "BSEC_SAMPLE_RATE_SCAN" and print out virtual sensor data on output_ready(). At sensor intiailzation, I load configure data of bsec_config_selectivity[1974], that was generated from BME AI studio on PC. Heater and RDC was set to HP-354 / RDC-5-10. Then, it shows that the gas estimation is always reported only on Gas Index = 9, otherwise gas estimations are 0 as following message. I'm not sure this is correct? Should I skip other data when Gas Index is not 9 for making decision to report an deteciton result to users?
[BME688] Time:313 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101173.9
======== Temperature: 29.1
======== Relative Humidity: 41.5%
======== Gas: 302511.0
======== Gas Index: 0
======== BSEC Status: 0
[BME688] Time:313 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101178.4
======== Temperature: 28.7
======== Relative Humidity: 41.4%
======== Gas: 44431188.0
======== Gas Index: 1
======== BSEC Status: 0
[BME688] Time:313 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101175.3
======== Temperature: 28.0
======== Relative Humidity: 41.4%
======== Gas: 36217740.0
======== Gas Index: 2
======== BSEC Status: 0
==Sensor Value== 1347 sec. 1347983 ms after booting
[BME688] Time:314 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101175.4
======== Temperature: 27.9
======== Relative Humidity: 42.1%
======== Gas: 27232910.0
======== Gas Index: 3
======== BSEC Status: 0
[BME688] Time:314 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101175.2
======== Temperature: 28.4
======== Relative Humidity: 42.2%
======== Gas: 1447349.8
======== Gas Index: 4
======== BSEC Status: 0
[BME688] Time:314 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101174.1
======== Temperature: 28.6
======== Relative Humidity: 42.2%
======== Gas: 1314927.7
======== Gas Index: 5
======== BSEC Status: 0
[BME688] Time:315 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101175.3
======== Temperature: 28.6
======== Relative Humidity: 42.1%
======== Gas: 1211117.6
======== Gas Index: 6
======== BSEC Status: 0
[BME688] Time:315 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101177.4
======== Temperature: 29.0
======== Relative Humidity: 42.0%
======== Gas: 239140.5
======== Gas Index: 7
======== BSEC Status: 0
[BME688] Time:315 ==============================
======== Gas#1: 0; #2: 0; #3: 0; #4: 0
======== Pressure: 101173.4
======== Temperature: 29.1
======== Relative Humidity: 41.8%
======== Gas: 279019.0
======== Gas Index: 8
======== BSEC Status: 0
[BME688] Time:315 ==============================
======== Gas#1: 97; #2: 2; #3: 0; #4: 0
======== Pressure: 101173.2
======== Temperature: 29.1
======== Relative Humidity: 41.6%
======== Gas: 297760.9
======== Gas Index: 9
======== BSEC Status: 0
Solved! Go to Solution.
02-27-2024 09:55 AM
Hi brianchen,
This is normal printing information.
The gas estimation results are only output when index=9, which corresponds to the 10 sets of the Heat Profile, i.e. 0-9. Therefore, the results will only be output after completing the Heat Profile.
03-15-2024 03:55 PM
Noted. Thank you!