SlideShare a Scribd company logo
1 of 17
A MINOR PROJECT ON
TRAFFIC LIGHT
CONTROLLER

Based on AT89C51 Microcontroller

Presented By:
Ramkrishna Mishra (5910428)
HISTORY OF TRAFFIC
LIGHT were invented by J
The world's very first traffic lights
P Knight installed near London's House of Commons,
which was on the intersection of George and Bridge
Street, in 1868.
In

1914 The American Traffic Signal Company
installed red and green traffic lights on every corner
of the intersection of 105th Street and Euclid Avenue
in Cleveland, Ohio.

First

traffic lights were all controlled by either timing,
or manually switched
RED
Come

to complete stop at stop line or before crosswalk
or intersection.
After stopping, you may turn right on red
at most intersections if the way is clear.
Some school districts have local policies that prohibit
right turns on red by bus operators.
Some intersections display “NO TURN ON RED,”
which you must obey.
YELLOW
Stop
The

if you can do so safely.

light will soon be red.

GREEN
Go,
If

but only if intersection is clear.

turning left, wait for gap in oncoming traffic to
complete turn.
Few things about AT89C51
 It has four Ports:
Port 0
Port 1
Port 2
Port 3
These Four ports works as Input port as
well as output port.
ABSTRACT
The function of traffic lights is to provide
sophisticated control and coordination to
ensure that traffic moves as smoothly and
safely as possible.
FEATURES OF TRAFFIC LIGHT CONTROLLER
controller assumes

equal traffic density on

all the roads.
The

free left turn condition is provided
throughout the entire signal period.

The

control can also be exercised manual
when desired.
INTRODUCTION
•

This project uses a LED light as an indicator.

•

A microcontroller for auto change signal after a
specific time interval.

•

The LEDs are automatically on and off by
making the corresponding port pin of the micro
controller high.
COMPONEN
TS
AT89C51 Microcontroller
Capacitor (30pF x2,10µF)
Resistor (8.2KΩ)
Crystal oscillator (11.0592MHz)
LED

light (Red, Green, Blue)

PCB
Power supply
BLOCK DIAGRAM
CIRCUIT DIAGRAM
WORKIN
G
 The

pins of the various input output ports of the

microcontroller are connected directly to the
given LEDs.
 The

8051 is programmed in a manner that the

respective LEDs glow by setting the required bit
using assembly language and a certain amount
of delay is provided depending on the user.
PROGRAM
#include<reg51.h>
sbit RE = P0^0;
sbit YE = P0^1;
sbit GE = P0^2;
sbit RW = P0^3;
sbit YW = P0^4;
sbit GW = P0^5;
sbit RN = P0^6;
sbit YN = P0^7;

sbit GN = P2^0;
sbit RS = P2^1;
sbit YS = P2^2;
sbit GS = P2^3;
void Delay(void)
{
unsigned int j;//,i;
////for(i=0;i<200;i++)
for(j=0;j<700;j++);
}
void SuperDelay()
{
unsigned int i;
for (i=0;i<25;i++);
Delay();
}

void main()
{
while (1)
{
RE=0; GE=1; YE=0;
RW=1; GW=0; YW=0;
RN=1; GN=0; YN=0;
RS=1; GS=0; YS=0;
SuperDelay();

GE=0; YE=1;
Delay();
RE=1; GE=0; YE=0;
RW=0; GW=1; YW=0;
RN=1; GN=0; YN=0;
RS=1; GS=0; YS=0;
SuperDelay();
GW=0; YW=1;
Delay();
RE=1; GE=0; YE=0;
RW=1; GW=0; YW=0;
RN=0; GN=1; YN=0;
RS=1; GS=0; YS=0;
SuperDelay();
GN=0; YN=1;
Delay();
RE=1; GE=0; YE=0;
RW=1; GW=0; YW=0;
RN=1; GN=0; YN=0;
RS=0; GS=1; YS=0;
SuperDelay();
GS=0; YS=1;
Delay();
}
}
MOTIVATION
The

