Step 5: Simon Sings - a sound-enabled version of Fairly Simple Simon
To build it you'll need:
1 x Arduino
5 x Pushbutton (4 for the game, 1 [optional] for reset)
4 x 10k Ohm Resistor (pull-up for the pushbuttons)
4 x LED (different colors)
4 x 330 Ohm Resistor (for the LEDs. Not optimal, but works)
1 x Toggle Switch (optional mute switch)
1 x Piezo Speaker
See breadboard diagram below.
The jumper colors are the same in the diagram and the photos, but in the breadboard diagram, the arduino is rotated 180 degrees (relative to the way it sits in the harness), because it makes the diagram tidier.
In real life, led and button jumpers cross each other in a colorful mess. This is why I've decided to put the reset button on the board. There's also a mute switch (my wife loves it).
simon_sings.zip is the game's code.
simon_sings_check_wiring.zip is a utility to help you figure out which LED/button jumper should goe where (there are instructions in a comment inside the code).
If you mod it in an interesting way, please let me know.
Enjoy,
@TheRealDod
Remove these ads by
Signing Up























Not Nice















Visit Our Store »
Go Pro Today »



