Instructables
Picture of ButtonHero
CIMG1446.JPG
ButtonHero Start Screen.png
ButtonHero is a game made on an Arduino that involves the use of buttons, LEDs, wires, and resistors. In this game, you have to hit the corresponding button to the light that is randomly selected before the light changes. You start with 5 lives and missing or being too slow subtracts one life. The high score is 56. Good luck!


Video of the Serial Monitor of the same game: http://screencast.com/t/PTaS3JwUu
 
Remove these adsRemove these ads by Signing Up

Step 1: Supplies

Picture of Supplies
Supplies include:
• 4 LEDs
• 4 pushbuttons
• 1 Arduino (we used a Dueilanove)
• 4  8.2kΩ resistors
• 4  100Ω resistors
• 4  0.56kΩ resistors
• lots of wire

Step 2: Schematic

Picture of Schematic
Here is the schematic for ButtonHero. The Fritzing file is also attached.
doug2.01 year ago
ARDUINO DOUGSTER 123456789
doug2.01 year ago
dude you totally copied this doug. i had this idea before you but you posted this first. youre a phony. A BIG FAT PHONY
Biggimac1 year ago
I noticed that you used random insted of true random. If you use the "normal" random it will use the same sequence. Therefor it is not really random. Thankfully on the arduino site you can get the true random! Great idea.
Great work !!
How come you didnt hade debouncing or interrupts ???
maewert1 year ago
Nice 'ible!
One suggestion to make it easier is to eliminate the 8k2 resistors and the 560 ohm resistors by using the arduino's internal pull-up resistors on the input pins and wire the buttons to ground when pressed instead of 5v (and change the SW appropriately). Saves 8 resistors.

Best Wishes
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!