project finds high practical and
widespread use.

It

is a very primitive application of
the microcontroller.

Easy

and convenient to be built for
a beginner as the coding comprises
of basic instructions.
SCOP
E
This project can be enhanced in such a way
as to control automatically 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.
Traffic light controller

More Related Content

What's hot

Automatic railway gate control
Automatic railway gate controlAutomatic railway gate control
Automatic railway gate controlMohamed Magdy
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projecthemanth prudhvi jidugu
 
Automated Traffic Light control using 8051 microcontroller
Automated Traffic Light control using 8051 microcontrollerAutomated Traffic Light control using 8051 microcontroller
Automated Traffic Light control using 8051 microcontrollerVijayMaheshwari12
 
Pulse width modulation (PWM)
Pulse width modulation (PWM)Pulse width modulation (PWM)
Pulse width modulation (PWM)amar pandey
 
Line follower robot
Line follower robotLine follower robot
Line follower robotPriya Hada
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduinoAhmed Sakr
 
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPT
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPTAUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPT
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPTrishav164
 
Traffic light control using atmega16 ppt
Traffic light control using atmega16 pptTraffic light control using atmega16 ppt
Traffic light control using atmega16 pptSHIVA KUMAR
 
Simple water level indicator1
Simple water level indicator1Simple water level indicator1
Simple water level indicator1UdayKumar937
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMJOLLUSUDARSHANREDDY
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.mmnbaig
 
Digital Electronics Question Bank
Digital Electronics Question BankDigital Electronics Question Bank
Digital Electronics Question BankMathankumar S
 
Density based traffic signal control using microcontroller
Density based traffic signal control using microcontrollerDensity based traffic signal control using microcontroller
Density based traffic signal control using microcontrollerkrity kumari
 
Automatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with ArduinoAutomatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with ArduinoMisbah Ahmad Chowdhury Fahim
 
traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555Naveen Rao
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportChinaraja Baratam
 
IRJET- Automatic Water Level Indicator and Controller by using ARDUINO
IRJET- Automatic Water Level Indicator and Controller by using ARDUINOIRJET- Automatic Water Level Indicator and Controller by using ARDUINO
IRJET- Automatic Water Level Indicator and Controller by using ARDUINOIRJET Journal
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 

What's hot (20)

Automatic railway gate control
Automatic railway gate controlAutomatic railway gate control
Automatic railway gate control
 
Alcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking projectAlcohol sensing alert with engine locking project
Alcohol sensing alert with engine locking project
 
Automated Traffic Light control using 8051 microcontroller
Automated Traffic Light control using 8051 microcontrollerAutomated Traffic Light control using 8051 microcontroller
Automated Traffic Light control using 8051 microcontroller
 
Pulse width modulation (PWM)
Pulse width modulation (PWM)Pulse width modulation (PWM)
Pulse width modulation (PWM)
 
Line follower robot
Line follower robotLine follower robot
Line follower robot
 
Introduction to arduino
Introduction to arduinoIntroduction to arduino
Introduction to arduino
 
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPT
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPTAUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPT
AUTOMATIC PLANT WATERING SYSTEM USING ARDUINO BASED PPT
 
Traffic light control using atmega16 ppt
Traffic light control using atmega16 pptTraffic light control using atmega16 ppt
Traffic light control using atmega16 ppt
 
Simple water level indicator1
Simple water level indicator1Simple water level indicator1
Simple water level indicator1
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.
 
Home automation with arduino
Home automation with arduinoHome automation with arduino
Home automation with arduino
 
Density based traffic signal system
Density based traffic signal systemDensity based traffic signal system
Density based traffic signal system
 
Digital Electronics Question Bank
Digital Electronics Question BankDigital Electronics Question Bank
Digital Electronics Question Bank
 
Density based traffic signal control using microcontroller
Density based traffic signal control using microcontrollerDensity based traffic signal control using microcontroller
Density based traffic signal control using microcontroller
 
Automatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with ArduinoAutomatic Railway Gate Control System with Arduino
Automatic Railway Gate Control System with Arduino
 
traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555traffic light control using 4017 ic counter & timer 555
traffic light control using 4017 ic counter & timer 555
 
Password based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final reportPassword based door lock system using 8051 microcontroller final report
Password based door lock system using 8051 microcontroller final report
 
IRJET- Automatic Water Level Indicator and Controller by using ARDUINO
IRJET- Automatic Water Level Indicator and Controller by using ARDUINOIRJET- Automatic Water Level Indicator and Controller by using ARDUINO
IRJET- Automatic Water Level Indicator and Controller by using ARDUINO
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 

Viewers also liked

Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light controlMadhu Prasad
 
TRAFFIC LIGHT CONTROL USING RF TECH
TRAFFIC LIGHT CONTROL USING RF TECHTRAFFIC LIGHT CONTROL USING RF TECH
TRAFFIC LIGHT CONTROL USING RF TECHPranay Raj
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysisReymond Dy
 
intelligence Ambulance project report
intelligence Ambulance project reportintelligence Ambulance project report
intelligence Ambulance project reportRitesh Kumar
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller systemVinny Chweety
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORSubash Sambath Kumar
 

Viewers also liked (6)

Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
 
TRAFFIC LIGHT CONTROL USING RF TECH
TRAFFIC LIGHT CONTROL USING RF TECHTRAFFIC LIGHT CONTROL USING RF TECH
TRAFFIC LIGHT CONTROL USING RF TECH
 
Queuing theory and traffic flow analysis
Queuing theory and traffic flow analysisQueuing theory and traffic flow analysis
Queuing theory and traffic flow analysis
 
intelligence Ambulance project report
intelligence Ambulance project reportintelligence Ambulance project report
intelligence Ambulance project report
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller system
 
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSORTRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
TRAFFIC LIGHT CONTROL SYSTEM USING 8085 MICROPROCESSOR
 

Similar to Traffic light controller

manisha mam project.pdfeheh ehhr rhrhr hrhrurjur
manisha mam project.pdfeheh ehhr rhrhr hrhrurjurmanisha mam project.pdfeheh ehhr rhrhr hrhrurjur
manisha mam project.pdfeheh ehhr rhrhr hrhrurjurmeenakshishukla646
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Chintan Patel
 
Electrónica: Probador de LOPT/FBT Flyback
Electrónica: Probador de LOPT/FBT FlybackElectrónica: Probador de LOPT/FBT Flyback
Electrónica: Probador de LOPT/FBT FlybackSANTIAGO PABLO ALBERTO
 
Electronics schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyistElectronics schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyistben kamau
 
Electronics schematic circuits for the hobbyist
Electronics   schematic circuits for the hobbyistElectronics   schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyistNaga Tejaswi
 
Wireless Fuel Level Indicator
Wireless Fuel Level IndicatorWireless Fuel Level Indicator
Wireless Fuel Level IndicatorBordaArka
 
Automatic main gate controller
Automatic main gate controllerAutomatic main gate controller
Automatic main gate controllerPROJECTRONICS
 
Water level controller
Water level controllerWater level controller
Water level controllerAmadi Uchenna
 
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)BRNSS Publication Hub
 
Gcse design & technology integrated circuits
Gcse design & technology   integrated circuitsGcse design & technology   integrated circuits
Gcse design & technology integrated circuitsQwizdom UK
 
1396740 634706422070340000
1396740 6347064220703400001396740 634706422070340000
1396740 634706422070340000bnsprasad
 
Clap On Clap Off Switch
Clap On Clap Off SwitchClap On Clap Off Switch
Clap On Clap Off Switchfariharowshan
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature ControllerSupriya Gorai
 
Edc lab 4 - to implement a half wave rectifier using diode
Edc   lab 4 - to implement a half wave rectifier using diodeEdc   lab 4 - to implement a half wave rectifier using diode
Edc lab 4 - to implement a half wave rectifier using diodeTajim Md. Niamat Ullah Akhund
 

