Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
ELECTRONIC SHOOTING GAME
MINI PROJECT BASED ON 8085 MICROPROCESSOR
EC-316
Submitted by—
AKSHAY S 21/EC/13
ECE— 1
INDEX
SNO. TOPIC
1. Synopsis
2. Acknowledgement
3. Block diagram
4. Components used
5. Tools used
6. Flow chart
7. Schematic diagram
8. Board Layout
9. Top side view
10. Solder side view and circuit diagram of LDR.
11. Code
12. Conclusion
13. Bibliography
SYNOPSISAIM: To make an electronic shooting game using 8085.
Been to a fair? Must have tried your hands on shooting balloons? Because that’s precisely what we are trying to implement here. Using an
8085 microprocessor we wish to implement a “gun”. The gun when triggered will flash a laser for a short time as an indication of bullet fired. And when it
strikes a board with attached light dependent resistors will turn off the corresponding LED attached to it. But that’s not all! We also plan on
attaching a buzzer to indicate the sound of bullet, and also a counter to display the amount of the bullets you have left to fire!
ACKNOWLEDGEMENT
I would like to thank Professor Dhananjay V. Gadre who really helped me in understanding all the theoretical concepts and related activities time to time and helped me in with its practical implementation. I would like to
thank him for his guidance, and for providing me the opportunity and resources to realize this project. Furthermore he instilled me with
enthusiasm to more forward while correcting me of my mistakes from the project.
I would like to thank my classmates – Gaurav Tyagi, Ankush, Abhishek Pandey, Abhishek Kapoor, and others who worked with me and helped at
each and every point of time I needed help and assistance.
We're always obliged to thank our friends and family for a constant support in times of adversities. This project was definitely a milestone in our
career and we learnt a lot more than just electronics, values of hard work and team work.
BLOCK DAIGRAM
COMPONENTS USED
1. Intel 80852. ROM – ATMEL 28C256 (32K)3. RAM – 62256P4. LATCH – 74HCT5735. DECODER – 74HCT1386. NOT GATE – 74HCT047. NOR GATE – 74HCT028. LASER DIODE9. BUZZER10. 7 SEGMENT11. BUFFER – 74HCT24412. OMRON SWITCH (40XX AND 10XX)13. CRYSTAL 4MHz14. NPN TRANSISTORS – BC54715. USB16. LED 5mm – RED17. MALE CONNECTORES18. RESISTORS (100,330,1K,10K,100K)19. CAPACITORS (22pf, 0.1uf,100uf)
TOOLS USEDSoftware tools
1. EAGLE 7.3.0 – for schematic and board layout
2. 8085 Simulator IDE by OshonSoft
3. EEPROM programmer software.
Hardware Tools
1. Soldering Iron
2. Solder
3. Multimeter
4. +5V DC Power Supply
5. EEPROM Programmer.
6. Cutter, Tweezer, Hand Files, etc.
FLOW CHART
SCHEMATIC
BOARD LAYOUT
TOP SIDE
BOTTOM SIDE
LDR CIRCUIT
CODE MVI A,E6 OUT 28 MVI A,00 OUT 30 CALL CHECK MVI A,FF OUT 28 MVI A,03 OUT 30
CALL DELAY MVI A,00 OUT 30 CALL CHECK MVI A,E0 OUT 28 MVI A,03 OUT 30
CALL DELAY MVI A,00 OUT 30 CALL CHECK MVI A,BE OUT 28 MVI A,03 OUT 30
CALL DELAY MVI A,00 OUT 30 CALL CHECK MVI A,B6 OUT 28 MVI A,03 OUT 30
CALL DELAY MVI A,00 OUT 30 CALL CHECK MVI A,66 OUT 28 MVI A,03 OUT 30
CALL DELAY MVI A,00 OUT 30 CALL CHECK
MVI A,F2 OUT 28 MVI A,03 OUT 30
CALL CHECKMVI A,DChOUT 28hMVI A ,03hOUT 30hCALL DELAYMVI A ,00hOUT 30h
CALL CHECKMVI A ,60hOUT 28hMVI A ,03hOUT 30hCALL DELAYMVI A ,00hOUT 30h
CALL CHECKMVI A, 00hOUT 28hMVI A ,03hOUT 30hCALL DELAYMVI A ,00hOUT 30h
CHECK: IN 18hANI 01hJZ CHECKRETDELAY:
MVI B,C3DELAYLoop1:
MVI C,30DELAYLoop2:
MVI D,4BDELAYLoop3:
DCR D JNZ DELAYLoop3 DCR C JNZ DELAYLoop2
DCR B JNZ DELAYLoop1 RET
CONCLUSION
Doing this project was one of the most memorable and enriching experience. We thank Prof. Gadre for such an opportunity to test our knowledge in practical application.
BIBLIOGRAPHY
1. Microprocessor architecture, programming, and application with the 8085 by Ramesh Gaonkar.
2. Datasheets – www.alldatasheet.com, www.ti.com and https://www.sparkfun.com.
3. The 8085 Microprocessor: Architecture, Programming and Interfacing Author: K.Udaya.