|
GAME PLAY
- Start the game
- The previous FLICKER finishes and triggers our FLICKER or...
- Press the Force Start button.
- Task 1: IR beam
- Disable the security system so that Tom Cruise can grapple down to the computer and download the file.
- Use a finger to block the correct IR beam between an IR emitter LED and a phototransistor.
- Task 2: Grapple
- Get in range of the computer.
- Turn the potentiometer dial clockwise or counterclockwise to raise or lower Tom Cruise within reach of the computer.
- You must lower him right in front of the computer and avoid touching the floor. Otherwise you trip the alarm.
- Task 3: Download
- Download the list of NOC agents from the computer.
- Insert the floppy disk into the disk drive and wait for the file to download. Once the file completes downloading, press the button below the disk drive to eject the disk.
- Alarm
- If Tom Cruise is lowered too far and hits the floor, the alarm will be triggered and the CIA analyst will run to the room.
- The LED map will blink faster and there will be less time to complete the mission.
- Success
- If the user completes all three tasks before the CIA analyst returns from the bathroom (before the final LED in the time map finishes blinking), the user wins!
- Fail
- If the user does not complete all three tasks before time runs out, the user fails!
DESCRIPTION OF FUNCTIONS
SENSORS
- IR Beam (Non-Contact): There are multiple IR LED emitter and IR phototransistor pairs in the "air duct". Only one pair is the correct beam that must be deactivated while the fakes are planted to mislead the user. When the correct beam is blocked or unblocked, the trans-resistive circuit sends a low or high signal to the C32.
- Grapple dial (Analog): A potentiometer dial is used to create a voltage divider circuit to input an analog signal to the C32 microcontroller. The C32 then interprets the analog signal to adjust the speed and direction of the stepper motor which controls Tom Cruise's position. When the dial is at the center line, Tom Cruise is stationary. Turning the dial counterclockwise lowers Tom Cruise. Turning the dial clockwise raises him. Using software, we calibrated Tom Cruise's speed to speed up or slow down depending on how far the dial is turned.
- Disk download (Other): A Single-Pole, Single-Throw push button is placed in the back of the disk drive. When the disk is inserted and ejected, the disk carriage is lowered and raised. This depresses or presses the button and sends a high or low voltage signal to the C32.

INDICATORS
- Start the game
- Task 1: IR beam
- Theme music begins
- CIA Analyst LED time map begins to blink on and off once a second. The LED increments once every 3 seconds.
- The red Situation Indicator LEDs are on to indicate that the security system is activated.
- The IR Beam Stage Indicator LED is on.
- Task 2: Grapple
- The white Situation Indicator LEDs are on to indicate that the security system is deactivated.
- The IR Beam Stage Indicator LED turns off, and the Grapple Stage Indicator LED is on.
- When Tom Cruise is in reach of the computer, the Download LEDs flash to indicate it is ready to download.
- Task 3: Download
- When the disk is inserted, the Grapple Stage Indicator LED turns off, and the Download Stage Indicator LED is on.
- Download LEDs begin to turn on from left to right. After 1 second, the following light turns on.
- Alarm
- White and Red Situation Indicator LEDs alternate flashing.
- CIA Analyst LED time map flashes 3 times as fast and increments to the next LED 3 times as fast
- Success
- Tom Cruise is raised up to starting position.
- White Situation Indicator LEDs flash for 8 seconds.
- Music restarts from the beginning of the theme track and plays for 8 seconds.
- All other LEDs turn off.
- Fail
- Tom Cruise is raised up to starting position.
- Red Situation Indicator LEDs flash for 3 seconds.
- Music turns off.
- All other LEDs turn off.
ACTUATORS
- Stepper Motor
- We used a stepper motor to raise and lower Tom Cruise.
- For his speed, we used software to pulse the stepper motor at a certain rate depending on how far the dial had been turned.
- For his position, we used software to control direction and calculated the number of steps we had already sent to the motor.
- MP3 Player
- Music is controlled by the buttons on an MP3 player. Each button is driven by a MOSFET that acts as an electrical replacement for the mechanical button.
|