Mr.K.SURESH Asst - Prof

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 31

A MAJOR PROJECT REPORT

ON
AUTOMATIC TRAFFIC MANAGEMENT SYSTEM USING ZIPPERS
Submitted in partial fulfillment of the requirements for the award of the degree
Of
BACHELOR OF TECHNOLOGY
IN
ELECTRONIC AND COMMUNICATION ENGINEERING
By
G.NEELIMA
ID No: R141605
Under the supervision of
Mr.K.SURESH Asst.prof

Department of Electronics and Communication Engineering


Rajiv Gandhi University of Knowledge Technologies, RK Valley
Idupulapaya, Kadapa(Dist), Andhra Pradesh
2019
Rajiv Gandhi University of Knowledge
Technologies
RK Valley
Idupulapaya, Kadapa (Dist), Andhra Pradesh, 516330

CERTIFICATE
This is to certify that the project work titled “AUTOMATIC TRAFFIC MANAGEMENT
SYSTEM USING ZIPPERS” is a project work submitted by G.NEELIMA (R141605) in the
department of ELECTRONICS AND COMMUNICATION ENGINEERING in partial
fulfillment of requirements for the award of degree of Bachelor of Technology by RAJIV
GANDHI UNIVERSITY OF KNOWLEDGE TECHNOLOGIES,RK VALLEY,is record of
bonafide major project work carried out from 15/08/2019 to 16/11/2019 during the academic year
2019-2020

GUIDE HEAD OF THE DEPARTMENT


Mr. K. SURESH asst prof Mr. K.SRIKANTH REDDY ,
Department of E.C.E., Department of E.C.E.,
RGUKT,R.K.VALLEY, RGUKT,R.K.VALLEY,
KADAPA. KADAPA.
DECLARATION

I G.NEELIMA here by declare that dissertation entitled “AUTOMATIC


TRAFFIC MANAGEMENT SYSTEM USING ZIPPERS” in partial fulfillment of requirements
for the award of degree of Bachelor of Technology in Electronic and Communication Engineering
during the Academic session 2019-2020 in RAJIV GANDHI UNIVERSITY OF KNOWLEDGE
TECHNOLOGIES,RK VALLEY for my major project program on 15/08/2019 to 16/11/2019 is a
Bonafide Work.

We also declare that it has not been submitted previously in part or in full to this University or other
university/ Institution for the award of any degree or deploma.

G.NEELIMA
R141605

Date:16-11-2019,
Place :RK Valley.
ACKNOWLEDGEMENT

The satisfaction and euphoria that accompany the successful completion of any task would not be
complete without mentioning the names of people who made it possible and whose constant
guidance and encouragement crowned with all efforts made us achieve success. So, we would like
to take this opportunity to express our sincere and heart full thanks to everyone.
We sincerely thank to our internal guide of our project Mr. SURESH KALLEPALLI for
extending his expert guidance towards the fulfillment of this project work. He helped us in
preparation of documentation. He spent his valuable time with us to finish the project successfully
and encouraged us in each and every task by our own. Also we extend our gratitude to Mr.
SREEKANTH REDDY Head of the Department for spending his valuable time to check status of
our project work by weekly. And also we sincerely thank to our respected Director, Prof.
SUDHARSHAN RAO for providing all facilities to do the project successfully.
We deeply express our indebtedness to carry such a valuable project. We would like to thank
all the teaching and non-teaching staff in Electronics and Communication Department for their
warm hearted support during difficult times.
Last but not the least we would like to thank our friends at college and our family members
who worked a source of inspiration for me and who have supported me during the period of this
project work.
ABSTRACT

