SlideShare a Scribd company logo
1 of 40
Download to read offline
MICRO PROCESSOR ASSIGN.
PRESENTATION. - 2
Batch 5
OUR TOPIC IS:
TRAFFIC LIGHT
CONTROL
SYSTEM
We mean:
NEED FOR THE SYSTEM :
 Traffic lightsstoplights/ traffic lamps/
traffic signals/ signal lights/ robots/
semaphore
 signaling devices
 positioned at road intersections,
pedestrian crossings and other locations
 to control competing flows of traffic.
 Preventing accidents
 Improving safety
 Minimize travel time
ABOUT THE COLORS OF TRAFFIC LIGHT
CONTROL
 Traffic lights alternate the right of way of road
users by displaying lights of a standard color
(red, yellow/amber, and green)
 By using a universal color code (and a
precise sequence to enable comprehension
by those who are color blind
SIGNAL FOR VEHICLE
SIGNAL FOR PEDESTRIAN
PROCESSOR USED:
8085
Microprocessor
WHY 8085?
 Sufficient memory for the given scenario
 Basic units to be interfaced are supported by
8085
 Less complicated in the aspect of coding
 Supports the necessary instruction sets
 Simple and robust
5v Power
Supply
8085
Microprocessor
7 Segment
Display
LED Display
TIMER
INPUT
DISPLAYS
WAITING
OUTPUT
SIGNAL
BASIC BLOCK DIAGRAM
BLOCK DIAGRAM:
ALGORITHM
STATE DIAGRAM FOR TRAFFIC CONTROLER
PROPOSED SYSTEM:
HARWARE DETAILS:
2 PARTS
• 8085 Processor
based system
• Traffic Light
Controller
Interface board
IC’S USED:
8085 Micro processor
8255 PPI
8253 Timer
8279 Keyboard and Display Interface
8255 PIN
INTERFACING WITH 8085:
I/O MAP:
8255 FOR TRAFFIC LIGHT :
 MVI A, 80H : Initialize 8255, port A and
port B
 OUT 83H (CR) : in output mode
 START:
 MVI A, 09H
 OUT 80H (PA) : Send data on PA to glow
R1 and R2
 MVI A, E4H
 OUT 81H (PB) : Send data on PB to glow
G3 ,G4,G3R,G4R
 MVI A, 0CH
 OUT 82H (PB) : Send data on PC to glow
G3 R ,G4L
 MVI C, 28H : Load multiplier count for
delay
 CALL DELAY : Call delay subroutine
 MVI A, 09H
 OUT 80H (PA) : Send data on PA to glow R1 and
R2
 MVI A, 24H
 OUT 81H (PB) : Send data on PB to glow G3 and
G4
 MVI A, 00H
 OUT 82H (PB) : Send data on PC to disable G3 L
,G4L & Enable Pedestrian Crossing
 MVI C, 28H : Load multiplier count for
delay
 MVI A, 12H
 OUT (81H) PA : Send data on Port A to glow Y1 and
Y2
 OUT (81H) PB : Send data on port B to glow
Y3 and Y4
 MVI C, 0AH : Load multiplier count for delay
 CALL DELAY : Call delay subroutine
 MVI A, E4H
 OUT (80H) PA : Send data on port A to glow G1 and
G2,G1R,G2R
 MVI A, 09H
 OUT (81H) PB : Send data on port B to glow
R3 and R4
 MVI C, 28H : Load multiplier count for delay
 MVI A, 03H
 OUT 82H (PB) : Send data on PC to glow G1
L ,G2L
 CALL DELAY : Call delay subroutine
 MVI A, E4H
 OUT (80H) PA : Send data on port A to glow G1 and G2
 MVI A, 09H
 OUT (81H) PB : Send data on port B to glow R3
and R4
 MVI A, 00H
 OUT 82H (PB) : Send data on PC to disable G1 L
,G2L  Enable Pedestrian
Crossing
 MVI C, 28H : Load multiplier count (40i?) for delay
 CALL DELAY : Call delay subroutine
 MVI A, 12H
 OUT PA : Send data on port A to glow Y1
and Y2
 OUT PB : Send data on port B to glow Y3
and Y4
 MVI C, 0AH : Load multiplier count (10i?) for delay
DELAY SUBROUTINE:
 DELAY:
 DCR C : Decrement counter
 JNZ DELAY
 RET : Return to main program
LOGIC FOR PEDESTRIANS CROSSING
8279 DISPLAY INTERFACE
7 SEGMENT DISPLAY FOR TRAFFIC
LIGHT- WORKING :
The processor initializes the look up table
pointer. The look up table contains the
format for the 7 segment display
SEGMENT CODES FOR COMMON CATHODE
DISPLAY
LOOK UP TABLE FOR DIGITS 1-8:
 The microprocessor sends the data to the
latch
 From the latch, the data is sent to 8279
Display Interface
 It then stores the data in its 16 X 8 Internal
RAM
WRITING TO RAM:
There are 6 seven segment displays in 8085 kit
I 4 displays address
II 2 displays data
Here we make use of last two displays to interpret
the waiting time in each signal
 Hence we require a decoder to select among the
two displays
 Since there are 6 displays, we require a 3X8
decoder(74138)
 The inputs to these pins will be s1,s2,s0 of 8279
 Output of decoder  xx0 Left display xx1 
Right Display
 Output to the seven segment displays will be from
A3-0 and B3-0
ANALOG TO DIGITAL CONVERTOR
 This is required because 8085 will require only
+5V power supply
REFERENCES:
 rbinnovations.com
 gobookee.net
 seminarprojects.com
 eprlabs.blogspot.com
 Batch members
DINESH .S (11I309)
MARIA JERIN .J (11I324)
SARATHY .K (11I340)
SRINIVASAN .R (11I347)
SUBASH .S (11I348)
MURALI KRISHNAN .P (12I469)
FINAL PRODUCT:
Traffic Light Control System Microprocessor

More Related Content

Similar to Traffic Light Control System Microprocessor

2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptxISMT College
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptxfiqrie mohd
 
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha Patil
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorATTO RATHORE
 
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...IRJET Journal
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiDEEPAK GORAI
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfVikasMahor3
 
Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)Saumya Ranjan Behura
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdfFloraKara
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1techbed
 
