Professional Documents
Culture Documents
Traffic Control
Traffic Control
CHAPTER ONE
INTRODUCTION
1.1 Background
The idea of traffic light microcontroller circuit and programming of the PIC is an adaptation
from conventional traffic light controller system. All the concept and idea from the reference are
combined to get the idea of automatically traffic light controller using PIC. The sensor are used
each side road to detect the number of vehicle. The witting time of green light and red light is
decided by microcontroller based on the number of vehicles detected by sensors. A traffic light is
a device that is designed to control the flow of traffic by using three colours of lights. These
lights are mainly green, yellow, and red.
Traffic congestion is a severe problem in many modern cities around the world. Traffic
congestion has been causing many critical problems and challenges in the major and most
populated cities. To travel to different places within the city is becoming more difficult for the
travellers in traffic. Due to these congestion problems, people lose time, miss opportunities, and
get frustrated. Traffic congestion directly impacts the companies. Due to traffic congestions there
is a loss in productivity from workers, trade opportunities are lost, delivery gets delayed, and
thereby the costs goes on increasing.
To solve these congestion problems, we have to build new facilities & infrastructure but at the
same time make it smart. The only disadvantage of making new roads on facilities is that it
makes the surroundings more congested. So for that reason we need to change the system rather
than making new infrastructure twice. Therefore many countries are working to manage their
existing transportation systems to improve mobility, safety and traffic flows in order to reduce
the demand of vehicle use.
The project uses simple Electronic components such as LED as Traffic Light indicator and a
Microcontroller for auto change of signal after a pre-specified time interval.
Microcontroller PIC16F877A is the brain of the project which initiates the traffic signal at a
junction. The LEDs are automatically on and off by making the corresponding port pin of the
micro controller high. A seven segment display also connected to display the timing of each
signal. At a particular instant only one green light holds and other lights hold at red. During
transition from green to red, the present group yellow led and succeeding group yellow led glows
and then succeeding group led changes to green. This process continues as a cycle.
In our research we focus on optimization of traffic light controller in a city using IR sensor
and developed visual monitoring using microcontroller PIC16F877A.roadwork and accidents
further influence complexity and performance. In this paper, we propose two approaches, the
first approach to take data/input from object or vehicle with using IR sensor and in the second
approach to process the input data by Microcontroller and finally display it on the traffic light
signal to control the Closed Loop System.
1.2 Brief description
The project uses simple electronic components such as LED as Traffic Light indicator, a seven
segment display, Infra-red (IR) sensor and a Microcontroller for auto change of signal after a
pre-specified time interval. Figure shows the drawing of the 4-way junction, where each way
has its traffic light and counter.
uses the programmable logic controller (PLC). The problem of PLC is the cost of the controller
set is expensive. It’s make the traffic light at one intersection become expensive. Besides, the
PLC system needs other component for example, CPU, and I/O card, to support the system. PLC
also needs the 24VDC to operate and it makes the electricity cost become expensive.
1.4 Objective
1.4.1 General objective
The general objective of this project is to design traffic light controller using microcontroller to
control the flow of traffic at the intersection.
1.4.2 Specific Objective
To know how micro controller unit is implemented to design traffic light
controller with other elements.
To design how traffic light control is operated.
To design how seven segments displayed is implemented for traffic light
controller.
To design timing of the signal clock.
1.5 Significance of the study
To build a circuit to facilitate the movement of traffic in a 4-way lane system
To reduce the waiting time
Study the problem of Conventional traffic system
Develop the programmed of traffic light microcontroller using PIC basic pro
Implement the circuit on design on circuit board or system on a model of a traffic light.
Solve the conventional traffic light congesting problem
Reduce traffic light controller cost
1.6 Scope and limitation of the project
The scopes of project study are:-
Designing the traffic light controller circuit and programming of the PIC 16F designing
Construct a model of four way junction of a traffic light model
Solving the congestion at the side roads
Sensors are implemented in the side road to detect how many vehicles are their
Combine the software part and the hardware part to simulate a traffic light system
Limitation of the project are:-
1.7 Methodology
We have used different methodologies in order to achieve the objectives of this project. The
methodology used in this system is the fundamental and decisive part to design traffic light
system. This involves in under taking comprehensive study from the information gathered and
reference materials. The methodology in this system basically consists of data collections and
Analysis methods.
• Data collection:-it is an important aspect of any type of project. First we obtain the
necessary information and data about the existing traffic light from traffic police at
KETENA Street then we make the information to go with what we are learnt. Even
though our project can applicable in everywhere at the street intersection we focused
on one of the place found in HARAR town which is one of the places with dense
vehicles KETENA. At the place as we have discussed with some police traffic, car
owner and commuter, they confirm that as there are many problems that caused due to
traffic cognition like; loss of life, becoming injury, destruction of resource and also
spending unnecessary time on the road that must be applicable for other considerable
job.
• Analysis method:-The new designed traffic light system is analysed by using
Proteus and micro C software, in such manner, Proteus is for circuit analysis and
micro C is for programming the circuit in C language.
And also this project is supported by:
1. Theoretical analysis
2. Advisor suggestion
3. Materials like:-
voltage regulator(IC 7805)
microcontroller unit
Decoder (74LS47)
Crystal oscillator
Berg connector
Resistor
infra-Red (IR) sensors
Capacitor
Power supply
LED’s etc.
Transistor
4. Proteus simulation
CHAPTER TWO
1. LITERATURE REVIEW
This chapter will discuss literature review of this project. The content of literature review is one
of the important steps to gather information about the project. Literature review will explore the
basic history and evolution of traffic light system, microcontroller review especially PIC
16F877A and PIC programming that is used in this project.
2.1 The traffic light system
Traffic light system consists of two parts. First part is traffic light the second part is controller
unit. Traffic light is used to control traffic flow at the busy intersection.
2.1.1 Traffic light objectives
Save and efficient traffic flow
Assign right of way to maximize delay and reduce conflict.
2.1.2 Advantages of traffic light
Provide orderly movement of traffic
Minimize conflicting movement.
Increase traffic handling capacity
Mean of interrupting heavy traffic.
Coordinated for continuous movement.
Provide driver confidence by assigning the right ways.
2.1.3Traffic light history
Ever since Roman times, society has tried to control traffic. Even the fabled Roman road system
created a conflict between pedestrian and equine travellers. However, a practical solution was
not developed until the mid-nineteenth century, when J. P. Knight, a railway signalling engineer,
created the first traffic signal, which was installed near Westminster Abbey in London, England
in 1868. Unfortunately, the device exploded, killing a police officer, and its use was discontinued
after being in operation for only a short time. The modern traffic light was invented in America.
New York had a three colour system in 1918 that was operated manually from a tower in the
middle of the street. Other cities soon adopted the idea of having someone on the scene to control
the lights. Garrett Morgan, inventor of the gas mask, also developed traffic signalling devices.
Having witnessed an accident between a car and a carriage, Morgan felt compelled to devise a
system to prevent such collisions at street intersections. In 1923 he patented an electric traffic
light system using a pole with a cross section on which the words STOP and GO were
illuminated. These basic designs were soon improved. In 1926 the first automatic signals were
installed in London; they depended on a timer to activate them. In the 1930s vehicle activated
lights were created in which cars rolled over half-buried rubber tubes. Air in the tubes was
displaced by the weight of the car rolling over them, and the increased pressure operated an
electric contact, activating the lights. But these tubes wore out quickly. A better idea was the
inductive-loop device: a loop of wire was imbedded in the road itself and connected to a box
controlling the lights; a current of electricity passed through the loop, and when the steel body of
a car passed overhead, it produced a signal that activated the light. Today, traffic is automatically
routed onto limited access highways courtesy of a computer activated guidance system that
determines traffic volume on the highway. Global positioning satellite systems (GPS) are
installed in many cars. These systems connect with a satellite and inform drivers where they are
and possible routes to their destination. Such systems will eventually enable a drive to determine
the best route to a destination given prevailing traffic conditions.
2.2 PIC Microcontrollers
The term PIC stands for Peripheral Interface Controller .It is the brain child of Microchip
Technology, USA. Originally this was developed as a supporting device for PDP computers to
control its peripheral devices, and therefore named as PIC, Peripheral Interface Controller. They
have coined this name to identify their single chip micro controllers. These 8-bit micro
controllers have become very important now a day in industrial automation and embedded
applications etc.
2.2.1 Overview and Features
The PIC 16F8XX Microcontrollers are basically RISC microcontrollers with very small
instruction set of only 35 instructions and a two-stage pipeline concept fetch and
execution of instructions. As a result, all instructions execute in a single cycle except for
program branches.
PIC 16F877A is a 40-pin 8-Bit CMOS FLASH Microcontroller. The core architecture is
high-performance RISC CPU. Since it follows the RISC architecture, all single cycle
instructions take only one instruction cycle except for program branches which take two
cycles.
16F877A comes with 3 operating speeds with 4, 8, or 20 MHz clock input. Since each
instruction cycle takes four operating clock cycles, each instruction takes 0.2 μs when
20MHz oscillator is used.
It has two types of internal memories .One is program memory and the other is data
memory. Program memory is provided by 8K words (or 8K*14 bits) of FLASH Memory,
and data memory has two sources. One type of data memory is a 368-byte RAM (random
access memory) and the other is256-byte EEPROM (Electrically erasable programmable
ROM).
The core features include interrupt up to 14 sources,
power saving SLEEP mode,
A single 5V supply and In-Circuit Serial Programming (ICSP) capability.
2.2.2 Architecture of PIC 16F877A
PORT D: Port D is an 8-bit wide bi-directional port. In addition to I/O port, Port D also
works as 8-bit parallel slave port or microprocessor port. When control bit PSPMODE
(TRISE: 4) is set.
PORT E: It is a 3-bit bi-directional port. Port E bits are multiplexed with analog inputs of
ADC and they serve as control signals (RD, WR and CS) for parallel slave port mode of
operation.
Addressing Modes
The PIC microcontrollers support only TWO addressing modes .They are,
(i) Direct Addressing Mode
(ii) Indirect Addressing mode Direct Addressing Mode In direct addressing mode 7 bits
(0-6) of the instruction identify the register file address and the 8th bit of the register
file address register bank select bit (RP0).
Instruction Set
The instruction set of PIC is divided into three basic categories. They are:
(a) Byte oriented Instructions
(b) Bit oriented Instructions
(c) Literal and Control Instructions
Classification of Instructions
(i) Arithmetic Operations
(ii) Logical Instructions
(iii) Increment/Decrement Instructions
(iv) (iv) Data Transfer instructions
(v) Clear Instructions
(vi) Rotate Instructions
(vii) Branch Instructions
PIC I/O Programming (Programming the Ports)
The PIC 16F family of microcontrollers has a total of 33 pins arranged into 5 ports. Port A, Port
B, Port C, Port D and Port E. In order to use them as I/O ports, they must be properly
programmed. In addition to acting as I/O ports, they also have certain additional functions like
ADC, Timers, Interrupts and serial communication pins etc.
Limitations
The PIC architectures have these limitations:
o One accumulation
o Register-bank switching is required to access the entire RAM of many devices
o Operations and registers are not orthogonal; some instructions can address RAM
and/or immediate constants, while others can only use the accumulator Stack
limitations:
o The hardware call stack is not addressable, so pre-emptive task, switching cannot
be implemented.
o Software-implemented stacks are not efficient, so it is difficult to generate re-
entrant code and support local variables
CHAPTER THREE
DESIGN HARDWARE AND SOFTWARE DEVELOPMENT
In this chapter we will discuss about all the design and implementation of the traffic light control
using microcontroller.
Numerous hardware development tools are available for the PIC16 microcontrollers. Some of
these products are manufactured by Microchip Inc., and some by third-party companies. The
most ones are:
Development boards
Device programmers
In-circuit debuggers
In-circuit emulators
Breadboards
3.1 Hardware component
3.1.1Voltage regulator (IC 7805)
3.1.3 Resistor
A resistor is a passive two-terminal electrical component that implements electrical resistance as
a circuit element. In this circuit 330 ohm and 10 k ohm resisters are used.
3.1.6 Oscillator
An electronic oscillator is an electronic circuit that produces a repetitive, oscillating electronic
signal, often a sine wave or a square wave. Oscillators convert direct current (DC) from a power
supply to an alternating current signal. This circuit uses a 2 MHz oscillator.
essentially a computer on a chip; however, it still needs input and output devices, such as a
keypad and display, to form a working system.
The range of microcontrollers now available developed because the features of the MCU used in
any particular circuit must be as closely matched as possible to the actual needs of the
application. Some of the main features to consider are
• Number of inputs and outputs.
• Program memory size.
• Data RAM size.
• Non-volatile data memory.
• Maximum clock speed.
• Range of interfaces.
• Cost and availability.
The PIC16F877A is useful as a reference device because it has a minimal instruction set but a
full range of peripheral features. PIC16F877 is a 40-pin 8-Bit CMOS FLASH Microcontroller
from Microchip. PIC16F877A comes with 3 operating speeds with 4, 8, or 20 MHz clock input.
It has two types of internal memories: program memory and data memory. Program memory is
provided by 8K words (or 8K*14 bits) of FLASH Memory, and data memory has two sources.
One type of data memory is a 368-byte RAM (random access memory) and the other is256-byte
EEPROM (Electrically erasable programmable ROM).
The core feature includes interrupt capability up to 14 sources, power saving SLEEP mode, and
single 5V In-Circuit Serial Programming (ICSP) capability. The sink/source current, which
indicates a driving power from I/O port, is high with 25mA. Power consumption is less than
2mA in 5V operating condition.
Basic digital input and output (I/O) in the microcontroller uses a bidirectional port pin. The
default pin configuration is generally digital input, as this is the safest option if some error has
been made in the external connections. To set the pin as output, the corresponding data direction
bit must be cleared in the port data direction register (e.g., TRISD).
For input, the current driver output is disabled by loading the data direction bit with a 1, which
switches off the tristate gate. Data are read into the input data latch from the outside world when
its control line is pulsed by the CPU in the course of a port register read instruction. The data are
then copied to the CPU working register for processing. When the port is set up for output, a 0 is
loaded into the data direction bit, enabling the current output. The output data are loaded into the
data latch from the CPU. A data 1 at the output allows the current driver to source up to 25 mA
at 5 V. A data 0 allows the pin to sink a similar current at 0 V.
3.1.9 Infra-Red (IR) Sensors
Basically the quantities to be measured are Non-Electrical quantities such as temperature,
pressure, displacement, humidity, fluid flow, speed etc., but these quantities cannot measure
directly. Here we had been used the Infra-Red sensor. It is used to count the vehicles. If the
vehicle cut the signal between the transmitter and receiver, the sensor send signal to the
microcontroller.
Figure 3.11 - Decoder (74LS47) (a) connection diagram (b) pin description
independent of the current drawn from the source. These circuits are special class of feedback
amplifiers. All the benefits of 'ICs' are thus obtained: excellent performance, small size, ease of
use, low cost, high and reliability. An unregulated power supply has many disadvantages due to
which it is not sufficient for many applications;
• Poor regulation,
As we have seen in the above topic, the traffic light control using microcontroller needs to design
and implementing properly.
The first thing to design the project is starting the flow chart is shown in figure (1.6). The
concept of the project is clearly seen in the flow chart. Let as discuss about the steps clearly.
The voltage regulator takes the voltage at a range of 7 to 35 volt. But we have to give
12V as average volt and also the regulator take the ground. It is known that the output
voltage is +5V. Then this volt is applied for all pins that have need the supply voltage,
like decoder, M.C, 7-segment …
From the microcontroller all of PORTA pins are interrupted. So it has to connect to the
sensor.
PORTD is connected to the decoders. It is used to show how many seconds green light is
glow. Already the microcontroller counts HEXA decimal. The decoder is converted to
seven segments.
PORTB and PORTC have connected to the LED through the 330 ohm resistors.
The LED gets the supply voltage from the transistor. The transistor gets the power to
generate by its base pin from the microcontroller of PORTE. Then it will be generate.
Pins 13 & 14 of the PIC are connected to the Oscillator circuit and Crystal which
consisting of 8MHz crystal connected to two 22 pFcapacitors. The oscillator circuit has
been used to provide a microcontroller with a clock, so that the microcontroller can
execute a program.
3.3.1 Design Calculation
Since our project is to count the number of vehicles and vary the seconds to glow the green light.
So between the traffic light and the sensor that send the signal data must have some distance. We
can adjust the limit of the number of the vehicles by adjusting the distance.
Before that what is the length of the vehicle?
There are many vehicles that are different by size (length). In Harar town, we can separate the
vehicles depending on their length, in to three parts.
The minimum length of the vehicles, about 1.5 meters and near to this.
The middle length of the vehicles, about 3 meters and near to this.
The maximum length of the vehicle, about 7 meters and near to this.
From the data’s 40% of the vehicles is minimum length. 50% of those are middle, and also 10%
is large.So we can calculate first the average length of the vehicles.
Figure 3.20 – Design and simulation of traffic light control using microcontroller
Coding
Finally the Proteus design has needed the source code. So, the final code is shown below.
int i,a;
char portbdata,portbpriv;
void sensor(char input)
{
}
void interrupt(void)
{
portbdata=portb;
a=!a;
if(a)
sensor(portbdata);
INTCON.RBIF=0;
}
void main()
Haramaya university institute of technology, HRUiT Page 30
Semester project Design and simulation of traffic light control using microcontroller
{
char i,b,temp;
char
dat[]={0x40,0x39,0x38,0x37,0x36,0x35,0x34,0x33,0x32,0x31,0x30,0x29,0x28,0x27,0x26,0x25,
0x24,0x23,0x22,0x21,0x20,0x19,0x18,0x17,0x16,0x15,0x14,0x13,0x12,0x11,0x10,0x09,0x08,0
x07,0x06,0x05,0x04,0x03,0x02,0x01,0x00};
INTCON.GIE=1;
INTCON.RBIE=1;
INTCON.RBIF=0;
TRISA=0X01;
TRISB=0X00;
TRISC=0X00;
TRISD=0X00;
while(1)
{
a=0x50;
PORTB=0x1c;
PORTD=0x11;
for(i=0;i<=14;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTB=0x14;
PORTC=0x11;
for(i=14;i<=49;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTD=0x00;
PORTB=0x12;
a=0x05;
for(i=0;i<=4;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
a=0x50;
PORTB=0xc1;
PORTC=0x11;
for(i=0;i<=14;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTB=0x41;
PORTC=0x11;
for(i=14;i<=49;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTD=0x00;
PORTB=0x21;
a=0x05;
for(i=0;i<=4;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
a=0x50;
PORTB=0x11;
PORTC=0x1c;
for(i=0;i<=14;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTB=0x11;
PORTC=0x14;
for(i=14;i<=49;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTD=0x00;
PORTC=0x12;
a=0x05;
for(i=0;i<=4;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
a=0x50;
PORTB=0x11;
PORTC=0xc1;
for(i=0;i<=14;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTC=0x41;
PORTB=0x11;
for(i=14;i<=49;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
PORTD=0x00;
PORTC=0x21;
a=0x05;
for(i=0;i<=4;i++)
{
PORTD=a;
a=a--;
delay_ms(100);
if(a==0x2F||a==0x1F||a==0x0F||a==0x3F||a==0x4F)
{
a=a-6;
}
}
}
}
CHAPTER FOUR
2. RESULTS AND DISCUSSIONS
4.1 Results
The results are obtained from a specially made prototype shown in Figure 3.17. And they are
compared to that of standard versions of traffic light operations. Such basic systems usually have
predefined timing values. Here the results show that there is an improvement of approximately in
overall performance as compared to the conventional traffic controller.
Results include the successful operation of the Dynamic traffic light control. The IR sensor with
IR transmitter is placed at a gap. Gap acting as a prototype indicating a road. The system is
placed near to the side road as a standalone device. Whenever any obstacle like vehicle passes
between IR transmitter and IR sensor, microcontroller detects and increase number of vehicle
count in a recording interval for particular traffic light. IR sensors are placed at a distance about
40m so that the delay time of green and red light decision taken by microcontroller based on IR
sensors.
4.2 Discussions
This project can be enhanced in such a way as to automatically control the signals depending on
the traffic density on the roads using sensors like IR detector/receiver module extended with
automatic turn off when no vehicles are running on any side of the road which helps in power
consumption saving. The timing of green and red light at each crossing of road will be decided
by microcontroller based on the number of vehicles.
CHAPTER FIVE
CONCLUSION AND RECOMMENDATION
5.1 Conclusion
In conclusion, this paper has successfully demonstrated an improved traffic controller and also we
have studied the optimization of traffic light controller using IR sensors and microcontroller.
Figure1 shows four ways traffic light model Figure2 shows the basic block diagram of the
system and figure4 shows the complete circuit diagram of microcontroller board. By using this
system configuration we tries to reduce the possibilities of traffic jams or congestion, caused by
traffic lights, to an extent and we have successfully gets the results. The witting time of green
light and red light decided basis of vehicle counts microcontroller based on the number of
vehicles detected by IR sensors.
The improvement of town traffic condition is largely dependent on the modern ways of traffic
management and control. Advanced traffic signal controllers and control system contribute to the
improvement of the traffic problem. The Dynamic traffic light controller is introduced in this
project with powerful functions and hardware interface. This project has two major phases. The
first stage is to design a program, which consists of reading, research, planning and designing a
program. Microcontroller Assembly Language was chosen to write a program code for
simulation only to get a timing diagram. After that, second phase is to continue with the
hardware implementation using the embedded system and the interface light is using LED. It is
observed that the proposed Dynamic Traffic Light Controller is more efficient than the
conventional controller in respect of less waiting time. Moreover, the designed system has
simple architecture, fast response time, user friendliness and scope for further expansion.
5.2 RECOMMENDATIONS
Basically, during at the project of our project there are a lot of things that we would have to
recommend.
Recommendation for everybody who want to modify this system
Every good engineering design has limitation; the limitation of the developed system could be
improved upon by incorporating a density based traffic light controller into the developed
system. This will add a lot of functionality such as monitoring traffic flow depending on the
presence of the vehicle at each side, that save time and energy that loosed without any purpose
during the journey. For future work, the system can also be linked to a database to keep track of
the traffic information using camera to control innocent vehicle crossing traffic light junction
during red light is glow and sending massage to traffic police by using GSM which is beneficial
for security purposes, pedestrian traffic management and air traffic control.
Recommendation for the Department
We recommend to the department that, it is better to successfully design any project if there is a
budget that is spends to buy some necessary materials that used for the student to implement
practically.
REEFERANCE
[1.] A. Albagul, M. Hrairi, Wahyudi and M. F. Hidayathullah, “Design and Development of
Sensor Based Traffic Light System”, American Journal of Applied Sciences, Vol. 3, No. 3,
pp. 1745-1749, 2006.
[2.] John B.Peatman, “PIC Microcontroller design”, 1st edition: Pearsons Education; 1997
[3.] Muhammad Ali Mazidi,“ PIC Microcontroller and Embedded systems”, 3rd edition:Pearsons
Education; 2007
[4.] Iovine John- PIC Microcontroller Project Book, 2nd Edition, Singapore: McGraw Hill 121-
123; 2000. Nd
[5.] Lawrence A. Duarte- The Microcontroller Beginner’s Handbook, 2 Edition, United States of
America: Prompt Publication. 3-5; 1998.
[6.] S. Rajeswari, “Design of Sophisticated Traffic Light Control System”, Middle-East
Journal of Scientific Research, Vol. 12, No 19, pp. 1647-1652, 2014.
[7.] PIC16F877A, 8 bit PIC microcontroller, http://www.microchip.com
[8.] http://robotaaly.blogspot.in/2013/02/traffic-light-control-system.html
Appendix 1
Table 2 key features
Table 4