Introduction: BLUE FLAG RESPONSE
This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida.Blue Flag Response is a two player reaction game. The basic concept of the game is for the player to press the push button before the other player. Which ever player wins, a servo motor will rotate a blue flag indicating the winner, while an LED screen displays "Player 1 Wins" if player 1 wins or "Player 2 Wins" etc.
Step 1: Step 1: the Setup
The first step in creating "Blue Flag Response" is to make sure you fully understand the goal of the project. The project itself is a reaction based game where two players are pitted against one another to see who has the fastest reaction time. On the users go, both players will attempt to press the button, the winner (who is fastest) will be shown by the blue flag connected to the servo motor and the winner will be displayed on the LED screen as well. After a 1.5 second delay the game will reset and players can play again.
Step 2: Step 2: 3D Printing for Housing
The Blue Flag Response original design contains a box design with the components inside and the game on the lid on top. 3D printing was used to create the top lid for the housing. Very particular cutouts were used so that the hardware like the LED display and buttons would remain firmly in place. The autocad files will be attached so you can easily recreate the housing.
Step 3: Step3: Arduino Setup
To successfully be able to recreate blue flag response, the circuit schematic must match so that the hardware is connected properly allowing the code to run and the game to come to reality. The three hardware devices used are a LED display, two push buttons, and a servo motor. Make sure your circuit schematic runs properly if not labeled as in the picture.
Step 4: Step 4: Block Diagram
Shown in this step is the block diagram which helps conceptualize the code which will be required to run Blue Flag Response.
Step 5: Step 5: Arduino Code
Here is the project code which is required for Blue Flag Response. The Arduino file has been attached to show complete setup required.
Attachments
Step 6: Step 6: Create Project
At this stage in the process, each element necessary to create Blue Flag Response has been provided, good luck!
Comments
6 years ago
It's almost liike a Jeapordy game, this looks fun :)