Arduino Traffic Light Controller
Arduino Traffic Light Controller
P R OJ E C T S | T U TO R I A L S | C O U R S E S
Contents [hide]
1 Circuit Diagram
2 Components
3 Component Description
4 Circuit Design
5 Working of the Tra c Light Controller Project
6 Limitations
7 Applications
8 Project Images
9 Project Code
10 Related Articles
Solar
Controller
Nikkei Business knows Solar Power. Find the
Latest Solar News Here!
techon.nikkeibp.co.jp/
The use of personal vehicles is very common now a days and a result, the number of vehicles
on the roads are exponentially increasing. Roads without any supervision or guidance can lead
in to tra c congestions and accidents.
Tra c Lights or Tra c Signals are signalling devices that are used to control the ow of tra c.
Generally, they are positioned at junctions, intersections, X roads, pedestrian crossings etc.
and alternate the priority of who has to wait and who has to go.
mt.com/Rainin/Pipette-Poster
The tra c lights will provide instructions to the users (drivers and pedestrians) by displaying
lights of standard color. The three colors used in tra c lights are Red, Yellow and Green.
The system must be used to control the tra c lights for smooth and safe movement of tra c.
These control systems consists of electro mechanical controllers with clockwork mechanisms
or modern solid state computerised systems with easy setup and maintenance.
Select the Next Set of Arduino Projects You Want to Learn in Electronicshub: Arduino
Projects
In this project, an Arduino based Tra c Light Controller system is designed. It is a simple
implementation of tra c lights system but can be extended to a real time system with
programmable timings, pedestrian lighting etc.
Circuit Diagram
Components
Arduino UNO
1K Resistor X 12
Red LEDs X 4
Yellow LEDs X 4
Green LEDs X 4
Connecting wires
Prototyping board
Power adapter
Component Description
Arduino UNO: The main part of the Tra c Light Controller is the controller itself. Arduino UNO
will serve the purpose in this project to handle all the switching of the LEDs and controlling
their timings.
LEDs: The LEDs used in the project are basic 5mm LEDs of Red, Yellow and Green colors. The
maximum current that can be allowed through these LEDs (Red, Yellow and Green in
particular) is 20mA. (Foe Blue LED, the maximum current can be up to 30mA).
Circuit Design
Since the project is a tra c light controller, the circuit consists of many LEDs (12 as a matter of
fact) as we are implementing tra c lights at a 4 way intersection. The project is a simple
representation of tra c light controller and hence no other extra components are used.
We need three LEDs of Red, Yellow and Green colors at each intersection. The intersection is
divided in to four lanes: Lane1, Lane 2 Lane 3 and Lane 4.
All the connections are made as per the circuit diagram. The complete wiring diagram of the
circuit is shown below.
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. This small
current will not burn the LED. But it is advised to use the current limiting resistors of at least
220 in series with each LED.
Also note that Arduino UNO in this project acts as source of current for all the LED i.e. it
provides the necessary current to turn ON the LED. Hence, a reliable power supply (like a DC
adapter) to power the Arduino UNO must be used.
In this project, a simple tra c light system for a 4 way intersection is implemented using
Arduino UNO. Although it is not the ideal implementation for real life scenarios, it gives an idea
of the process behind the tra c light control system
The aim of the project is to implement a simple tra c light controller using Arduino UNO,
where the tra c is controlled in a pre-de ned timing system. The working of the project is very
simple and is explained below.
Consider the following gif image showing a loop of tra c light operations. The project is also
implemented in the same manner.
DIY Project Kit: Density Based Tra c Signal with Remote Override in Emergency
In that, rst the Lane 1 gets its Green light turned. Hence, in all the other Lanes, their
corresponding Red lights are turned on. After a time delay of prede ned 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 o .
As a warning indicator, the Yellow light in Lane 1 is tuned on indicating that the red light is
about to light up. Similarly, the yellow light in the Lane 3 is also turned as an indication that the
green light about to be turned on.
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.
The green light in Lane 3 is also turned on for a prede ned time and the process moves
forward to Lane 4 and nally Lane 2.
The system then loops back to Lane 1 where the process mentioned above will be repeated
all over again.
Note:The project implemented here doesnt include the pedestrian crossing and pedestrian
signaling in to consideration.
Limitations
The project is not suitable for actual implementation but just a demonstration of the
process behind the system.
Real time tra c light controller systems are generally run time programmable i.e. the
operator (usually a policeman) can change the timings of each lane as per the intensity
of the tra c in each lane.
There will also be a provision for either manual operation or pre-programmed operation.
Applications
A simple tra c light controller is implemented in this project with a real chance of
expansion.
An external memory can be interface with the main controller so that the timings are not
xed during its programming but rather can be programmed during operation.
An e cient tra c light controller system will include a pedestrian signaling system.
Project Images
Arduino Tra c Light Controller
Project Code
Related Articles
Arduino Based Color Arduino Home Touch Dimmer Switch Voice Activated Home
Detector Automation Using RF Circuit using Arduino Automation
Stepper Motor Control How to Build a Simple Arduino RFID Reader Arduino Solar Tracker
Using Arduino Arduino Calculator?
FILED UNDER: ARDUINO
Comments
MinThuAung says
OCTOBER 11, 2016 AT 10:10 AM
Please EH,
show me a arduino program and schematic for density based tra c light system with ir
obstacle sensor.
Im waiting,please.
Reply
Anusha says
JULY 20, 2017 AT 2:49 AM
Hi, We will implement the project and update it as early as possible. Stay tuned.
Reply
AbdulRehman says
MARCH 7, 2017 AT 11:57 AM
Reply
theodil says
JUNE 15, 2017 AT 8:59 AM
Reply
Leave a Reply
Your email address will not be published. Required elds are marked *
Comment
Name *
Email *
Website
POST COMMENT
Search this website
Electronics Hub
YouTube 18R
Electronics Hub
Follow On
Electronics Hub
Ikuti
Delivered by FeedBurner
Electronics Hub
667,019 likes
FOLLOW US
Facebook
Youtube
Google Plus
Twitter