This is a battery powered DIY project with two games. It has 7 push buttons placed on four side of the cube. The two games are very simple. In the first game the task is to turn off all LED-s coming up randomly. In the second game a pattern from LED-s has to be reproduced with shifting the randomly placed LED-s. Every button shifts either two columns or two rows. It is a combination of a puzzle and a Rubik's cube. The retro game cube is controlled by an Arduino pro mini.
Step 1: BOM List:
3 pcs Plastic 1 x 1.5V AAA Battery Cell Case Holder
3 pcs AAA Battery
1 pcs Pro Mini Microcontroller Circuit Board for Arduino (5V / 16MHz)
7 pcs Momentary Push Button Switch 4 Pin DIP Through Hole
7 pcs 10 kohm 1/4W Resistance Metal Film Resistors
7 pcs Screws Nuts
1 Pcs 40 Pin 1x40 Male 2.54 breakable pin header
1 pcs ON/ON 2 Position Double Pole Double Throw Toggle Switch
1 pcs Active Buzzer Driver Module Alarm Device
1 pcs MAX7219 Red Dot Matrix Module w/ 5-Dupont Lines
1 pcs Outdoor Weatherproof Junction Boxes IP55 Terminal Box
1 pcs test pcb
Large Snap Blade Utility Knife
Step 2: Cut the Box
Use drill and knife to cut out the top of the Junction Boxes, and install the display and the Toggle Switch.
Step 3: Install the Buttons
Solder all Push Buttons to the test PCB and use 2 PIN-s breakable pin headers to the opposite side and cut around the button. Place the small PCB into the cable trough blind hole so that the you can still press the button (when you press the cable trough you hear the click sound of the button). Place the Screws Nut to the top of the PCS and glue only the Screws Nut to the Junction Box.
Step 4: Cable the Unit
I did not fix the Arduino board to the box, because so I found easier to handle cables. Cable all the components according to the schematic. I used a mixture of soldering and jumper connection. I used a test PCB for distributing signals mainly GND and VCC.
Step 5: Upload the Attached Software.
For uploading or changing the code download and install Arduino Software.
Use a Crius FTDI Basic Breakout 5V USB to TTL 6-Pin Module for MWC MultiWii Lite module (other downloader could also work), to connect the PC to the Arduino.
I used the following libraries thanks for them, before using check their licencing:
Step 6: Function Demonstration
Here is a video how the RETRO CUBE works.
Have a nice day.