A memory game with matchbox cars, an interactive game for a computer with no buttons. Players need to remember the order that cars are shown and present the correct cars to the computer in order.
The project requires some wires and just a few other parts;
- Sparkfun "Pro Micro" Arduino compatible board.
- Nokia 5510 LCD screen. Available from Adafruit or Sparkfun.
- MFRC522 reader. Available from Amazon.
- 330 Ohm resistor.
- Matchbox cars with plastic bottoms, metal parts interfere with the RFID antenna and will not work.
- Some Mifare classic RFID stickers.
- 7 - SS RFID
- 8 - RST RFID
- 20 (A2) - SCE Screen
- 19 (A1) - RST Screen
- 18 (A0) - D/C Screen
- 15 - SCLK Screen & RFID
- 14 - MISO RFID
- 16 - MOSI Screen & RFID
- 10 - LED Screen Backlight (PWM) (w/ 330 Ohm resistor)
Install the following Libraries using the Arduino IDE;
- "Adafruit GFX Library"
- "Adafruit PCD8544 Nokia 5110 LCD library"
- "MFRC522"
Images must be less that 84x48 pixels and monochrome. Included images were created using Gimp and coverted to the appropriate binary format using http://javl.github.io/image2cpp/
Note: images must have an width that is a multiple of eight. Not sure entirely why, mostly likely has to do with byte alignment.
minicom -D /dev/tty.usbmodem1412241 -b 9600
https://github.com/miguelbalboa/rfid
https://github.com/adafruit/Adafruit-GFX-Library
https://github.com/adafruit/Adafruit-PCD8544-Nokia-5110-LCD-library