1 / 31

Laser Shoot-Out Game

Laser Shoot-Out Game. By Steven Noto and Laura Miller Advisor Steven Gutschlag May 2, 2000. Senior Project Final Presentation. Introduction, Background System Description and Completed Hardware Software Functions and Completed Software Results Questions. Presentation Outline.

aizza
Télécharger la présentation

Laser Shoot-Out Game

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Laser Shoot-Out Game By Steven Noto and Laura Miller Advisor Steven Gutschlag May 2, 2000 Senior Project Final Presentation

  2. Introduction, Background System Description and Completed Hardware Software Functions and Completed Software Results Questions Presentation Outline

  3. Project Introduction • Laser "shootout" game • Based on fabled “Old West” gunfights • Two players with handheld weapons face off • Wait for "Draw!" signal and start shooting • First to score a hit within 6 shots wins

  4. Project Background • Other groups that have done the project • Two groups, in 1997 and 1998 • Made progress on weapon hardware and software

  5. Chris Rockhold’s 1988 Patent Electronic Shootout Game 1988

  6. System Block Diagram

  7. Central Controller

  8. Display

  9. Weapon

  10. Laser Transmitter and Receiver 50 kHz TTL Oscillator Reflective Target Microcontroller Laser Photo Diode On/Off Keying Detector Current to Voltage Converter Comparator Amplifier

  11. Amplifier and OOK Output I Output of On/Off Keying Circuit Output of Amplifier

  12. Amplifier and OOK Output II Output of On/Off Keying Circuit Output of Amplifier

  13. Microcontroller and OOK Output Output of Microcontroller Output of On/Off Keying Circuit

  14. Hardware Progress • Completed Weapon Hardware • Laser receiver • Current to voltage converter • Amplifier • Comparator • On/Off Keying • Laser Transmitter • AND gate • Function generator

  15. Functional Description • Sample game walkthrough: • A “referee” starts the game at the central controller • Both players press “ready” buttons on their weapons • Display boards show a countdown • After the “Draw!” signal, the first player to score a hit within 6 shots wins!

  16. How the Game is Played Display 1 Display 2 BANG WINNER! LOSER Dr. Huggins Dr. Ahn Central Controller

  17. Project Software Overview • Central Controller: • Must control game and watch for victory conditions • Display Boards: • Must display ammo count and win/loss • Weapons: • Must transmit laser signal, receive the reflection, and determine if a hit was made

  18. Software Progress • First step: • Learning the Keil PK51 Package • Second step: • Using the MMT-52 microcontroller board • Third step: • Writing the software

  19. Keil Software I • First step: Keil PK51 Package • uVision Compiler/Assembler • Assembly and C code • Projects and single file programs • Debugging support • Tutorial and sample programs • Good documentation, so-so help files

  20. Keil Software II • Keil PK51 Package, continued • dScope Simulator/Monitor Interface • Simulates 805X and runs with Mon51 • Good debug interface • Many new features- A big step up from RChipSim!

  21. dScope

  22. Testing Evaluation Board • Second step: MMT Microcontroller • MMT-52 Evaluation Board • 80C52 microprocessor • Mon51 monitor • 82C55 input/output chip • 7-bit DIP switch • MMT-EXP Expansion Board • A/D, D/A, LCD, serial ports • Not used in this project

  23. Comparison: EMAC vs. MMT • EMAC 80C535 • Built-in LCD and keypad • Limited access to ports • More interrupts and timers available • MMT-52 • LCD and keypad available as expansions • 82C55 provides easy data I/O • Can be programmed solely in C

  24. Writing the Software • Third step: Let’s write some software! • Test programs: • 82C55 for input/output • DIP switches for weapon ID input • Push-buttons for trigger, etc • Interrupts for weapon-to-display communication

  25. Weapon Software • Weapon software: • Used the MMT-52 board • Written in C code • Laser interface routine • Shift data out serially • Wait for data in • User interface • “Wireless link”

  26. Display Software • Display software: • EMAC board, for built-in LCD • C code with some assembly functions • Interrupt routine for communication from the weapon • Running Keil with two microcontrollers • Mon51 driver copied and renamed • Both COM ports used

  27. Results • Completed the hardware and software for the weapon and display board • Learned that LM318’s used as amplifiers can easily become oscillators • Learned the Keil PK51 package • Built a foundation for using the MMT 8052 board in future projects

  28. Questions? Electronic Shootout Game

  29. Current to Voltage Converter

  30. Amplifier Stage

  31. Comparator Stage

More Related