One sketch LCD and IR Sensor, One sketch ESP8266wifi

You should read this:

Is there any reason why you’re making life difficult for yourself and using an UNO + ESP8266 board (presumably an ESP-01) ?

You’d be far better using a NodeMCU or ESP32 for this.
But, if you so go down that route then don’t use the WiFi/Blynk connection/reconnection routines that you’ve used in your ESP-01 sketch.

Pete.

1 Like