Upload
others
View
36
Download
1
Embed Size (px)
Citation preview
8085 PROJECT REPORT
“HOOP THE LOOP”
APOORV SOOD-33/EC/13
AKSHAY KUMAR-19/EC/13
INDEX
1. INTRODUCTION
2. SYNOPSIS
3. BLOCK DIAGRAM AND WORKING
4. HARDWARE DEVELOPMENT
1. LIST OF COMPONENTS
2. SCHEMATIC
3. BOARD LAYOUT
4. SOLDERED BOARD
5. ASSEMBLY CODE AND FLOWCHART
6. TESTING AND DEBUGGING
7. GANNTT CHART REVISITED
8. BIBLIOGRAPHY
9. CONCLUSION
10.TOOLS USED
INTRODUCTION
The project “Hoop the loop” is a project based on Intel
8085 microprocessor. This is an 8 bit microprocessor that
can be interfaced with maximum 64k bytes of memory. It
consists of a 16 bit Address bus and 8 bit data bus that is
demuxed from lower order address bus. These buses help
in selecting and transferring data to and from memory as
well as external devices. For processing purposes the
8085 consists of 8 registers namely A,B,C,D,E,F,H,L that
are 8bit registers and PC,SP that are 16 bit registers.The
8085 has 74 instructions at it’s disposal for processing
data.
SYNOPSIS
This project uses 8 bit Intel 8085 microprocessor to
implement basketball score counter similar to what is seen
in the gaming zones of shopping malls. Score(Number of
baskets) can be counted from 0 to 99 and is displayed on
2 common anode seven segment displays. The circuit
uses a Light Dependent Resistor as detecting device to
determine if a basket has been scored and is powered by
a 5volt powerbank.
BLOCK DIAGRAM AND WORKING
POWER SUPPLY(5V)
8085 uP
ROM(32K) RAM(32K)
INPUT INTERFACE
BUFFER
CO
MP
AR
ATO
R
LDR
INP
UT
OUTPUT INTERFACE A
DD
RES
S
DEC
OD
ER
LATCH
LATCH
SEVEN
SEGM
ENT D
ISPLA
YS
WORKING
This project consists of a laser and LDR connected around the
ring such that the laser is continuously falling on the Light
dependent resistance making the resistance 0, hence logic 0 is
sent in the input line D0.When a basket is scored the laser
falling on the LDR is interrupted causing the LDR resistance to
increase and making the input line D0 logic 1 after going
through the comparator. This input is sent to the 8085 through
input buffer after processing it increments the count and
displays it on the 2 seven segment displays.
Everytime a basket is scored the count is incremented and
displayed on the displays, hence working as a score counter.
HARDWARE DEVELOPMENT
1.LIST OF COMPONENTS PART DEVICE PACKAGE NUMBER
8085 8085 DIL 40 1
RAM 62256P DIL 28-6 1
ROM AT28C256 DIL 28-6 1
CRYSTAL CRYSTALHC49US HC49US
8-bit latch 74HC573N DIL20 3
3X8 DECODER 74HCT138N DIL16 1
Octal BUFFER 74HC244N DIL20 1
2X4 DECODER 74S139N DIL16 1
OP AMP LM358N DIL08
NAND gate 7400N DIL14 1
LED LED5MM LED5MM 3
7 SEGMENT LED DISPLAY
HD-H101 HDSP-M 2
RESISTOR R-US_0204/7 0204/7 31
CAPACITOR C-EU025-025X050 C025-025X050 15
OMRON SWITCH
10-XX B3F-10XX 2
CONNECTOR M02 02P 1
PRESET PRESET_LR PRESET_LR 1
USB CONNECTOR
USB(POWER) USB(POWER) 1
LASER
1
LDR
1
CONNECTING WIRES
Board layout
SCHEMATIC
BOARD BOTTOMSIDE
BOARD TOPSIDE
CODE AND FLOWCHART
PREPARE LOOK UP
TABLE FOR SS DISPLAY
INITIALIZE STACK
POINT HL TO 1ST LOOK UP TABLE LOCATION
INITIALIZE SEVEN SEGMENTS TO DISPLAY 00
CHECK
BASKET NO
YES
INCREMENT HL PAIR
OUT TO TENS SS DIPLAY
INCREMENT HL PAIR
OUT TO ONES SS DISPLAY
0.5 SECOND DELAY
99 ON SS
DISPLAY
NO
YES
END
TESTING AND DEBUGGING 1. For testing the board,1st the ‘SID-SOD line test ‘ was conducted to
check the working of RAM ,ROM ,8085, demux Latch. This test failed
in the 1st attempt but ran successfully after changing the ROM hence
the ROM was replaced by a new one.
2. Rest of the ICs and the seven segment displays were tested by
measuring voltage using the multi meter. The results were satisfactory.
3. To test the connections and soldering of the board, programs to display
different numbers on the displays were written in the ROM and run but
different numbers were being displayed. This error was removed by
resoldering the displays along with their resistors and latches.
4. Input LDR circuit was verified by checking the input LED connected
btw ground and output of LDR circuit. Appropriate reference voltage
was set using the trim pot.
GANTT CHART REVISITED
ORIGINAL GANTT CHART
FINAL GANTT CHART
CONCLUSION
Overall, it was a good learning experience on how useful things can be
created using microprocessor and other components. It gave an
understanding of how hardware and software can combine with and
complement each other to give us useful products.Facing different problems
and then soving them in course of completing the project have helped us
develop skills to understand problems and then devise effective solutions to
remove them..
BIBLIOGRAPHY
.Ramesh Gaonkar, Microprocessor Architecture, Programming
and Applications with the 8085, Sixth edition.
.Datasheets of all components used
ACKNOWLEGEMENT We are grateful to Prof. Dhananjay V Gadre who gave us the
opportunity to present our project as part of EC 316 course and
supported us throughout the development of our project. We would like
to thank our friends who gave us constant moral support during
preparation of this project. Special thanks to CEDT members especially
Abhishek Kapoor for their constant support. Last but not the least,
thanks to our families for supporting us.
TOOLS USED
SOFTWARE TOOLS:
1. EAGLE 6.60
2. 8085 simulator IDE oshonsoft
3. Jubin 8085 simulator
4. EEPROM programmer.jar by anshuman Mishra
HARDWARE TOOLS:
1. EEPROM programmer
2. older iron
3. Multimeter
4. Solder station
5. Tweezer
6. Cutter