Road Divider is conventionally utilized for isolating the Road for ongoing and incoming traffic.
This helps keeping the stream of traffic. For instance, in any city, there is industrial zone or
shopping area where the traffic by and large streams in a single direction in the first part of the day
or night. The opposite side of Road divider is for the most part either unfilled or under-used. This is
true for peak morning and evening hours.
This outcome in loss of time for the vehicle proprietors congested driving conditions just as
underutilization of accessible assets. Our thought is to figure a system of smart road divider that can
move lanes or paths, with that goal we can have increasingly number of paths toward the hurry. The
combined effect of the time and fuel that can be saved by adding even one additional path to the
direction of the rush will be significant. An Automated mobile street divider is called by the heavy
traffic. This is conceivable through IOT.
CONTENTS
ACKNOWLEDGEMENT 3
ABSTRACT 4
CONTENTS 5
LIST OF FIGURES 6
LIST OF TABLES 6
CHAPTER 1: INTRODUCTION 8
1.1 AIM OF PROJECT 8
CHAPTER 2: LITERATURE SURVEY 9
CHAPTER 3: EXISTING SYSTEM 10
CHAPTER 4: EXTENDED SYSTEM 13
4.1 Functionality of system 13
CHAPTER 5. BLOCK DIAGRAM 15
CHAPTER 6: HARDWARE DESCRIPTION 16
6.1 I INTRODUCTION 16
6.2 EMBEDDED SYSTEMS 16
6.3 SCHEMATIC DIAGRAM 17
6.4 HARDWARE COMPONENTS 20
6.4.1 ARDUINOUNO 21
6.4.2 POWER SUPPLY 22
6.4.3 IR SENSORS 23
6.5.4 DC MOTOR 24
CHAPTER 7: SOFTWARE DEVELOPMENT 26
7.1 INTRODUCTION 26
7.2 TOOLS USED 26
7.3 STEPS TO IMPLEMENT 27
CHAPTER 8: RESULTS AND ANALYSIS 28
8.1 ADVANTAGES 28
8.2 DISADVANTAGES 28
CHAPTER 9: CONCLUSION 29
REFERENCES 29
SOURCE CODE 30
LIST OF FIGURES

 Fig.2.1 Literature Survey


 Fig.3.1 zipper on Road
 Fig 4.1.1: When traffic is heavy on left side of the road
 Fig 4.1.2: When divider is moved to the right side
 Fig 41.3: When traffic is heavy on right side of the road
 Fig 41.4: When divider is moved to the left side
 Fig.6.1 Zipper machine
 Fig.6.2 Arduino
 Fig.6.4.1 Arduino pin diagram
 Fig.6.4.3.1 IR Sensor
 Fig.6.4.3.2 Circuit diagram of IR Sensor
 Fig.6.5.1 Dc Motor
 Fig.7.3.1 Sample LED BLINK in Proteus
 Fig.8.1.1 Time efficiency
 Fig.8.1.2 Noise

LIST OF TABLES
 Table 6.4.1 Arduino Pin Description
 Table 6.4.2 Arduino Specifications
CHAPTER-1
INTRODUCTION

In recent years, with an ever increasing rate of development in metro cities around the world, there
has been proportional increase in numbers of automobiles on the roads. Although the number of
vehicles using the roads has increased, the static road infrastructure is almost the same and is unable
to cope with changes like congestion, unpredictable travel-time delays and road-accidents that are
taking a serious shape. Traffic congestion has been one of the major concerns faced by the
metropolitan cities today in spite of measures being taken to mitigate and reduce it. It has emerged
as one of the main challenge for developers in urban areas for planning of sustainable cities. In
developing countries, like India, traffic is inherently chaotic and noisy. Identification of magnitude
of traffic congestion is an essential requirement for defining the congestion and finding appropriate
measures. The main focus of this paper is aimed at understanding the recurring urban congestion, its
measurement, precautionary measure and suggests a remedial measure for the same. The
implication of widening existing roads or building new ones will only results in additional traffic
that continues to rise until peak congestion returns to the previous level. The total available space
within the city for the construction of roads, railways and other transportation is restricted. The
paper discusses implementation of movable traffic dividers as congestion release strategy for
metropolitan areas instead of traditional solution of widening the roads. The movable traffic divider
helps in there configuration of road capacity, so as to attain optimum benefit from roadway usage
on the existing road.

1.1 AIM OF THE PROJECT


