Вы находитесь на странице: 1из 10

8085 BASED

MULTIPATTERN LED GLOW


HARDWARE REPORT
SUBMITTED BY Vishal 120/EC/08 ELECTRONICS AND COMMUNICATION NETAJI SUBHAS INSTITUTE OF TECHNOLOGY NEW DELHI [3rd, June , 2011]

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

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) Capacitors Resistors Crystal oscillator(6 MHz) Box 10 connectors Nor gate (7402) Decoders (74LS138,74LS139)

Omron switches LEDs Diode 2pin connectors

HARDWARE DETAILS 1) Power Supply

2)

8085 Schematic

The schematic below shows the interconnection between 8085, eeprom ,ram ,decoder and latches.

OUTPUT CONNECTIONS

ASSEMBLY CODE
.ORG 0000H JMP 0050H .ORG 0050H LXI SP,3FFFH START: IN 01H CALL DELAY CPI 01H ; to check if first switch is pressed JZ PATTERN1 CPI 02H ; to check if second switch is pressed JZ PATTERN2 CPI 04H ; to check if third switch is pressed JZ PATTERN3 MVI A,0FH ; default value is all led's on OUT 00H CALL DELAY OUT 02H CALL DELAY JMP START PATTERN1: MVI A,0FH OUT 00H CALL DELAY CALL DELAY CALL DELAY MVI A,0F0H OUT 00H OUT 02H CALL DELAY CALL DELAY IN 01H CPI 01H JZ PATTERN1 JMP START PATTERN2: MVI A,00H OUT 00H CALL DELAY CALL DELAY OUT 02H CALL DELAY CALL DELAY MVI A,0FFH OUT 00H CALL DELAY

CALL DELAY OUT 02H CALL DELAY CALL DELAY IN 01H CPI 02H JZ PATTERN2 JMP START PATTERN3: MVI A,0AAH OUT 00H CALL DELAY CALL DELAY OUT 02H CALL DELAY CALL DELAY MVI A,55H OUT 00H OUT 02H CALL DELAY CALL DELAY IN 01H CPI 04H JZ PATTERN3 JMP START PATTERN4: MVI A,0AH OUT 00H CALL DELAY CALL DELAY OUT 02H CALL DELAY CALL DELAY MVI A,0A0H OUT 00H OUT 02H CALL DELAY CALL DELAY IN 01H CPI 04H JZ PATTERN4 JMP START PATTERN5: MVI A,0CH OUT 00H CALL DELAY

CALL DELAY OUT 02H CALL DELAY CALL DELAY MVI A,0C0H OUT 00H OUT 02H CALL DELAY CALL DELAY IN 01H CPI 04H JZ PATTERN5 JMP START

DELAY:

LXI B,0F423H DCX B MOV A,C ORA B JNZ DELAY RET

PCB LAYOUT

Вам также может понравиться