9_Traffic_Light_Controllers
Traffic Light Controller
This project will guide the kids how to place timers to switch on/ off the lights or any machineries.
As we all know that computer or any program works with 1 or 0 We can control the pin voltages of the arduino through our programming.
So we will do that pin of arduino high which is connected to the relay module through which the required light is connected.
The calculation of time for 1 second is 1000 milliseconds so suppose we want to switch on the yellow light after 15 second.
The command will be as under delay (15000) for the pin, which is connected for yellow light.