The main aim of this project is reducing the traffic congestion in our daily life. Road Divider is
generically used for dividing the Road for on-going and incoming traffic. This helps keeping the
flow of traffic; generally there is equal width of lanes for both on-going and incoming traffic. The
problem with Static Road Dividers is that the number of lanes on either side of the road is fixed.
Since the resources are limited and population as well as number of cars per family is increasing,
there is significant increase in number of cars on roads. This calls for better utilization of existing
resources like number of lanes available.
CHAPTER-2
LITERATURE SURVEY

The concept of movable road dividers were from the 80’s ,the reason was that there was traffic
congestion from that period. At that period the machine was called as zipper machine , which is
used to shift the divider from one lane to another lane. It was introduced in earlier 80’s and the first
working model of zipper machine was bought by Hawaii department of transport in late 80’s. The
machine contains a s-shaped inverted conveyor channel which lifts the barrier segment weighing
almost 450kgs.The minimum length of the machine is 100feet.The barrier segment is attached
to the machine and whenever there is traffic congestion the machine will move and along with the
machine the barrier segment that contains the divider also moves resulting in the width of the lanes.
In the proposed model , we are not using a machine and operating it manually
rather operating it automatically by using two dividers namely normal and extended dividers .In this
paper we place the ultrasonic sensor to one side of the road to detect whether there is any traffic
congestion or not, if there is a congestion then the extended divider raises up and normal divider is
set to ground level , else the normal divider is raised up and extended divider is set to ground level .
And if there is a congestion then a message is sent to the nearby traffic control police stating that
traffic congestion has occurred. So this is simple and can replace the heavy machines.

Fig.2.1 Literature Survey


CHAPTER-3
EXISTING SYSTEM
In the existing system for the free flow of traffic heavy machines like zipper machines, barrier
transfer machines are used for the movement of road dividers . Using these machines a whole
stretch of dividers is used to move either left or right based upon the traffic density .

DISADVANTAGE:-
I. Time consuming.
II. It is not flexible.
III. Cannot detect automatically in case of traffic density.
IV. Not efficient.
V. Manual power.

Fig.3.1 zipper on Road


KEYWORDS

 ZIPPERS

Fig.6.1 Zipper machine

Description:-
A barrier transfer machine, also known as zipper machine or road zipper, is a heavy vehicle
used to transfer concrete lane dividers, which are used to relieve traffic congestion during rush
hours. Many other cities use them temporarily during construction work .The lanes created by the
machine are sometimes referred to as "zipper lanes".
The vehicle contains an S-shaped, inverted conveyor channel in its undercarriage which lifts
the barrier segments (which may weigh over 1,000 pounds (450kg)) off the road surface and
transfers them over to the other side of the lane, reallocating traffic lanes to accommodate increased
traffic for the currently dominant direction These barriers are linked together with steel connectors
to create a sturdy but flexible safety barrier. The minimum length for some barrier systems is 100
feet (30m). The length can vary based on application and the amount of barrier needed to effectively
deflect an errant vehicle.
Some barrier systems have four rubber feet on the bottom of each segment “to increase the
coefficient of friction between the barrier element and the road surface”. This helps the barrier resist
vehicle impact and keeps the barrier from moving significantly if struck. Barrier transfer machines
can typically move their barrier segments anywhere between 4 and 24 feet in one pass, usually at a
speed between 5 and 10 miles per hour (7.0 and 16.1km/h). Some models of the machine hold 50
feet of barrier at a time as they are engaged in transferring. The machine can transfer within the
regular traffic flow without hindering other heavy vehicles.
CHAPTER-4
EXTENDED SYSTEM
In this extended proposed system, a module has been developed based on Arduino UNO that
consists of an IR Sensor which is used for measuring the traffic density in this case and two dividers
normal and extended .When the signal turns red , the traffic density is measured and the action
should take place before the signals turns into green . If the traffic density is high then the extended
divider moves and the normal divider will act as a extended divider
Since the traffic density is high a warning message is delivered stating that ‘Alert please
traffic density is high, extended divider is moving' to the nearest traffic control room. If the traffic
density is normal then no type of action is taken and the normal divider is in its casual position . In
this case the traffic density is normal then a message is delivered stating that ‘Traffic density is
normal.,normal divider is in its casual position itself' to the nearest traffic control room.

