Professional Documents
Culture Documents
H Traffic Light Controller-N
H Traffic Light Controller-N
AIM:
The main aim of this project is to design a Traffic light controller using 8085 microprocessor. The 8085 Microprocessor is a popular Microprocessor used in Industries for various applications. Such as traffic light control, temperature control, stepper motor control, etc. In this project, the traffic lights are interfaced to Microprocessor system through buffer and ports of programmable peripheral Interface 8255. So the traffic lights can be automatically switched ON/OFF in desired sequence. The Interface board has been designed to work with parallel port of Microprocessor system. The hardware of the system consists of two parts. The first part is Microprocessor based system with 8085. Microprocessor as CPU and the peripheral devices like EPROM, RAM, Keyboard & Display Controller 8279, Programmable as Peripheral Interface 8255, 26 pin parallel port connector, 21 keys Hexa key pad and six number of seven segment LEDs. The second part is the traffic light controller interface board, which consist of 36 LEDs in which 20 LEDs are used for vehicle traffic and they are connected to 20 port lines of 8255 through Buffer. Remaining LEDs are used for pedestrian traffic. The traffic light interface board is connected to Main board using 26 core flat cables to 26-pin Port connector. The LEDs can be switched ON/OFF in the specified sequence by the Microprocessor. The block diagram of the system is shown in fig.1. The lay out of the traffic light is shown in fig 2.
26 pin port connector
Traffic light interface board
D0-D7
Latch
A0-A7
8255 PPI
Buffer
System Bus
EPROM
8279 Anode driver keyboard Display Display Fig 1: Block diagram of Traffic Light Controller Controller RAM
Stop PW Go PW Stop PE Go PE Stop PE Go PE EAST
Decoder Keyboard
Stop PN Go PN
Stop W Warning W
WEST
Go W FR W
FL S
Stop PW Go PW
FL E
ST S FR S Go S Stop PS SOUTH Go PS
Warning S Stop S Go PS
Stop PS
ST E FR E Warning E Stop E
Stop N Warning N Go N FR N ST N FL N
ST W
FL W