You have no items in your shopping cart.

Subtotal: 0.00

How to Interface Traffic light controller with 8085 Lab Trainer Kit

8085TRAINER KIT

PS-TRAINER-8085 microprocessor trainer kit is proposed to smooth the progress of learning and developing designs of microprocessor from Intel. It has facility to connect PC’s 101/104 Keyboard, to enter user programs in Assembly languages. User verifies the programs through LCD or PC. User friendly Firmware confirms facilitating the beginners learns operations of a microprocessor quickly.

TRAFFIC LIGHT CONTROL

Traffic lights, which may also be known as stoplights, traffic lamps, traffic signals, signal lights, robots or semaphore, are signaling devices positioned at road intersections, pedestrian crossings and other locations to control competing flows of traffic.

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), using a universal color code (and a precise sequence to enable comprehension by those who are color blind).

Illumination of the red signal prohibits any traffic from proceeding. Usually, the red light contains some orange in its hue, and the green light contains some blue, for the benefit of people with red-green color blindness, and "green" lights in many areas are in fact blue lenses on a yellow light (which together appear green).

INTERFACING TRAFFIC LIGHT WITH 8085

The Traffic light controller section consists of 12 Nos. point LEDS are arranged by 4Lanes in Traffic light interface card. Each lane has Go (Green), Listen (Yellow) and Stop (Red) LED is being placed.



PIN ASSIGNMENT WITH 8085



LAN Direction

8085 LINES

MODULES

Traffic Light Controller Card

SOUTH

P1.0

GO

 

 

 





 

 

 

 

 

 

 

 

 

P1.1

LISTEN

P1.2

STOP

EAST

P1.3

GO

P1.4

LISTEN

P1.5

STOP

NORTH

P1.6

GO

P1.7

LISTEN

P3.0

STOP

WEST

P3.1

GO

P3.2

LISTEN

P3.3

STOP

 

13-16

NC

PWR

17,19

Vcc

Supply form MCU/MPU/FPGA Kits

18,20

Gnd

 

 



CIRCUIT DIAGRAM TO INTERFACE TRAFFIC LIGHT WITH 8085





ASSEMBLY PROGRAM TO INTERFACE TRAFFIC LIGHT CONTROLLER WITH 8085



MEMORY ADDRESS

OPOCDE

MNEMONICS

9100

21 00 92

                 LXI H, DATA

9103

0E 08

                 MVI C, 08

9105

7E

                 MOV A, M

9106

D3 23

                 OUT CONTRL

9108

23

                 INX H

 

 

 

9 109

7E

LOOP1:     MOV A,M        

910A

D3 20

                 OUT PORTA

910C

23

                 INX H

910D

7E

                 MOV A,M

910E

D3 21

                 OUT PORTB

9110

CD 1B 91

                 CALL DELAY

9113

23

                 INX H

9114

0D

                   DCR C

9115

C2 09 91

                 JNZ   LOOP1

9118

C3 00 91

                 JMP START

911B

C5

DELAY:   PUSH B

911C

0E 05

                 MVI C,05

911E

11 FF FF

LOOP3 :     LXI D, FFFF              

9121

1B

LOOP2 :     DCX D

9122

7A

                 MOV A,D

9123

B3

                 ORA E

9124

C2 21 91

                   JNZ LOOP2

9127

0D

                   DCR C

9128

C2 1E 91

                   JNZ LOOP3

912B

C1

                   POP B

912C

C9

                   RET

DATA

9200                                                     80H

9201                                                   21H,09H,10H,00H (SOUTH WAY)

9205                                                   0CH,09H,80H,00H (EAST WAY)

9209                                                   64H,08H,00H,04H (NOURTH WAY)

920D                                                   24H,03H,02H,00H (WEST WAY)

9210                                                     END