4.1 Functionality of System

Fig 4.1.1: When traffic is heavy on left side of the road


Fig 4.1.2: When divider is moved to the right side

Fig 4.1.3: when traffic on the right side of the road is high

Fig 41.4: When divider is moved to the left side of the road
CHAPTER-5
BLOCK DIAGRAM

IR

Motor

The block diagram explains about the implementation of “Automatic Traffic Management System
using Zippers”on heavy roads .The IR sensor which is kept at certain reference position on the road
safely ., in order to detect the traffic density flow. When the traffic signal indicator turns on to Red
the IR sensor senses the density flow that if had been crossed the reference position and gives input
to the arduino.
Arduino simulationeously rotates the motor to move the divider from normal position to
extended position of other road with warning message that and caution should be maintained that
the entire process happens until traffic signal indicator turns to green.
CHAPTER-6
HARDWARE DESCRIPTION

6.1 INTRODUCTION
The chapter describes about the hardware components used in this “Automatic Traffic Management
System using Zippers and their connections precisely.

6.2 EMBEDED SYSTEMS


An embedded system is a controller with a dedicated function within a larger mechanical or
electrical system, often with real time computing constraints. It is embedded as part of a complete
device often including hardware and mechanical parts. Embedded systems control many devices in
common use today. 87%of all microprocessors manufactured are used in embedded systems.
Modern embedded systems are often based on microcontrollers ( microprocessors with integrated
memory and peripheral interfaces), but ordinary microprocessors (using external chips for memory
and peripheral interface circuits) are also common, especially in more complex systems. In either
case, the processor(s) used may be types ranging from general purpose to those specialized in
certain class of computations, or even custom designed for the application at hand. A common
standard class of dedicated processors is the DSP. Since the embedded system is dedicated to
specific tasks, design engineers can optimize it to reduce the size and cost of the product and
increase the reliability and performance. Some embedded systems are mass-produced, benefiting
from economic scale.
Embedded systems range from portable devices such as digital watches and MP3 Players
to large stationary installations like Traffic control and large complex systems. Complexity varies
from low, with a single microcontroller chip, to very high with multiple units, peripherals and
networks mounted inside a large equipment rack.
6.3 SCHEMATIC DIAGRAM

Fig.6.3.1 Simulation

6.4 HARDWARE COMPONENTS


6.4.1 ARDUINO UNO
Arduino Uno is a microcontroller board based on 7-bit ATmega327P
microcontroller. Along with ATmega327P, it consists other components such as crystal oscillator,
serial communication, voltage regulator, etc. to support the microcontroller. Arduino Uno has 14
digital input/output pins (out of which 6 can be used as PWM outputs), 6 analog input pins, a USB
connection, A Power barrel jack, an ICSP header and a reset button.
Fig.6.4.1 Arduino pin diagram
Pin Category Pin Name Details

Power Vin, 3.3V, 5V, GND Vin: Input voltage to Arduino when using an external
power source.

5V: Regulated power supply used to power


microcontroller and other components on the board.

3.3V: 3.3V supply generated by on-board voltage


regulator. Maximum current draw is 50mA.

GND: ground pins.

Reset Reset Resets the microcontroller.

Analog Pins A0 – A5 Used to provide analog input in the range of 0-5V

Input/Output Pins Digital Pins Can be used as input or output pins.


0 - 13
Serial 0(Rx), 1(Tx) Used to receive and transmit TTL serial data.

External 2, 3 To trigger an interrupt.


Interrupts

PWM 3, 5, 6, 8, 11 Provides 7-bit PWM output.

SPI 10 (SS), 11 (MOSI), 12 Used for SPI communication.


(MISO) and 13 (SCK)

Inbuilt LED 13 To turn on the inbuilt LED.

TWI A4 (SDA), A5 (SCA) Used for TWI communication.

AREF AREF To provide reference voltage for input voltage.


[Table-6.4.1]

Arduino Uno Technical Specifications

Microcontroller ATMEGA – 7 bit AVR family microcontroller


Operating Voltage 5V
Input Voltage Limits 6-20V

