Traffic light controlled through NodeMCU from mobile device over WiFi

Circuit is done as shown in the diagram. Download trafficLight library from the following link. Unzip and paste the downloaded library to Arduino libraries folder. Restart Arduino IDE and open the example program from File -> Examples -> trafficLight -> trafficLight. Upload the program to your NodeMCU. Program compiled and tested on Arduino-1.8.12.

Read More
X