We’ve all seen the old Simon Says game, where you try to copy a sequence of lights by pressing the button that corresponds to the correct light sequence. For Hackster Live we showcased a PCB design tool called Upverter. This is a fun and simple project to create and turn into a PCB. Below is the basic project showing the game creation complete with hardware and code.
There are three parts to this project series.
- Part 1: Making the Simon Says Game
- How to lay out a basic project on a breadboard
- How to lay out a PCB in Upverter
- How to mill your own PCB using a CNC machine
If you don't have the Arduino IDE for writing and uploading code to your Arduino, download the latest version for your operating system here.
I used Sparkfun’s Inventor’s Kit example as inspiration for my hardware setup and adjusted it slightly. Check out the Fritzing diagram below.
The fun thing about this game is that you can have so many variations. As I mentioned above, I used Sparkfun’s example as a starting point for my hardware setup and wrote the code from scratch. If writing your own code isn’t something you’re interested in, you can use mine below, use Sparkfun's code in the example mentioned above with a few adjustments, or search for other Simon says games/codes that will work with your hardware setup.
I included detailed comments and the debugging Serial print lines in my code, so that you can see what’s happening on the Serial monitor while the game is running. Check out the video of the Simon Says game in action below!
*Note: In this video I set the number of lights in a row that I needed to win to 5. This can be changed to make the game harder, but I wanted to keep my video relatively short :).
Now you're ready to turn your breadboard into a PCB! Learn how in Breadboard to PCB Part 2 - Designing a PCB using Upverter.