Xcs 234 microprocessors
Xcs 234 microprocessorsXcs 234 microprocessors
Xcs 234 microprocessorssweta suman
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAmitabh Shukla
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manualDhaval Shukla
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxpjmulat
 

Similar to Traffic Light Control System Microprocessor (20)

8155 GPPI
8155 GPPI8155 GPPI
8155 GPPI
 
2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx2. 8085-Microprocessor.pptx
2. 8085-Microprocessor.pptx
 
MICROCONTROLLER.pptx
MICROCONTROLLER.pptxMICROCONTROLLER.pptx
MICROCONTROLLER.pptx
 
Varsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu bookVarsha patil AISSMS IOIT Pune mca te pu book
Varsha patil AISSMS IOIT Pune mca te pu book
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Embedded System
Embedded SystemEmbedded System
Embedded System
 
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...
IRJET- Design and Implementation of Telemetry Encoder for Light- Weight Ballo...
 
Honeywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak goraiHoneywell PLC TRAINING GUIDE created by deepak gorai
Honeywell PLC TRAINING GUIDE created by deepak gorai
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
ADC and DAC interfacing.pdf
ADC and DAC interfacing.pdfADC and DAC interfacing.pdf
ADC and DAC interfacing.pdf
 
Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)Industrial automation using programmable logic controller (plc)
Industrial automation using programmable logic controller (plc)
 
1.pdf
1.pdf1.pdf
1.pdf
 
8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf8085_MicroelectronicAndMicroprocess.pdf
8085_MicroelectronicAndMicroprocess.pdf
 
8085 Architecture
8085 Architecture8085 Architecture
8085 Architecture
 
8085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing18085 Architecture & Memory Interfacing1
8085 Architecture & Memory Interfacing1
 
Xcs 234 microprocessors
Xcs 234 microprocessorsXcs 234 microprocessors
Xcs 234 microprocessors
 
Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Real Time Embedded System
Real Time Embedded SystemReal Time Embedded System
Real Time Embedded System
 
Microprocessor lab manual
Microprocessor lab manualMicroprocessor lab manual
Microprocessor lab manual
 
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptxDiscussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
Discussion on 8080 Microprocessor_r1 - Everyting you need to know.pptx
 

Recently uploaded

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHC Sai Kiran
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEroselinkalist12
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 

Recently uploaded (20)

Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
Introduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECHIntroduction to Machine Learning Unit-3 for II MECH
Introduction to Machine Learning Unit-3 for II MECH
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETEINFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
INFLUENCE OF NANOSILICA ON THE PROPERTIES OF CONCRETE
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 

