>>> Join Us in the Fight Against Air Pollution

AirGradient Forum

Airgradient code on Arduino

Something seems off with the code. When I flash the controller through the Browser everything works fine. When I flash the controller through Arduino, the OLED screen stays in the “Warming up the sensors” state although I can see in the serial monitor that the code is running in the background. However all sensors are spitting 0 as value and CO2 sensor -2 so it seems that sensors are not running.

And yes I have installed all libraries as stated in the sketch and the code is vanilla, with 0 modifications.

Any help would be appreciated.

Thank you.

Well, no comment!! :innocent:

I had the WeMos D1 R1 board selected instead of the Lolin (WEMOS) D1 R2 & mini.

Working fine now.