The Reaction Game - Arduino Project

Introduction: The Reaction Game - Arduino Project

The reaction game is exactly what the name says, it tests your reaction speed. You might be asking what benefits could this server outside of entertainment, well you can use this for individuals in rehab from surgery or accidents. Their reaction speed would health and physical progress after medical operations. My inspiration for this final project is from grade 10 computer engineering. I made a similar reaction game however, at that time I had no LCD monitor, different time tracking method, buzzer, and led tracer. In addition, the premise of that reaction game was competitive as there were two players who could compete to see who would press the button first. Remember all of this is customizable even the schematics (in terms of pins/hardware configuration, the code tends to be pretty similar).

Step 1: Gather the Following Supplies

All of these supplies are important and not only attribute to a functional reaction game like the one presented in the title page but the led tracer and LCD monitor depend on such parts. You may find the costs for all the specific components through the following link:

Link: https://docs.google.com/drawings/d/1gNFjccMXgB8mqSamJjh7g89piCwZKZl2_HvUOmjd2Eg/edit?usp=sharing

Step 2: LED Tracer Schematic and Creation

It's best to get the easier task out of the way right off the bat. With the schematic being provided above, the task at hand is to use a 555 timer in astable mode to pulse the 4017 Johnson decade counter. Since the LED tracer requires no code and simply runs on its own. Only requiring a connection to power and ground through the breadboard from the arduino. I personally used 12 leds through 6 inputs of the Johnson decade counter, however, you can choose more as you see fit. In addition, the capacitor that is part of the led tracer circuit can be manipulated to change the led fade transfer speed. The white wires coming out of the Johnson decade counter in the tinkercad circuit image above are connected to LEDS which is completely customizable and up to the person.

Step 3: Wiring the LCD Monitor

Attached you will see the schematic for the LCD monitor connected to the appropriate pins. Keep you eyes out for these pins later because they will be important for the coding aspect of this game. In addition, you can connect a potentiometer to the LCD monitors CONTRAST pin but that is completely optional and doesn't effect the code.

Step 4: Setting Up the Core Reaction Game Parts

There is also a schematic above for the reaction game and third unique circuit connected to the arduino. The components used are simply the two 10k ohm resistors, one 330 ohm resistor, piezo buzzer, and two push buttons. Be cognisant to properly ground and power the buttons, leds, and buzzer whilst connecting them to appropriate pins.

Step 5: Setting Up the Code

The arduino code file is attached. This is where you make sure to connect match the pins of all the components to that of the code or more simply adapt the code such that it meets these requirements, otherwise, it will not function. Do not try to copy the code in the image, that is only visually representing this step and is only a fragment of my full code. Once you're done, compare how your reaction game runs compared to mine!

Be the First to Share

    Recommendations

    • Organization Contest

      Organization Contest
    • Made with Math Contest

      Made with Math Contest
    • Robots Contest

      Robots Contest

    Comments

    0
    AndreeaE1
    AndreeaE1

    3 months ago on Step 5

    what an awesome project!! Just needs a case and external power source:)