Traffic Light Control System Microprocessor

  • 2. OUR TOPIC IS: TRAFFIC LIGHT CONTROL SYSTEM
  • 4. NEED FOR THE SYSTEM :  Traffic lightsstoplights/ traffic lamps/ traffic signals/ signal lights/ robots/ semaphore  signaling devices  positioned at road intersections, pedestrian crossings and other locations  to control competing flows of traffic.  Preventing accidents  Improving safety  Minimize travel time
  • 5. ABOUT THE COLORS OF TRAFFIC LIGHT CONTROL  Traffic lights alternate the right of way of road users by displaying lights of a standard color (red, yellow/amber, and green)  By using a universal color code (and a precise sequence to enable comprehension by those who are color blind
  • 9. WHY 8085?  Sufficient memory for the given scenario  Basic units to be interfaced are supported by 8085  Less complicated in the aspect of coding  Supports the necessary instruction sets  Simple and robust
  • 10. 5v Power Supply 8085 Microprocessor 7 Segment Display LED Display TIMER INPUT DISPLAYS WAITING OUTPUT SIGNAL BASIC BLOCK DIAGRAM
  • 13.
  • 14.
  • 15.
  • 16. STATE DIAGRAM FOR TRAFFIC CONTROLER
  • 18. HARWARE DETAILS: 2 PARTS • 8085 Processor based system • Traffic Light Controller Interface board
  • 19. IC’S USED: 8085 Micro processor 8255 PPI 8253 Timer 8279 Keyboard and Display Interface
  • 23. 8255 FOR TRAFFIC LIGHT :  MVI A, 80H : Initialize 8255, port A and port B  OUT 83H (CR) : in output mode  START:  MVI A, 09H  OUT 80H (PA) : Send data on PA to glow R1 and R2  MVI A, E4H  OUT 81H (PB) : Send data on PB to glow G3 ,G4,G3R,G4R  MVI A, 0CH  OUT 82H (PB) : Send data on PC to glow G3 R ,G4L
  • 24.  MVI C, 28H : Load multiplier count for delay  CALL DELAY : Call delay subroutine  MVI A, 09H  OUT 80H (PA) : Send data on PA to glow R1 and R2  MVI A, 24H  OUT 81H (PB) : Send data on PB to glow G3 and G4  MVI A, 00H  OUT 82H (PB) : Send data on PC to disable G3 L ,G4L & Enable Pedestrian Crossing  MVI C, 28H : Load multiplier count for delay
  • 25.  MVI A, 12H  OUT (81H) PA : Send data on Port A to glow Y1 and Y2  OUT (81H) PB : Send data on port B to glow Y3 and Y4  MVI C, 0AH : Load multiplier count for delay  CALL DELAY : Call delay subroutine  MVI A, E4H  OUT (80H) PA : Send data on port A to glow G1 and G2,G1R,G2R  MVI A, 09H  OUT (81H) PB : Send data on port B to glow R3 and R4  MVI C, 28H : Load multiplier count for delay  MVI A, 03H  OUT 82H (PB) : Send data on PC to glow G1 L ,G2L  CALL DELAY : Call delay subroutine
  • 26.  MVI A, E4H  OUT (80H) PA : Send data on port A to glow G1 and G2  MVI A, 09H  OUT (81H) PB : Send data on port B to glow R3 and R4  MVI A, 00H  OUT 82H (PB) : Send data on PC to disable G1 L ,G2L  Enable Pedestrian Crossing  MVI C, 28H : Load multiplier count (40i?) for delay  CALL DELAY : Call delay subroutine  MVI A, 12H  OUT PA : Send data on port A to glow Y1 and Y2  OUT PB : Send data on port B to glow Y3 and Y4  MVI C, 0AH : Load multiplier count (10i?) for delay
  • 27. DELAY SUBROUTINE:  DELAY:  DCR C : Decrement counter  JNZ DELAY  RET : Return to main program
  • 30. 7 SEGMENT DISPLAY FOR TRAFFIC LIGHT- WORKING : The processor initializes the look up table pointer. The look up table contains the format for the 7 segment display
  • 31. SEGMENT CODES FOR COMMON CATHODE DISPLAY
  • 32. LOOK UP TABLE FOR DIGITS 1-8:
  • 33.  The microprocessor sends the data to the latch  From the latch, the data is sent to 8279 Display Interface  It then stores the data in its 16 X 8 Internal RAM
  • 34. WRITING TO RAM: There are 6 seven segment displays in 8085 kit I 4 displays address II 2 displays data Here we make use of last two displays to interpret the waiting time in each signal
  • 35.  Hence we require a decoder to select among the two displays  Since there are 6 displays, we require a 3X8 decoder(74138)  The inputs to these pins will be s1,s2,s0 of 8279  Output of decoder  xx0 Left display xx1  Right Display  Output to the seven segment displays will be from A3-0 and B3-0
  • 36. ANALOG TO DIGITAL CONVERTOR  This is required because 8085 will require only +5V power supply
  • 37. REFERENCES:  rbinnovations.com  gobookee.net  seminarprojects.com  eprlabs.blogspot.com
  • 38.  Batch members DINESH .S (11I309) MARIA JERIN .J (11I324) SARATHY .K (11I340) SRINIVASAN .R (11I347) SUBASH .S (11I348) MURALI KRISHNAN .P (12I469)