Analog Input Pins 6 (A0 – A5)


Digital I/O Pins 14 (Out of which 6 provide PWM output)
DC Current on I/O Pins 40 mA
DC Current on 3.3V Pin 50 mA
Flash Memory 32 KB (0.5 KB is used for Bootloader)
SRAM 2 KB
EEPROM 1 KB
Frequency (Clock Speed) 16 MHz
[Table-6.4.2]

I. How to use ArduinoBoard


The 14 digital input/output pins can be used as input or output pins by using pinMode(),
digitalRead() and digitalWrite() functions in arduino programming. Each pin operate at 5V and can
provide or receive a maximum of 40mA current, and has an internal pull-up resistor of 20-50
KOhms which are disconnected by default. Out of these 14 pins, some pins have specific functions
as listed below:

• Serial Pins 0 (Rx) and 1 (Tx): Rx and Tx pins are used to receive and transmit TTL serial
data. They are connected with the corresponding ATmega327P USB to TTL serial chip.
• External Interrupt Pins 2 and 3: These pins can be configured to trigger an interrupt on a
low value, a rising or falling edge, or a change in value.
• PWM Pins 3, 5, 6, 8 and 11: These pins provide an 7-bit PWM output by using
analogWrite() function.
• SPI Pins 10 (SS), 11 (MOSI), 12 (MISO) and 13 (SCK): These pins are used for SPI
communication.
• In-built LED Pin 13: This pin is connected with an built-in LED, when pin 13 is HIGH –
LED is on and when pin 13 is LOW, its off.

Along with 14 Digital pins, there are 6 analog input pins, each of which provide 10 bits of
resolution, i.e. 1024 different values. They measure from 0 to 5 volts but this limit can be increased
by using AREF pin with analog Reference() function.

• Analog pin 4 (SDA) and pin 5 (SCA) also used for TWI communication using Wire library.

Arduino Uno has a couple of other pins as explained below:

• AREF: Used to provide reference voltage for analog inputs with analogReference()
function.
• Reset Pin: Making this pin LOW, resets the microcontroller.

II. Communication
Arduino can be used to communicate with a computer, another Arduino board or other
microcontrollers. The ATmega327P microcontroller provides UART TTL (5V) serial
communication which can be done using digital pin 0 (Rx) and digital pin 1 (Tx). An ATmega16U2
on the board channels this serial communication over USB and appears as a virtual com port to
software on the computer. The ATmega16U2 firmware uses the standard USB COM drivers, and no
external driver is needed. However, on Windows, a .inf file is required. The Arduino software
includes a serial monitor which allows simple textual data to be sent to and from the Arduino board.
There are two RX and TX LEDs on the arduinoboard which will flash when data is being
transmitted via the USB to serial chip and USB connection to the computer (not for serial
communication on pins 0 and 1). A Software Serial library allows for serial communication on any
of the Uno's digital pins. The ATmega327P also supports I2C (TWI) and SPI communication. The
Arduino software includes a Wire library to simplify use of the I2C bus.

6.4.2 Power supply


The Arduino Uno board can be powered via the USB connection or with an
external power supply. The power source is selected automatically.
External power can come either from an AC-to-DC adapter (wall-wart) or battery. The adapter can
be connected by plugging a 2.1mm center-positive plug into the board's power jack. Leads from a
battery can be inserted in the GND and Vin pin headers of the POWER connector.

The board can operate on an external supply from 6 to 20 volts. If supplied with less than 6V,
however, the 5V pin may supply less than five volts and the board may become unstable. If using
more than 12V, the voltage regulator may overheat and damage the board. The recommended range
is 6 to 12 volts.

The power pins are as follows:

• Vin. The input voltage to the Arduinoboard when it's using an external power source (as
opposed to 5 volts from the USB connection or other regulated power source). You can
supply voltage through this pin, or, if supplying voltage via the power jack, access it through
this pin.
• 5V.This pin outputs a regulated 5V from the regulator on the board. The board can be
supplied with power either from the DC power jack (6 - 12V), the USB connector (5V), or
the VIN pin of the board (6-12V). Supplying voltage via the 5V or 3.3V pins bypasses the
regulator, and can damage your board. We don't advise it.
• 3V3. A 3.3 volt supply generated by the on-board regulator. Maximum current draw is 50
mA.
• GND. Ground pins.
• IOREF. This pin on the Arduinoboard provides the voltage reference with which the
microcontroller operates. A properly configured shield can read the IOREF pin voltage and
select the appropriate power source or enable voltage translators on the outputs to work with
the 5V or 3.3V.

