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 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
 
anti sleep alarm for students
anti sleep alarm for studentsanti sleep alarm for students
anti sleep alarm for studentsNiladri Dutta
 
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
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMJOLLUSUDARSHANREDDY
 
smart traffic light control system
smart traffic light control systemsmart traffic light control system
smart traffic light control systemarunkumar6836
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic lightare you
 
Automatic railway gate using pic 16f877a
Automatic railway gate using pic 16f877aAutomatic railway gate using pic 16f877a
Automatic railway gate using pic 16f877avijay kumar yadav
 
Traffic light controller with verilog
Traffic light controller with verilogTraffic light controller with verilog
Traffic light controller with verilogChetan Dabral
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systemsmahalakshmimalini
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller featuresTech_MX
 
Presentation of automatic street light
Presentation of automatic street lightPresentation of automatic street light
Presentation of automatic street lightPrince Mandal
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051Muthu Manickam
 
Wireless power transmission
Wireless power transmissionWireless power transmission
Wireless power transmissionrakeshkk
 
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectGas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectCircuitsToday
 
Design of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLDesign of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLVishesh Thakur
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOjovin Richard
 

What's hot (20)

Density based traffic signal system
Density based traffic signal systemDensity based traffic signal system
Density based traffic signal system
 
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
 
anti sleep alarm for students
anti sleep alarm for studentsanti sleep alarm for students
anti sleep alarm for students
 
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
 
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEMAUTOMATIC RAILWAY GATE CONTROL SYSTEM
AUTOMATIC RAILWAY GATE CONTROL SYSTEM
 
smart traffic light control system
smart traffic light control systemsmart traffic light control system
smart traffic light control system
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic light
 
CircuitDebugging
CircuitDebuggingCircuitDebugging
CircuitDebugging
 
OBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAROBSTACLE AVOIDING CAR
OBSTACLE AVOIDING CAR
 
Automatic railway gate using pic 16f877a
Automatic railway gate using pic 16f877aAutomatic railway gate using pic 16f877a
Automatic railway gate using pic 16f877a
 
Traffic light controller with verilog
Traffic light controller with verilogTraffic light controller with verilog
Traffic light controller with verilog
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 
Presentation of automatic street light
Presentation of automatic street lightPresentation of automatic street light
Presentation of automatic street light
 
Memory organization of 8051
Memory organization of 8051Memory organization of 8051
Memory organization of 8051
 
Wireless power transmission
Wireless power transmissionWireless power transmission
Wireless power transmission
 
Lambda design rule
Lambda design ruleLambda design rule
Lambda design rule
 
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering ProjectGas Leakage Detector using Arduino with SMS Alert - Engineering Project
Gas Leakage Detector using Arduino with SMS Alert - Engineering Project
 
Design of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDLDesign of Elevator Controller using Verilog HDL
Design of Elevator Controller using Verilog HDL
 
Obstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINOObstacle Avoidance ROBOT using ARDUINO
Obstacle Avoidance ROBOT using ARDUINO
 

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
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.mmnbaig
 
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
 

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
 
Ppt on brake failure indicator.
Ppt on brake failure indicator.Ppt on brake failure indicator.
Ppt on brake failure indicator.
 
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
 

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

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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfSanaAli374401
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...KokoStevan
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.MateoGardella
 
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
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 

Recently uploaded (20)

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
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
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
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
An Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdfAn Overview of Mutual Funds Bcom Project.pdf
An Overview of Mutual Funds Bcom Project.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
SECOND SEMESTER TOPIC COVERAGE SY 2023-2024 Trends, Networks, and Critical Th...
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
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
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
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
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 

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.