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

Traffic control system
Traffic control systemTraffic control system
Traffic control systemzahid6
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light ControllerHimanshi_Sharma
 
Four way traffic light conrol using Verilog
Four way traffic light conrol using VerilogFour way traffic light conrol using Verilog
Four way traffic light conrol using VerilogUtkarsh De
 
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
 
Bidirectional visitor counter
Bidirectional visitor counterBidirectional visitor counter
Bidirectional visitor counterZakir Gulzar
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNOViswanadh Ivaturi
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSaipandu143
 
Driving large capacitive loads
Driving large capacitive loadsDriving large capacitive loads
Driving large capacitive loadsRavi Selvaraj
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic lightare you
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.mmnbaig
 
Project report on signal jammer
Project report on signal jammerProject report on signal jammer
Project report on signal jammerARYAN KUMAR
 
Smart traffic light controller using verilog
Smart traffic light controller using verilogSmart traffic light controller using verilog
Smart traffic light controller using verilogVaishaliVaishali14
 
Smart street lighting control system project PPT
Smart street lighting control system project PPT Smart street lighting control system project PPT
Smart street lighting control system project PPT PetchiMuthu26
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Abhishekvb
 
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
 
Sensor interfacing in 8051
Sensor interfacing in 8051Sensor interfacing in 8051
Sensor interfacing in 8051Irfan Ahmad
 

What's hot (20)

Traffic control system
Traffic control systemTraffic control system
Traffic control system
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light Controller
 
8051 interfacing
8051 interfacing8051 interfacing
8051 interfacing
 
Four way traffic light conrol using Verilog
Four way traffic light conrol using VerilogFour way traffic light conrol using Verilog
Four way traffic light conrol using Verilog
 
clap switch project
clap switch projectclap switch project
clap switch 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
 
Clap switch
Clap switchClap switch
Clap switch
 
Bidirectional visitor counter
Bidirectional visitor counterBidirectional visitor counter
Bidirectional visitor counter
 
Line Following Robot using Arduino UNO
Line Following Robot using Arduino UNOLine Following Robot using Arduino UNO
Line Following Robot using Arduino UNO
 
SMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOTSMART CAR-PARKING SYSTEM USING IOT
SMART CAR-PARKING SYSTEM USING IOT
 
Driving large capacitive loads
Driving large capacitive loadsDriving large capacitive loads
Driving large capacitive loads
 
Vhdl programming
Vhdl programmingVhdl programming
Vhdl programming
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic light
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.
 
Project report on signal jammer
Project report on signal jammerProject report on signal jammer
Project report on signal jammer
 
Smart traffic light controller using verilog
Smart traffic light controller using verilogSmart traffic light controller using verilog
Smart traffic light controller using verilog
 
Smart street lighting control system project PPT
Smart street lighting control system project PPT Smart street lighting control system project PPT
Smart street lighting control system project PPT
 
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
Bidirectional Visitor Counter using IR sensors and Arduino Uno R3
 
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
 
Sensor interfacing in 8051
Sensor interfacing in 8051Sensor interfacing in 8051
Sensor interfacing in 8051
 

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
 
Gcse design & technology integrated circuits
Gcse design & technology   integrated circuitsGcse design & technology   integrated circuits
Gcse design & technology integrated circuitsQwizdom UK
 
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
 
smart street light projet
smart street light projetsmart street light projet
smart street light projetSurya Karan
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers finalSARITHA REDDY
 
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptxMICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx37PaduriHrishitha
 

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
 
Final report
Final reportFinal report
Final report
 
Gcse design & technology integrated circuits
Gcse design & technology   integrated circuitsGcse design & technology   integrated circuits
Gcse design & technology integrated circuits
 
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
 
smart street light projet
smart street light projetsmart street light projet
smart street light projet
 
myppt
mypptmyppt
myppt
 
Unit iv microcontrollers final
Unit iv microcontrollers finalUnit iv microcontrollers final
Unit iv microcontrollers final
 
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptxMICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
MICROCONTROLLER 8051-BASED SOLAR CHARGE CONTROLLER.pptx
 
L13 ic based triggering circuit
L13 ic based triggering circuitL13 ic based triggering circuit
L13 ic based triggering circuit
 

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

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 

Recently uploaded (20)

Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).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.