6.4.3 IR SENSOR
An infrared Sensor is an electronic device, that emits in order to sense some aspects of the
surroundings. An IR sensor can measure the heat of an object as well as detects the motion. These
types of sensors measures only infrared radiation, rather than emitting it that is called as a passive
IR Sensor. Usually in the infrared spectrum, all the objects radiate some form of thermal radiations.
These types of radiations are invisible to our eyes, that can be detected by an infrared sensor. The
emitter is simply an IR LED and the detector is simply an IR photodiode which is sensitive to IR
light of the same wavelength as that emitted by the IR LED. When IR light falls on the photodiode,
The resistances and these output voltages, change in proportion to the magnitude of the IR light
received.

Fig.6.4.3.1 IR Sensor
Fig.6.4.3.2 Circuit diagram of IR sensor

IR Sensor Circuit Diagram and Working Principle


An infrared sensor circuit is one of the basic and popular sensor module in an electronic device.
This sensor is analogous to human’ s visionary senses, which can be used to detect obstacles and it
is one of the common applications in real time.

6.5 DC MOTOR

A DC motor is any of a class of rotary electrical machines that converts direct current electrical
energy into mechanical energy. The most common types rely on the forces produced by magnetic
fields. Nearly all types of DC motors have some internal mechanism, either electromechanical or
electronic, to periodically change the direction of current flow in part of the motor.

Fig.6.5.1 DC motor
DC motors were the first form of motor widely used, as they could be powered from existing direct-
current lighting power distribution systems. A DC motor's speed can be controlled over a wide
range, using either a variable supply voltage or by changing the strength of current in its field
windings. Small DC motors are used in tools, toys, and appliances. The universal motor can
operate on direct current but is a lightweight brushed motor used for portable power tools and
appliances. Larger DC motors are currently used in propulsion of electric vehicles, elevator and
hoists, and in drives for steel rolling mills. The advent of power electronics has made replacement
of DC motors with AC motors possible in many applications.
CHAPTER-7

SOFTWARE DEVELOPMENT

7.1 Introduction
Embeded system is collectively called to be the combination of both hardware & software. This
chapter includes the software kit ,steps and procedure to implement Automatic Traffic Management
System.

7.2 Tools Used


I. Proteus suite 7.6

The Proteus Design Suite is a proprietary software tool suite used primarily
for electronic design automation. The software is used mainly by electronic design enginers and
technicians to create schematic and electronic prints for manufacturing printed circuit boards

It was developed in Yorkshire, England by Labcenter Electronics Ltd and is available in English,
French, Spanish

Languages.

II. Arduino IDE

The open-source Arduino Software (IDE) makes it easy to write code and
upload it to the board. It runs on Windows, Mac OS X, and Linux. The environment is written in
Java and based on Processing and other open-source software. This software can be used with any
Arduino board.
7.3 STEPS TO IMPLEMENT
Proteus is the software where we run our simulation.
1. First make sure that you have Proteus installed in your operating system. If not, then
download and install Proteus.
2. After run the Proteus software, If you don't find arduino in the library. Then, there is a .rar
file download it and copy/cut the file.
3. After that paste it into the Proteus library.In my case the location of the Proteus library is, C
drive>Program Files>Labcenter Electronics>Proteus 6 Professional>LIBRARY .After that you will
find arduino in your library.
4. Run the Proteus and draw the circuit like the picture. You can directly connect Led with pin
5. But it is a good practice to add a 220 ohm resistor with led in series. Resistor limits the
current flow.
6. Double click on arduino and paste the .hex file in "Program File:".
6. Run the simulation by clicking "Run the simulation" button. LED is Blinking if everything
is okay. Congratulation!!!!

