Arduino LED Rocker Game!

13,680

74

4

Introduction: Arduino LED Rocker Game!

This is a simple arduino game, pretty basic but insanely addictive. It's based on the blink without delay example of the Arduino website.

To play, just open the Serial Monitor, and press the button when the middle LED turns on. You'll get three lives before you lose. GOOD LUCK!!

Step 1: MATERIAL

You are going to need:

1. Arduino uno

2. 9 LEDs

3. 10 400ohm resistors

4. button

5. breadboard and some jumper wires

Step 2: The Build

Every LED should be connected with a resistor from pin 2 to pin 10.

Follow this fritz, then connect the button to pin 13 of the arduino (don't forget the pull down resistor).

Connect the ground GND pin to the ground rail of the breadboard

Step 3: The Software

Start with the blink without delay example in order to understand the final project.

Once done, load the final project.

Make sure that the proper board is selected!

Step 4: All Done!

You have three lives, every time you click the button when the light is not on the middle LED, you lose a life.

Once you run out of lives, the game restarts.

When you click the button when the light is on the middle LED, the lights rock faster.

Thank you and good luck!

Digital Life 101 Challenge

Participated in the
Digital Life 101 Challenge

3 People Made This Project!

Recommendations

  • The 1000th Contest

    The 1000th Contest
  • Battery Powered Contest

    Battery Powered Contest
  • Hand Tools Only Challenge

    Hand Tools Only Challenge

4 Discussions

0
R Jordan Kreindler
R Jordan Kreindler

4 years ago

Thank you for this post. I will give it a try. Nicely presented.

0
duly
duly

4 years ago

How much voltages

0
Joe_barhouch
Joe_barhouch

Reply 4 years ago

5v is required for the LED to work