Hello,
I have purchased a BME688 breakout board and woudl like to run an Indoor Air Quality Example on Arduino ESP32. I do see different download options for BME688 Software. There are mentioned multiple times "Arduino Example" for BSEC 2.x Integration guide AND API integration Example.
Another example "basic_config_state" is in BSEC 2.x Software package as "bsec".
- Which example shall i use to run the BME688 on Arduino to get a proper IAQ value?
I tried with bsec2 example "basic_config_state" on ESP32 with "bsec_serialized_configurations_iaq" and removed all EEPROM part which gives me an output like the following. It has values without IAQ until Gas_index = 9 appears. Please note, there is a time gap of 1:55 minute between iaq reading and new measurement.
The example gives some measurements and then has a pause of ~2 minutes. Is that expected behavior?
14:05:55.097 -> BSEC outputs:
14:05:55.097 -> timestamp = 161860
14:05:55.097 -> temperature = 27.94
14:05:55.097 -> pressure = 97182.41
14:05:55.097 -> humidity = 46.24
14:05:55.097 -> gas resistance = 114746.75
14:05:55.097 -> gas index = 0.00
14:05:55.374 -> BSEC outputs:
14:05:55.374 -> timestamp = 162140
14:05:55.374 -> temperature = 28.18
14:05:55.374 -> pressure = 97184.16
14:05:55.374 -> humidity = 46.17
14:05:55.374 -> gas resistance = 9183857.00
14:05:55.374 -> gas index = 1.00
14:05:56.752 -> BSEC outputs:
14:05:56.752 -> timestamp = 163505
14:05:56.752 -> temperature = 28.65
14:05:56.752 -> pressure = 97181.55
14:05:56.752 -> humidity = 45.17
14:05:56.752 -> gas resistance = 8763841.00
14:05:56.752 -> gas index = 2.00
14:06:00.902 -> BSEC outputs:
14:06:00.902 -> timestamp = 167670
14:06:00.902 -> temperature = 29.60
14:06:00.902 -> pressure = 97185.88
14:06:00.902 -> humidity = 41.80
14:06:00.902 -> gas resistance = 7777830.50
14:06:00.902 -> gas index = 3.00
14:06:01.620 -> BSEC outputs:
14:06:01.620 -> timestamp = 168370
14:06:01.620 -> temperature = 30.34
14:06:01.620 -> pressure = 97184.32
14:06:01.620 -> humidity = 41.39
14:06:01.620 -> gas resistance = 603951.62
14:06:01.620 -> gas index = 4.00
14:06:02.312 -> BSEC outputs:
14:06:02.312 -> timestamp = 169070
14:06:02.312 -> temperature = 30.73
14:06:02.312 -> pressure = 97186.54
14:06:02.312 -> humidity = 40.90
14:06:02.312 -> gas resistance = 579349.38
14:06:02.312 -> gas index = 5.00
14:06:03.023 -> BSEC outputs:
14:06:03.023 -> timestamp = 169770
14:06:03.023 -> temperature = 30.99
14:06:03.023 -> pressure = 97192.75
14:06:03.023 -> humidity = 40.49
14:06:03.023 -> gas resistance = 556673.00
14:06:03.023 -> gas index = 6.00
14:06:03.732 -> BSEC outputs:
14:06:03.732 -> timestamp = 170470
14:06:03.732 -> temperature = 31.53
14:06:03.732 -> pressure = 97188.94
14:06:03.732 -> humidity = 39.87
14:06:03.732 -> gas resistance = 137931.03
14:06:03.732 -> gas index = 7.00
14:06:04.375 -> BSEC outputs:
14:06:04.375 -> timestamp = 171135
14:06:04.375 -> temperature = 31.89
14:06:04.375 -> pressure = 97187.52
14:06:04.375 -> humidity = 39.34
14:06:04.375 -> gas resistance = 177716.08
14:06:04.375 -> gas index = 8.00
14:06:05.104 -> BSEC outputs:
14:06:05.104 -> timestamp = 171835
14:06:05.104 -> iaq = 25.00
14:06:05.104 -> iaq accuracy = 0
14:06:05.104 -> temperature = 32.15
14:06:05.104 -> pressure = 97189.34
14:06:05.104 -> humidity = 38.76
14:06:05.104 -> gas resistance = 214765.09
14:06:05.104 -> compensated temperature = 29.15
14:06:05.104 -> compensated humidity = 49.76
14:06:05.104 -> gas estimate 1 = 0.25
14:06:05.104 -> gas estimate 2 = 0.25
14:06:05.104 -> gas estimate 3 = 0.25
14:06:05.104 -> gas estimate 4 = 0.25
14:06:05.104 -> gas index = 9.00
Attached is my arduino exmaple code.
Kind Regards
Matthias