Fig.7.3.1 Sample LED BLINK in Proteus


CHAPTER-8
RESULTS & ANALYSIS
8.1ADVANTAGES

➢ Reduces Traffic intensity

➢ Avoids Traffic Congestion

➢ By movable road dividers(Zippers) which are made up of light weight .,limits gentle
accidents

➢ Time efficiency increases


Fig.8.1.1 Time efficiency

➢ Safe Home & Safe Drive

➢ Punctuality

➢ NO Noise pollution
Fig.8.1.2 Noise

8.2 DISDAVANTAGE

* If warning signal is not given at exact time, it would result in heavy traffic congestion.

* Should be careful while dividers are moving or else ,dangerous threat would taken place.
CHAPTER-9
CONCLUSION

The proposed structure helps to reduce the chances of traffic jams and to provide clearance of road
for the emergency vehicles to an extent. In these proposed work we are aimed to clear the traffic in
accordance to priority. The road with best priority (with very high traffic level) is cleared first. The
proposed system mainly focuses on the motor cars. Based on these parameters and according to
time periods the proposed system works in the traffic congestion.

References

[1] Movable Traffic Divider: A Congestion Release Strategy (2016), vol-5,issue 1.


[2] Chaudry, A. G. (2012). Evolution Of Transportation System In Dubai. National Industries
Quarterly Vol-14.
[3] Indian Road Congress “Manual For Specifications And Standards For Lanes On Highways”;
Irc: Sp: 74; 2014.
[4] Mcgm Mumbai city Development Plan 2005.
[5]Basic Electronics By: GROB.
[6]Electronic Circuit guide book – Sensors – By JOSEPH J.CARR.
SOURCE CODE

/*PROJECT-Automatic Traffic Management System [14/11/2018@G.NEELIMA,ECE,E4 ]


* It manages the road divider. In case of heavy traffic the Ir sensor gives input high
to arduino(IOT supported Device).
* Then traffic light warns red signal to "stop" the vehicles simultaneously, the "normal
divider" made of light weight attached with DC motor
* rotates anticlockwise to level the divider down equal to road and ,the "extended divider"
rotates clockwise to level up which would act as a barrier
* for dividing the road into ongoing lane and oncoming lane. By,this extended divider the
static road can utilized properly to control traffic flow.
* In normal cases,the motors would be OFF condition and traffic light would be warning
Green to "GO"
*/
void setup() {
// put your setup code here, to run once:
pinMode(13,INPUT); //IR_Sensor
pinMode(8,OUTPUT); //clockwise Motor1_pin1
pinMode(10,OUTPUT); //clockwise Motor1_pin2
pinMode(3,OUTPUT); //anticlockwise Motor2_pin1
pinMode(4,OUTPUT); //anticlockwise Motor2_pin2
pinMode(0,OUTPUT); //traffic_light_Green
pinMode(1,OUTPUT); //traffic_light_Yellow
pinMode(2,OUTPUT); //traffic_light_Red
}

void loop() {
// put your main code here, to run repeatedly:
if(digitalRead(13)==1) //IR sensor is high
{
digitalWrite(8,HIGH); //rotates_clockwise Motor1_pin1
digitalWrite(10,LOW); //rotates_clockwise Motor1_pin2
digitalWrite(3,LOW); //rotates_anticlockwise Motor2_pin1
digitalWrite(4,HIGH); //rotates_anticlockwise Motor2_pin2
digitalWrite(2,HIGH); //traffic_light_Red_ON
digitalWrite(0,LOW); //traffic_light_Green_OFF
delay(10);
}
else
{
digitalWrite(8,LOW); //stops rotation_clockwise Motor1_pin1
digitalWrite(10,LOW); //stops rotation_clockwise Motor1_pin2
digitalWrite(3,LOW); //stops rotation_anticlockwise Motor2_pin1
digitalWrite(4,LOW); //stops rotation_anticlockwise Motor2_pin2
digitalWrite(0,HIGH); //traffic_light_Green_ON
digitalWrite(2,LOW); //traffic_light_Red_OFF
delay(10);
}
}

You might also like