Sie sind auf Seite 1von 10

8085 HOW-TO GUIDE

Interfacing Traffic light


controller with 8085

Contents at a Glance
8085TRAINER KIT .............................................................3
TRAFFIC LIGHT CONTROL .................................................3
ABOUT THE COLORS OF TRAFFIC LIGHT CONTROL ............4
INTERFACING TRAFFIC LIGHT WITH 8085 ..........................4
PIN ASSIGNMENT WITH 8085 ...........................................5
CIRCUIT DIAGRAM TO INTERFACE TRAFFIC LIGHT .............6
ASSEMBLY PROGRAM TO INTERFACE TRAFFIC LIGHT ........7

Join the Technical Community Today!

http://www.pantechsolutions.net

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 PCs 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

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.

Join the Technical Community Today!

http://www.pantechsolutions.net

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 PS/8085 Trainer kit.
Each lane has Go (Green), Listen (Yellow) and Stop (Red)
LED is being placed.

Join the Technical Community Today!

http://www.pantechsolutions.net

PIN ASSIGNMENT WITH 8085


LAN
Direction

8085 LINES

SOUTH

P1.0

MODULES

Traffic Light Controller Card

GO
330E

EAST

NORTH

WEST

PWR

P1.1

LISTEN

P1.2

STOP

P1.3

GO

P1.4

LISTEN

P1.5

STOP

P1.6

GO

P1.7

LISTEN

P3.0

STOP

P3.1

GO

P3.2

LISTEN

P3.3

STOP

13-16

NC

17,19

Vcc

GO
LISTEN

330E

STOP

330E

LANE
NORTH
LANE

LANE

WEST

EAST

LANE
SOUTH

Make high to - LED On


Make low to LED Off

Supply form MCU/MPU/FPGA Kits


18,20

Gnd

Join the Technical Community Today!

http://www.pantechsolutions.net

CIRCUIT DIAGRAM TO INTERFACE TRAFFIC LIGHT WITH 8085

Join the Technical Community Today!

http://www.pantechsolutions.net

ASSEMBLY PROGRAM TO INTERFACE TRAFFIC LIGHT


CONTROLLER WITH 8085
***************************************************************************************
Title : Program to interface traffic light
***************************************************************************************

MEMORY ADDRESS
9100
9103
9105
9106
9108

OPOCDE
21 00 92
0E 08
7E
D3 23
23

MNEMONICS
LXI H, DATA
MVI C, 08
MOV A, M
OUT CONTRL
INX H

9 109
910A
910C
910D
910E
9110
9113
9114
9115
9118
911B
911C
911E
9121
9122
9123
9124
9127
9128
912B
912C

7E
D3 20
23
7E
D3 21
CD 1B 91
23
0D
C2 09 91
C3 00 91
C5
0E 05
11 FF FF
1B
7A
B3
C2 21 91
0D
C2 1E 91
C1
C9

LOOP1: MOV A,M


OUT PORTA
INX H
MOV A,M
OUT PORTB
CALL DELAY
INX H
DCR C
JNZ LOOP1
JMP START
DELAY: PUSH B
MVI C,05
LOOP3 : LXI D, FFFF
LOOP2 : DCX D
MOV A,D
ORA E
JNZ LOOP2
DCR C
JNZ LOOP3
POP B
RET

Join the Technical Community Today!

http://www.pantechsolutions.net

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

Join the Technical Community Today!

http://www.pantechsolutions.net

Did you enjoy the read?


Pantech solutions creates information packed technical
documents like this one every month. And our website is a rich
and trusted resource used by a vibrant online community of
more than 1,00,000 members from organization of all shapes
and sizes.

Join the Technical Community Today!

http://www.pantechsolutions.net

What do we sell?
Our products range from Various Microprocessor
development boards, DSP Boards, FPGA/CPLD boards,
Communication Kits, Power electronics, Basic electronics,
Robotics, Sensors, Electronic components and much more . Our
goal is to make finding the parts and information you need
easier and affordable so you can create awesome projects and
training from Basic to Cutting edge technology.

Join the Technical Community Today!

http://www.pantechsolutions.net

Das könnte Ihnen auch gefallen