F1 Reaction Speed Test




This project was something I was inspired by from an app on my phone. I watch a lot of F1 and I downloaded an app that has a reaction speed test in a similar way to the starting lights in F1. When I needed to make something for my high school engineering class, I thought of that app and made this.
Supplies

Solderless Breadboard
Adruino Nano or Arduino Uno
Wire or Jumper Cables
2x 2 pin Push Buttons
5x LED
3x 220 or 330 ohm resistors
Wire Up the LCD and Breadboard



To start, lets give the breadboard power and also connect the LCD. In the online model that is depicted in this step, we are using an LCD different to the Parallax LCD. The Parallax LCD takes Power, Ground, and connects to the TX0 pin. An image of this is also included.
Place LEDs, Buttons, and Resistors


Now we will place the LEDs, Push buttons, and resistors. Be careful to not place the anode of an led in the same line as another as they will all individually recive power.
Wire the LEDs and Push Buttons to the Arduino


Now, we will wire them all up. Wires connect A1, A2, A3, A4, and A5 to the anodes of the leds from left to right. When we placed the resistors before we grounded those LEDs. Also connect wires from D2 and D3 to the left and right push button respectively. Note, I used an Arduino Nano in real life and that is placed directly on the breadboard. The wires are still connected to the exact same pins but it looks different than with the arduino uno.
Program the Arduino

Now we will code the arduino, again, if you use an arduino uno this code will still work, however with only LCD screens that connect to the TX0 pin and get information from there. Additionally, some commands in the code are specific to the Parallax LCD and there is also a speaker built into the Parallax LCD that may not be present on other LCDs. As far as explaining the code goes, there are concise but descrptive comments on the code that will tell you everything you need to know.
Downloads
That's It!
Use the button connected to D2 to start the sequence, hit the other button when the lights go out and you should have a fun game to challenge you or play with your friends.