Similar to Traffic light controller (20)

manisha mam project.pdfeheh ehhr rhrhr hrhrurjur
manisha mam project.pdfeheh ehhr rhrhr hrhrurjurmanisha mam project.pdfeheh ehhr rhrhr hrhrurjur
manisha mam project.pdfeheh ehhr rhrhr hrhrurjur
 
Traffic signal's
Traffic signal'sTraffic signal's
Traffic signal's
 
Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)Digital Alarm Clock (IC-TMS-8560)
Digital Alarm Clock (IC-TMS-8560)
 
Electrónica: Probador de LOPT/FBT Flyback
Electrónica: Probador de LOPT/FBT FlybackElectrónica: Probador de LOPT/FBT Flyback
Electrónica: Probador de LOPT/FBT Flyback
 
Electronics schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyistElectronics schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyist
 
Probador de-flybacks
Probador de-flybacksProbador de-flybacks
Probador de-flybacks
 
Electronics schematic circuits for the hobbyist
Electronics   schematic circuits for the hobbyistElectronics   schematic circuits for the hobbyist
Electronics schematic circuits for the hobbyist
 
Wireless Fuel Level Indicator
Wireless Fuel Level IndicatorWireless Fuel Level Indicator
Wireless Fuel Level Indicator
 
Automatic main gate controller
Automatic main gate controllerAutomatic main gate controller
Automatic main gate controller
 
Water level controller
Water level controllerWater level controller
Water level controller
 
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)
Simplified Traffic Lights Using 8051 Maxim DS89C4XX Embedded Controller (MDE)
 
04_AJMS_198_19_RA.pdf
04_AJMS_198_19_RA.pdf04_AJMS_198_19_RA.pdf
04_AJMS_198_19_RA.pdf
 
04_AJMS_198_19_RA.pdf
04_AJMS_198_19_RA.pdf04_AJMS_198_19_RA.pdf
04_AJMS_198_19_RA.pdf
 
Final report
Final reportFinal report
Final report
 
INTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEMINTELIGENT RAILWAY SYSTEM
INTELIGENT RAILWAY SYSTEM
 
Gcse design & technology integrated circuits
Gcse design & technology   integrated circuitsGcse design & technology   integrated circuits
Gcse design & technology integrated circuits
 
1396740 634706422070340000
1396740 6347064220703400001396740 634706422070340000
1396740 634706422070340000
 
Clap On Clap Off Switch
Clap On Clap Off SwitchClap On Clap Off Switch
Clap On Clap Off Switch
 
Temperature Controller
Temperature ControllerTemperature Controller
Temperature Controller
 
Edc lab 4 - to implement a half wave rectifier using diode
Edc   lab 4 - to implement a half wave rectifier using diodeEdc   lab 4 - to implement a half wave rectifier using diode
Edc lab 4 - to implement a half wave rectifier using diode
 

More from Rkrishna Mishra

Speed checker on highway using 8051
Speed checker on highway using 8051Speed checker on highway using 8051
Speed checker on highway using 8051Rkrishna Mishra
 
Introduction of Cloud computing
Introduction of Cloud computingIntroduction of Cloud computing
Introduction of Cloud computingRkrishna Mishra
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemRkrishna Mishra
 

More from Rkrishna Mishra (6)

Speed checker on highway using 8051
Speed checker on highway using 8051Speed checker on highway using 8051
Speed checker on highway using 8051
 
Introduction of Cloud computing
Introduction of Cloud computingIntroduction of Cloud computing
Introduction of Cloud computing
 
Java Basics
Java BasicsJava Basics
Java Basics
 
Java Programming Basics
Java Programming BasicsJava Programming Basics
Java Programming Basics
 
Project Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded SystemProject Report On Micro-controller Embedded System
Project Report On Micro-controller Embedded System
 
Programs of VHDL
Programs of VHDLPrograms of VHDL
Programs of VHDL
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxVishalSingh1417
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 

