Edit: I've added the ability to restart the game with a different speed or the same speed after the game has been finished. You can view the flow chart of how the game is played below under the Gameplay heading.

Fully populated board

Fully populated board

Front of PCB

Front of PCB

Rear of PCB

Rear of PCB

Gameplay

All digital files that are available, including the schematic, board files, code, and gerbers are located on my GitHub.

Some notes:

Part Where to order Quantity Description
9V Battery Snap Sparkfun Wishlist 1 Power supply for circuit
On/Off Switch Sparkfun Wishlist 1 Turn the power on and off
3.3V Voltage Regulator Sparkfun Wishlist 1 Drop the 9V supply to 3.3V needed for the circuit
Potentiometer Sparkfun Wishlist 1 Adjust the speed that the LEDs flash
10KΩ Resistor Sparkfun Wishlist 2 Pull up switches up to VCC
Pushbutton Switch Sparkfun Wishlist 2 Select buttons to start and stop the game
10uF Electrolytic Capacitor Sparkfun Wishlist 1 Needed for voltage regulation
0.1uF Ceramic Capacitor Sparkfun Wishlist 2 Needed for voltage regulation and for MSP430 voltage decoupling
LED Sparkfun Wishlist 8 Display for game
330Ω Resistor Sparkfun Wishlist 8 Current limiting for LEDs
74HC595 Sparkfun Wishlist 1 Drive 8 LEDs with 3 pins of MSP430
Programming Header Sparkfun Wishlist 1 Allows for in-circuit programming of the MSP430
Female-to-Female Jumper Wires Sparkfun Wishlist 1 Connect programming header to TI Launchpad
TI MSP430 Launchpad Texas Instruments 1 To program the MSP430 chip
MSP430G2231 Texas Instruments 1 Microcontroller to do the hard work
47KΩ Resistor Digikey 1 Pulls RST line up to VCC
Programming hookup

Programming hookup (Explained in step 5)

  1. Download and install the newest version of Code Composer Studio
  2. Download the code file located on my GitHub
  3. Create a new CCS Project in Code Composer Studio
    1. Name it as you wish
    2. On the fourth window, set the device variant as MSP430G2231
    3. Leave everything else as the default values
  4. Right click the new project file on the left side and select "Add Files.." and choose the .c code file downloaded from GitHub
  5. Attach the VCC, GND, RST, and TEST pins as seen above (ensure that only the Launchpad is powering the circuit)
  6. Choose the bug icon to "Debug Active Project"
  7. It should move to the Debug Pane on Code Composer Studio
  8. Press "F8" or the green and yellow button that looks like "| |>" to run the code and ensure it works
  9. Congrats, the MSP430G2231 chip is programmed!

I bought a Printrbot from Kickstarter because I've been interested in 3D printing and thought this was the best and lowest-cost way of doing it myself. When I finally recieve it, I will design a case for this game. I will add the files when I finally make it.

I have also thought about making another version of this game with nothing but surface mount parts. I plan on adding two colors of LEDs so it can randomly pick a position to stop the LED by lighting that position in a different color. It would also have the logic to determine if you've won by matching them or lost by being off. This is currently nothing but an idea but I will but I will put work into it when I have more free time after school is out over the Summer.

I sell on Tindie

Click here to go to this item's Tindie page.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License.