

Note: The project implemented here doesn’t include the pedestrian crossing and pedestrian signaling in to consideration. The system then loops back to Lane 1 where the process mentioned above will be repeated all over again. The green light in Lane 3 is also turned on for a predefined time and the process moves forward to Lane 4 and finally Lane 2. The yellow lights in Lanes 1 and 3 are turned for a small duration say 2 seconds after with the red light in the Lane 1 is turned on and green light in Lane 3 is also turned on. Similarly, the yellow light in the Lane 3 is also turned as an indication that the green light about to be turned on. After a time delay of predefined time say 5 seconds, the Green light in the Lane 3 must be turned on and the Green light in the Lane 1 must be turned off.Īs a warning indicator, the Yellow light in Lane 1 is tuned on indicating that the red light is about to light up.

Hence, in all the other Lanes, their corresponding Red lights are turned on. In that, first the Lane 1 gets its Green light turned. The project is also implemented in the same manner.ĭIY Project Kit : Density Based Traffic Signal with Remote Override in Emergency » The working of the project is very simple and is explained below.Ĭonsider the following gif image showing a loop of traffic light operations. The aim of the project is to implement a simple traffic light controller using Arduino UNO, where the traffic is controlled in a pre-defined timing system. Although it is not the ideal implementation for real life scenarios, it gives an idea of the process behind the traffic light control system In this project, a simple traffic light system for a 4 way intersection is implemented using Arduino UNO. The real time traffic light controller is a complex piece of equipment which consists of power cabinet, main controller or processor, relays, control panel with switches or keys, communication ports etc. Working of the Traffic Light Controller Project Hence, a reliable power supply (like a DC adapter) to power the Arduino UNO must be used. it provides the necessary current to turn ON the LED.
#Arduino traffic light with timer series#
But it is advised to use the current limiting resistors of at least 220 Ω in series with each LED.Īlso note that Arduino UNO in this project acts as source of current for all the LED i.e. This small current will not burn the LED. Note: In the practical implementation of the project, we did not use the current limiting resistors as the current from each digital I/O pin of the Arduino UNO is only 20mA. The complete wiring diagram of the circuit is shown below. The intersection is divided in to four lanes: Lane1, Lane 2 Lane 3 and Lane 4.Īll the LEDs are connected to the Arduino UNO’s digital I/O pins through respective current limiting resistors of 1KΩ.Īll the connections are made as per the circuit diagram. We need three LEDs of Red, Yellow and Green colors at each intersection. The project is a simple representation of traffic light controller and hence no other extra components are used. Since the project is a traffic light controller, the circuit consists of many LEDs (12 as a matter of fact) as we are implementing traffic lights at a 4 way intersection. (Foe Blue LED, the maximum current can be up to 30mA).

The maximum current that can be allowed through these LEDs (Red, Yellow and Green in particular) is 20mA. LEDs: The LEDs used in the project are basic 5mm LEDs of Red, Yellow and Green colors. Arduino UNO will serve the purpose in this project to handle all the switching of the LEDs and controlling their timings.
