SlideShare a Scribd company logo
Presented 
by 
73,71,17,49
Traffic light control 
by 
PIC 16F877A 
MICROCONTROLLER
ABOUT THE COLORS OF TRAFFIC LIGHT 
CONTROL
How it works 
AFTER 35 SEC 
AFTER 
15 SEC 
AFTE 
R 
5 
SEC 
CYCLIC 
ROTATION
MICRO 
CONTROLLER 
(PIC 16F877A) 
7 SEGMENT 
DISPLAY 
TRAFFIC LIGHTS 
+5 
VOLTS 
BLOCK DIAGRAM
CONNECTION 
DIAGRAM 
Lane 1 
Lane 
3 
BCD to 
decimal 
decoder 
Lane 2 
Lane 4 
Seven 
Segment 
flaunt
FLOW CHART
MICROCONTROLLER USED 
• PIC 16F877A 
Characteristics 
• Operating speed: 20 MHz 
• Operating voltage: 4.0-5.5V 
• Flash Memory: 14.3 Kbytes 
• Data SRAM: 368 bytes 
• Data EEPROM: 256 bytes
PIN DIAGRAM OF PIC 16F877A
SOFTWARE 
AVAILABLE EDA SOFWARES 
PROTEUS 
ORCAD 
EAGLE
View of ckt
program 
part1 
• void main() 
• { 
• int i,a; 
• TRISA=0X01; 
• TRISB=0x00; 
• TRISC=0x00; 
• TRISD=0x00; 
• while(1) 
• { 
• a=0x50; 
• PORTB=0x1C; 
• 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=0x14; 
• PORTC=0x11; 
• for(i=14;i<=49;i++) 
• { 
• PORTD=a; 
• a=a--; 
• delay_ms(100);
SCOPE 
• 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.
Traffic light control

More Related Content

What's hot

Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)
Aarav Soni
 
Digital Electronics Question Bank
Digital Electronics Question BankDigital Electronics Question Bank
Digital Electronics Question Bank
Mathankumar S
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
Sayan Chakraborty
 
Unit v. HDL Synthesis Process
Unit v. HDL Synthesis ProcessUnit v. HDL Synthesis Process
Embedded system
Embedded systemEmbedded system
Embedded system
Vinod Srivastava
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
Marmik Kothari
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
pavihari
 
2 Digit Object counter
2 Digit Object counter2 Digit Object counter
2 Digit Object counter
JiaahRajpout123
 
Features of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processorsFeatures of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processors
Vikas Dongre
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
rounak077
 
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
raosandy11
 
Introduction to ARM LPC2148
Introduction to ARM LPC2148Introduction to ARM LPC2148
Introduction to ARM LPC2148
Veera Kumar
 
Sensor Lecture Interfacing
 Sensor Lecture Interfacing Sensor Lecture Interfacing
Sensor Lecture Interfacing
utpal sarkar
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
Mathivanan Natarajan
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
parthi_arjun
 
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
Chinaraja Baratam
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
handson28
 
BCD ADDER
BCD ADDER BCD ADDER
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
sravannunna24
 

What's hot (20)

Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)Timer counter in arm7(lpc2148)
Timer counter in arm7(lpc2148)
 
Basics of digital electronics
Basics of digital electronicsBasics of digital electronics
Basics of digital electronics
 
Digital Electronics Question Bank
Digital Electronics Question BankDigital Electronics Question Bank
Digital Electronics Question Bank
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
Unit v. HDL Synthesis Process
Unit v. HDL Synthesis ProcessUnit v. HDL Synthesis Process
Unit v. HDL Synthesis Process
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
 
EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller EE6008 MCBSD - Introduction to PIC Micro controller
EE6008 MCBSD - Introduction to PIC Micro controller
 
2 Digit Object counter
2 Digit Object counter2 Digit Object counter
2 Digit Object counter
 
Features of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processorsFeatures of 89c51,pic,avr &amp; arm processors
Features of 89c51,pic,avr &amp; arm processors
 
Rs232 485 fundamental
Rs232 485 fundamentalRs232 485 fundamental
Rs232 485 fundamental
 
Interrupts for PIC18
Interrupts for PIC18Interrupts for PIC18
Interrupts for PIC18
 
Introduction to ARM LPC2148
Introduction to ARM LPC2148Introduction to ARM LPC2148
Introduction to ARM LPC2148
 
Sensor Lecture Interfacing
 Sensor Lecture Interfacing Sensor Lecture Interfacing
Sensor Lecture Interfacing
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
PIC 16F877A by PARTHIBAN. S.
PIC 16F877A   by PARTHIBAN. S.PIC 16F877A   by PARTHIBAN. S.
PIC 16F877A by PARTHIBAN. S.
 
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
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
BCD ADDER
BCD ADDER BCD ADDER
BCD ADDER
 
LPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLERLPC 2148 ARM MICROCONTROLLER
LPC 2148 ARM MICROCONTROLLER
 

Viewers also liked

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
Subash Sambath Kumar
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light Controller
Himanshi_Sharma
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
Rkrishna Mishra
 
DCKAP SEO Flow Chart
DCKAP SEO Flow ChartDCKAP SEO Flow Chart
DCKAP SEO Flow Chart
DCKAP
 
audiospotlight
audiospotlightaudiospotlight
audiospotlightanildsz42
 
Doc a.7-tlc report
Doc a.7-tlc reportDoc a.7-tlc report
Doc a.7-tlc report9951081577
 
Recruitment flow chart[1]
Recruitment flow chart[1]Recruitment flow chart[1]
Recruitment flow chart[1]Mayukh Nandi
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.
Jinto George
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
Madhu Prasad
 
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
krity kumari
 
Density Based Traffic signal system using microcontroller
Density Based Traffic signal system using microcontrollerDensity Based Traffic signal system using microcontroller
Density Based Traffic signal system using microcontroller
krity kumari
 
Density based Traffic Light Controller
Density based Traffic Light ControllerDensity based Traffic Light Controller
Density based Traffic Light Controller
Sophia
 
Density based traffic light control
Density based traffic light controlDensity based traffic light control
Density based traffic light control
Rohit Nair
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic lightare you
 
Presentation on home automation
Presentation on home automationPresentation on home automation
Presentation on home automation
Subhash Kumar Yadav
 
HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINO
Eklavya Sharma
 
Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...mahesh_rman
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
" Its-CooL " is said " Iskool "
 
Smart Home technologies
Smart Home technologiesSmart Home technologies
Smart Home technologies
loggcity
 

Viewers also liked (20)

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
 
Smart Traffic Light Controller
Smart Traffic Light ControllerSmart Traffic Light Controller
Smart Traffic Light Controller
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
DCKAP SEO Flow Chart
DCKAP SEO Flow ChartDCKAP SEO Flow Chart
DCKAP SEO Flow Chart
 
audiospotlight
audiospotlightaudiospotlight
audiospotlight
 
Doc a.7-tlc report
Doc a.7-tlc reportDoc a.7-tlc report
Doc a.7-tlc report
 
Recruitment flow chart[1]
Recruitment flow chart[1]Recruitment flow chart[1]
Recruitment flow chart[1]
 
Wireless charging
Wireless chargingWireless charging
Wireless charging
 
Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.Automatic speed controller in real time vehicles.
Automatic speed controller in real time vehicles.
 
Embedded system for traffic light control
Embedded system for traffic light controlEmbedded system for traffic light control
Embedded system for traffic light control
 
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
 
Density Based Traffic signal system using microcontroller
Density Based Traffic signal system using microcontrollerDensity Based Traffic signal system using microcontroller
Density Based Traffic signal system using microcontroller
 
Density based Traffic Light Controller
Density based Traffic Light ControllerDensity based Traffic Light Controller
Density based Traffic Light Controller
 
Density based traffic light control
Density based traffic light controlDensity based traffic light control
Density based traffic light control
 
Application of traffic light
Application of traffic lightApplication of traffic light
Application of traffic light
 
Presentation on home automation
Presentation on home automationPresentation on home automation
Presentation on home automation
 
HOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINOHOME AUTOMATION USING ARDUINO
HOME AUTOMATION USING ARDUINO
 
Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...Automatic vehicle accident detection and messaging system using gsm and gps m...
Automatic vehicle accident detection and messaging system using gsm and gps m...
 
Traffic light controller
Traffic light controllerTraffic light controller
Traffic light controller
 
Smart Home technologies
Smart Home technologiesSmart Home technologies
Smart Home technologies
 

Similar to Traffic light control

Pic16 c7x
Pic16 c7xPic16 c7x
Pic16 c7x
sharmeejeyam
 
Datasheet
DatasheetDatasheet
Datasheet
Aldhair Tlv
 
HM2015
HM2015HM2015
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
AakashRawat35
 
Msp430
Msp430Msp430
Msp430
Amir Sherman
 
Pic16f87
Pic16f87Pic16f87
Pic16f87
Jamin Gadea
 
39582 c (1)
39582 c (1)39582 c (1)
39582 c (1)
Levi Germano
 
2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg 2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg
Aland Bravo Vecorena
 
ESD -DAY 24.pptx
ESD -DAY 24.pptxESD -DAY 24.pptx
ESD -DAY 24.pptx
BhagvatShukla
 
DSPIC33F: High Performance 16-bit Digital Signal Controllers
DSPIC33F: High Performance 16-bit Digital Signal ControllersDSPIC33F: High Performance 16-bit Digital Signal Controllers
DSPIC33F: High Performance 16-bit Digital Signal Controllers
Premier Farnell
 
Galil rio catalog
Galil rio catalogGalil rio catalog
Galil rio catalog
Electromate
 
Seminar topic.on embeded system
Seminar topic.on embeded systemSeminar topic.on embeded system
Seminar topic.on embeded system
SachinMaithani1
 
Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015
Rodrigo Almeida
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
Midhu S V Unnithan
 
Atmega16
Atmega16Atmega16
Atmega16
Thrived Kumar
 
Password based circuit breaker control to ensure electric
Password  based  circuit breaker  control to  ensure electricPassword  based  circuit breaker  control to  ensure electric
Password based circuit breaker control to ensure electricPraveen Kumar V
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
OsaMa Hasan
 

Similar to Traffic light control (20)

Pic16 c7x
Pic16 c7xPic16 c7x
Pic16 c7x
 
datasheet.pdf
datasheet.pdfdatasheet.pdf
datasheet.pdf
 
Datasheet
DatasheetDatasheet
Datasheet
 
HM2015
HM2015HM2015
HM2015
 
Introduction2_PIC.ppt
Introduction2_PIC.pptIntroduction2_PIC.ppt
Introduction2_PIC.ppt
 
Msp430
Msp430Msp430
Msp430
 
Pic16f87
Pic16f87Pic16f87
Pic16f87
 
39582 c (1)
39582 c (1)39582 c (1)
39582 c (1)
 
2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg 2014 ii c08t-sbc pic para ecg
2014 ii c08t-sbc pic para ecg
 
ESD -DAY 24.pptx
ESD -DAY 24.pptxESD -DAY 24.pptx
ESD -DAY 24.pptx
 
DSPIC33F: High Performance 16-bit Digital Signal Controllers
DSPIC33F: High Performance 16-bit Digital Signal ControllersDSPIC33F: High Performance 16-bit Digital Signal Controllers
DSPIC33F: High Performance 16-bit Digital Signal Controllers
 
Galil rio catalog
Galil rio catalogGalil rio catalog
Galil rio catalog
 
Seminar topic.on embeded system
Seminar topic.on embeded systemSeminar topic.on embeded system
Seminar topic.on embeded system
 
Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015Embedded systems design @ defcon 2015
Embedded systems design @ defcon 2015
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
 
Seminar
SeminarSeminar
Seminar
 
Atmega16
Atmega16Atmega16
Atmega16
 
report cs
report csreport cs
report cs
 
Password based circuit breaker control to ensure electric
Password  based  circuit breaker  control to  ensure electricPassword  based  circuit breaker  control to  ensure electric
Password based circuit breaker control to ensure electric
 
PIC introduction + mapping
PIC introduction + mappingPIC introduction + mapping
PIC introduction + mapping
 

Recently uploaded

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
Jayaprasanna4
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
Vijay Dialani, PhD
 

Recently uploaded (20)

Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
ethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.pptethical hacking-mobile hacking methods.ppt
ethical hacking-mobile hacking methods.ppt
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
ML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptxML for identifying fraud using open blockchain data.pptx
ML for identifying fraud using open blockchain data.pptx
 

Traffic light control

  • 2. Traffic light control by PIC 16F877A MICROCONTROLLER
  • 3. ABOUT THE COLORS OF TRAFFIC LIGHT CONTROL
  • 4. How it works AFTER 35 SEC AFTER 15 SEC AFTE R 5 SEC CYCLIC ROTATION
  • 5. MICRO CONTROLLER (PIC 16F877A) 7 SEGMENT DISPLAY TRAFFIC LIGHTS +5 VOLTS BLOCK DIAGRAM
  • 6. CONNECTION DIAGRAM Lane 1 Lane 3 BCD to decimal decoder Lane 2 Lane 4 Seven Segment flaunt
  • 8. MICROCONTROLLER USED • PIC 16F877A Characteristics • Operating speed: 20 MHz • Operating voltage: 4.0-5.5V • Flash Memory: 14.3 Kbytes • Data SRAM: 368 bytes • Data EEPROM: 256 bytes
  • 9. PIN DIAGRAM OF PIC 16F877A
  • 10. SOFTWARE AVAILABLE EDA SOFWARES PROTEUS ORCAD EAGLE
  • 12. program part1 • void main() • { • int i,a; • TRISA=0X01; • TRISB=0x00; • TRISC=0x00; • TRISD=0x00; • while(1) • { • a=0x50; • PORTB=0x1C; • 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=0x14; • PORTC=0x11; • for(i=14;i<=49;i++) • { • PORTD=a; • a=a--; • delay_ms(100);
  • 13. SCOPE • 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.