Density Based Traffic Signal System Using Arduino Uno
Density Based Traffic Signal System Using Arduino Uno
bhargavidevi193@gmail.com Kavyareddy.kiwi@gmail.com
Dept. of Electronics And Communication Engineering. Dept. of Electronics And Communication Engineering
sravanierukulla1@gmail.com sujjireddy@gmail.com
Dept. of Electronics And Communication Engineering Dept. of Electronics And Communication Engineering
shankar.shiva4@gmail.com shubhroacumen@gmail.com
Abstract---
Present era controlling traffic became very arduous because of increase in the automobiles such as cars, bikes, etc. Due to
this, there is a longer time delays in the signalling systems. In order to overcome this problem, we have designed the
density based traffic signal with a delay of 1000ms to control the traffic based on density at the crossings or four-side lane
or roads system using Arduino Uno ATMega 328P.
Keywords-Traffic signals, Infrared Sensors, Arduino Uno AT Mega 328P Microcontroller, Light Emitting Diodes.
based traffic signal system using Arduino Uno advised to take when a particular control device is in used.
ATMega 328P. For the same at first we have Each traffic control device is governed by standards of
considered four IR sensors, eight LED’s, eight 220 design and usage; for example, stop signs always have a
ohms resistors and one Arduino Uno which acts as red background and are octagonal in shape. Design
the microcontroller. Here he IR sensors are used to standards allow the motor operator to quickly and
measure the traffic density i.e., the number of consistently perceive the sign in the visual field along the
vehicles are counted that are passing through the road. Standard use of colours and shape aids in this
each IR sensor which is called as traffic density identification and in deciding on the appropriate course of
and the four IR sensors are interfaced with the action. Under current circumstances, traffic lights are set
Arduino Uno. The Arduino Uno has 28 pin on in the different directions with fixed time delay,
configuration and also consist of 14 digital I/O pins following a particular cycle while switching from one
(out of 14 pins, 6 can be used as PWM outputs), signal to other creating unwanted and prodigal congestion
six Analog inputs, 16MHz crystal, USB on one lane while the other lanes remain vacant [2]. The
connection, power jack, ICSP header, reset button. system we proposed identifies the density of traffic on
Here three different colour light emitting diode i.e. individual lanes and thereby regulate the timing of the
red, yellow and green are applied, according to the signals’ timing. IR trans-receivers count the obstructions
traffic conditions. The road which covers more and provide an idea about the traffic density on a
number of vehicle, given as green signal and other particular lane and feed this response to a controller unit
remaining roads are given as red signal. In this which will make the necessary decisions while it is
will detect the vehicle & will send the information to the In the code section sensorState1 reads and stores the state of
microcontroller. The microcontroller will count the number sensor1. If the state of the detector in more than a few from
of vehicles, and provide the glowing time to LED according the previous state, it satisfies the condition, then the
to the density of vehicles. The lane or road which has the statement in parenthesis gets dead. Again the detector goes
higher density, then the LED will glow for higher time than high to low and vice versa. This could cause the counter to
average or vice versa. The traffic lights are initially running extend twofold whenever an automobile passes, to avoid
at a fixed delay of 1000 milliseconds, which in turn this downside the counter is augmented only if the detector
produces a delay of 1000+1 milliseconds in the entire goes low to high. If (sensorState1 == HIGH) avoid the count
process. This entire embedded system is placed at that once the detector State goes high to low. Similarly, four
junction. Microcontroller is interfaced with LED’s and IR counters are used for sensors for numeration cars at four
IR
MODULE
ARDUINO
UNO AT MEGA LED’S
328P
POWER
SUPPLY
(USB Cable)
VI. REFERENCES