Upload
sumit-meena
View
223
Download
0
Embed Size (px)
Citation preview
8/3/2019 ourproj
1/10
Submitted to Dr. D.V. GADRE
Assoc. Professor
Electronics and communication
NSIT Dwarka , New Delhi
Project Google Site : https://sites.google.com/a/nsitonline.in/nitin
8085 BASED
MULTIPATTERN LED GLOWHARDWARE REPORT
SUBMITTED BY
Vishal
120/EC/08
ELECTRONICS AND COMMUNICATION
NETAJI SUBHAS INSTITUTE OF TECHNOLOGYNEW DELHI
[3rd
, June , 2011]
8/3/2019 ourproj
2/10
THE PROJECT
This project based on 8085 microprocessor is about glowing LED's in different patterns either randomly
or by controlling these patterns by switches just like Diwali lights. The LED's of differnt colours used here
may be arranged either in a square matrix of ( 4*4 ) or may be placed linearly. The circuit board to be
used here will consist of two pcb's one with the actual pcb layout designed for the circuit of above
mentioned project in EAGLE and one on general purpose pcb which will consist of power supply circuit
and LED's.
BLOCK DIAGRAM
COMPONENTS USED
8085 microprocessor
Rom(2764 8KB)
Ram(6264 8KB)Latches (74LS373N)
Buffer(74LS244)Voltage regulator(7805)
CapacitorsResistors
Crystal oscillator(6 MHz)
Box 10 connectorsNor gate (7402)
Decoders (74LS138,74LS139)
8/3/2019 ourproj
3/10
Omron switches
LEDsDiode
2pin connectors
HARDWARE DETAILS
1) Power Supply
8/3/2019 ourproj
4/10
2) 8085 SchematicThe schematic below shows the interconnection between 8085, eeprom ,ram ,decoder and
latches.
8/3/2019 ourproj
5/10
OUTPUT CONNECTIONS
8/3/2019 ourproj
6/10
8/3/2019 ourproj
7/10
ASSEMBLY CODE
.ORG 0000H
JMP 0050H.ORG 0050H
LXI SP,3FFFHSTART: IN 01H
CALL DELAY
CPI 01H ; to check if first switch is pressed
JZ PATTERN1
CPI 02H ; to check if second switch is pressedJZ PATTERN2
CPI 04H ; to check if third switch is pressed
JZ PATTERN3
MVI A,0FH ; default value is all led's onOUT 00H
CALL DELAYOUT 02HCALL DELAY
JMP START
PATTERN1: MVI A,0FH
OUT 00H
CALL DELAY
CALL DELAYCALL DELAY
MVI A,0F0H
OUT 00HOUT 02H
CALL DELAY
CALL DELAY
IN 01HCPI 01H
JZ PATTERN1
JMP START
PATTERN2: MVI A,00H
OUT 00H
CALL DELAYCALL DELAY
OUT 02H
CALL DELAYCALL DELAY
MVI A,0FFH
OUT 00HCALL DELAY
8/3/2019 ourproj
8/10
CALL DELAY
OUT 02HCALL DELAY
CALL DELAY
IN 01H
CPI 02HJZ PATTERN2
JMP START
PATTERN3: MVI A,0AAH
OUT 00H
CALL DELAYCALL DELAY
OUT 02H
CALL DELAY
CALL DELAY
MVI A,55HOUT 00H
OUT 02HCALL DELAY
CALL DELAY
IN 01H
CPI 04HJZ PATTERN3
JMP START
PATTERN4: MVI A,0AH
OUT 00H
CALL DELAY
CALL DELAYOUT 02H
CALL DELAY
CALL DELAYMVI A,0A0H
OUT 00H
OUT 02HCALL DELAY
CALL DELAY
IN 01H
CPI 04HJZ PATTERN4
JMP START
PATTERN5: MVI A,0CHOUT 00H
CALL DELAY
8/3/2019 ourproj
9/10
CALL DELAY
OUT 02HCALL DELAY
CALL DELAY
MVI A,0C0H
OUT 00HOUT 02H
CALL DELAY
CALL DELAYIN 01H
CPI 04H
JZ PATTERN5JMP START
DELAY: LXI B,0F423HDCX B
MOV A,CORA B
JNZ DELAY
RET
8/3/2019 ourproj
10/10
PCB LAYOUT