Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "Laser Shoot-Out Game By Steven Noto and Laura Miller Advisor Steven Gutschlag May 2, 2000 Senior Project Final Presentation."— Presentation transcript:

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

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

3 Project Introduction u 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 u 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 Microcontroller 50 kHz TTL Oscillator Laser Reflective Target Photo Diode Amplifier Current to Voltage Converter Comparator On/Off Keying Detector

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

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

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

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

15 Functional Description u 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 Central Controller BANG WINNER! Display 2 LOSER Dr. Huggins Dr. Ahn

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

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

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

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

21 dScope

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

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

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

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

26 Display Software u 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 v Mon51 driver copied and renamed v Both COM ports used

27 Results u Completed the hardware and software for the weapon and display board u Learned that LM318’s used as amplifiers can easily become oscillators u Learned the Keil PK51 package u 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


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

Similar presentations


Ads by Google