Recently uploaded (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 

Traffic light controller

  • 1. A MINOR PROJECT ON TRAFFIC LIGHT CONTROLLER Based on AT89C51 Microcontroller Presented By: Ramkrishna Mishra (5910428)
  • 2. HISTORY OF TRAFFIC LIGHT were invented by J The world's very first traffic lights P Knight installed near London's House of Commons, which was on the intersection of George and Bridge Street, in 1868. In 1914 The American Traffic Signal Company installed red and green traffic lights on every corner of the intersection of 105th Street and Euclid Avenue in Cleveland, Ohio. First traffic lights were all controlled by either timing, or manually switched
  • 3. RED Come to complete stop at stop line or before crosswalk or intersection. After stopping, you may turn right on red at most intersections if the way is clear. Some school districts have local policies that prohibit right turns on red by bus operators. Some intersections display “NO TURN ON RED,” which you must obey.
  • 4. YELLOW Stop The if you can do so safely. light will soon be red. GREEN Go, If but only if intersection is clear. turning left, wait for gap in oncoming traffic to complete turn.
  • 5. Few things about AT89C51  It has four Ports: Port 0 Port 1 Port 2 Port 3 These Four ports works as Input port as well as output port.
  • 6. ABSTRACT The function of traffic lights is to provide sophisticated control and coordination to ensure that traffic moves as smoothly and safely as possible.
  • 7. FEATURES OF TRAFFIC LIGHT CONTROLLER controller assumes equal traffic density on all the roads. The free left turn condition is provided throughout the entire signal period. The control can also be exercised manual when desired.
  • 8. INTRODUCTION • This project uses a LED light as an indicator. • A microcontroller for auto change signal after a specific time interval. • The LEDs are automatically on and off by making the corresponding port pin of the micro controller high.
  • 9. COMPONEN TS AT89C51 Microcontroller Capacitor (30pF x2,10µF) Resistor (8.2KΩ) Crystal oscillator (11.0592MHz) LED light (Red, Green, Blue) PCB Power supply
  • 12. WORKIN G  The pins of the various input output ports of the microcontroller are connected directly to the given LEDs.  The 8051 is programmed in a manner that the respective LEDs glow by setting the required bit using assembly language and a certain amount of delay is provided depending on the user.
  • 13. PROGRAM #include<reg51.h> sbit RE = P0^0; sbit YE = P0^1; sbit GE = P0^2; sbit RW = P0^3; sbit YW = P0^4; sbit GW = P0^5; sbit RN = P0^6; sbit YN = P0^7; sbit GN = P2^0; sbit RS = P2^1; sbit YS = P2^2; sbit GS = P2^3; void Delay(void)
  • 14. { unsigned int j;//,i; ////for(i=0;i<200;i++) for(j=0;j<700;j++); } void SuperDelay() { unsigned int i; for (i=0;i<25;i++); Delay(); } void main() { while (1) { RE=0; GE=1; YE=0; RW=1; GW=0; YW=0; RN=1; GN=0; YN=0; RS=1; GS=0; YS=0; SuperDelay(); GE=0; YE=1; Delay(); RE=1; GE=0; YE=0; RW=0; GW=1; YW=0; RN=1; GN=0; YN=0; RS=1; GS=0; YS=0; SuperDelay(); GW=0; YW=1; Delay(); RE=1; GE=0; YE=0; RW=1; GW=0; YW=0; RN=0; GN=1; YN=0; RS=1; GS=0; YS=0; SuperDelay(); GN=0; YN=1; Delay(); RE=1; GE=0; YE=0; RW=1; GW=0; YW=0; RN=1; GN=0; YN=0; RS=0; GS=1; YS=0; SuperDelay(); GS=0; YS=1; Delay(); } }
  • 15. MOTIVATION The project finds high practical and widespread use. It is a very primitive application of the microcontroller. Easy and convenient to be built for a beginner as the coding comprises of basic instructions.
  • 16. SCOP E This project can be enhanced in such a way as to control automatically 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.