02-16-2020 08:21 PM
I have finally created some enclosures for a few of my BME680-sensors. There're quite some holes in it, but still the temperature is 4.6 degrees above the air around. Understand that this is possible to compensate by changing the BSEC_INPUT_HEATSOURCE in some way, but I don't get how I define it? Could you please help me? Am using the basic ino.
Kind regards
Solved! Go to Solution.
02-17-2020 03:13 PM
Since you are using the BSEC Arduino library, there is a funtion to do just that: setTemperatureOffset(float tempOffset). This means that you could add iaqSensor.setTemperatureOffset(4.6); in your setup() function to subtract a fixed 4.6°C from all temperature compensated outputs.
02-17-2020 03:41 PM
02-17-2020 03:48 PM
If you dig a little into the source code, you will see that whatever value fed into setTemperatureOffset() will be used to set BSEC_INPUT_HEATSOURCE 😉 Therefore yes, this is the correct way to input your external temperature influence so that all BSEC outputs will be compensated for it.
02-17-2020 04:46 PM