Date created: Wednesday, March 24, 2010 8:24:31 PM. Last modified: Saturday, April 4, 2015 10:17:42 AM

Memory Game

Arduino Memory Game;

This rather pants little game flashes a random number on the screen. The player must turn a potentiometer to represent the same number that was displayed and then press a button to confirm their selection. Assuming the number was correct, the original number is then flashed on the screen and a new random number is flashed upon the screen. The player must now use the potentiometer and button to enter the first random number, and then the second random number. Assuming the player gets both numbers correct, they are both flashed upon the screen and then another random number is flashed on the screen after the original pattern and the game continues.

Also there is an LED I used for debugging purposes and never took it out? Doh! And a little Piezoelectric speaker which plays the death march at start up and some noise when a player get the numbers correct.

I used the LiquidCrystal library for this project, I belive these are the correct credits (header file):

Library originally added 18 Apr 2008
 by David A. Mellis
 library modified 5 Jul 2009
 by Limor Fried (
 example added 9 Jul 2009
 by Tom Igoe
 modified 8 Feb 2010
 by Tom Igo

Also I used the Pitches library for the speaker. Kudos to the writers (I just looked up the notes for the death march, header file):

Library originally by Tom Igoe (maybe?)

Here is my wiring diagram (click for larger image):


Finally, here is my project file.

Also, I did make a poor quality rather shaky useless video of this but 'crap' doesn't quite cover the useful rating I would apply to this video;

Previous page: AT Commands - Telit GE863 Specific
Next page: Music Toy