04-28-2021 03:43 PM
Hi,
i use BME680 on ESP32 with basic_config_state code.
BME680 needs 307 secounds to go iaqAccuracy=3.
iaqSensor.run() has to be called at least every 2.770 - 4.250 secounds before it drops to iaqAccuracy=0.
Works nice - until i want to send data.
My GSM Module needs 3 times around 10 secounds where i can't call iaqSensor.run().
After sending Data the BME680 dropps to iaqAccuracy=0 for 307 secounds.
How to solve this?
I tryed using timer, but iaqSensor.run() needs 0,247 secounds - that messed up my GSM send.
Can i tell the BME680 to do his thing and i fetch data later?
Regards,
Frank
05-04-2021 06:27 PM
Solved the issue by running BME680 (and I2C communication) on core 0 only.
GSM, Wifi, time schedule and measurement of radon runs on core 1.
05-06-2021 10:08 AM
Hello internovum,
Good!
If the development environment supports multitasking, use multitasking to deal with different things.