Memory Game Expansion Pack

The Memory Game @ShrimpingIt kit is an Arduino-compatible project which replicates the behaviour of an old-school 80s MB Games’ Simon,(AKA Simon Says). You can build it yourself from a handful of components by pushing them into a solderless breadboard, or solder it to stripboard for a more permanent game. See below for the build, code and behaviour, and visit the kit pages for pricing

simon

This page provides everything you need to build a @ShrimpingIt memory game from a bagged kit, as well as to source the parts for your own kits if you want to buy them for your school or hackspace.

First, build the circuit, referencing the diagram above, (which is bagged with our kits) and taking note of the following.

The circuit is based on two 170-point mini-breadboards placed next to each other. Best to insert the chip and the buttons first. The buttons have small black plastic nodules underneath them which can distance them from the breadboard, and these should be removed to get the best contact. You can bend these nodules off with a pair of pliers. Be careful not to cut the pins off the buttons if you use wire cutters! Four of the six legs on the buttons need to be bent a little to fit as shown; on the outside, the legs need to be flattened a little, making them flush with the sides of the buttons, whilst on the inside, the legs need to splay out to reach over a gap. The two remaining, thinner legs, are attached to the built-in LED. A red painted dot is there as an indicator mark showing which is the negative pin. It can be handy to use a probe, such as a cocktail stick or long-nose pliers, to line up the button and LED legs with the proper holes, before pushing the button down into its final seating position.

To program the device, makers should install the USB module drivers from here, and then follow the basic instructions to get started with Arduino. You will be using the CP2102 usb module attached to the @ShrimpingIt circuit as a substitute for an official Arduino Uno board throughout the instructions. They are binary- and pin-equivalent to each other.

You need to install the rtttl library, (which plays the rtttl tunes as part of the system), into your Arduino IDE by downloading the zip from the repository, and following the library installation instructions from the Arduino team . Ignore the part headed ‘Automatic Installation’ and look for the part headed ‘Manual Installation’. It is the folder called ‘rtttl’ which you need to drag into your ‘libraries’ folder.

Finally you can copy-paste the latest code from github into a new sketch, and then upload it to your circuit. If all goes well your memory game should fire into life.

Further Development

Why not try to change the code by Googling for other rtttl tunes which are more personal to you and putting them into your game. You could change the game behaviour altogether, making it into a quiz buzzer which indicates which was the ‘fastest finger first’. Get a set of Arcade buttons and make a housing for your game. For advanced hackers, add an indicator of how many notes you’ve remembered, record the best score into EEPROM and trigger a special behaviour when you’ve beaten your own high score.

Sourcing

You will need to source a Shrimp component kit as a foundation for building the Memory Game expansion pack. The suppliers and approximate pricing for the parts in the Memory Game expansion pack…

Four backlit buttons in Red, Yellow, Green and Blue $0.30 each plus VAT,P&P Available here
Five 100 ohm resistors $0.01 each plus VAT,P&P Available here
One Piezo buzzer $0.11 each plus VAT,P&P  Available here
Two 170-point breadboards $0.58 each plus VAT,P&P  Available here
5 Green, 1 Red, 1 Orange solid core stripped wires

We estimate in total each Simon expansion kit, (excluding the Shrimp components and Programmer which are available separately) costs us £2.57.

7 Responses

  1. kaylai
    kaylai June 23, 2013 at 12:48 pm | | Reply

    Hi there, I can’t seem to find the Linux drivers. Am I missing something? Thanks!

  2. Matt Thornington
    Matt Thornington September 6, 2013 at 10:31 pm | | Reply

    Had to make slight adjustment as my sketch wouldn’t allow import of a library with a hyphen in the name. Hope that renaming it nonblock won’t affect things down the line…

  3. Simon Hedges
    Simon Hedges February 3, 2014 at 9:34 am | | Reply

    Hi,

    The Backlit buttons are no longer available for the Memory Game Expansion Pack, is there another place I could source these???

    Thanks

Leave a Reply