Mario 64 Cake Timing Light Game
Introduction: Mario 64 Cake Timing Light Game
Welcome to my Mario 64 Cake Carnival Timing Game! The cake is modeled after the end screen in Mario 64. The active light moves around the cake in a circle. The goal of the game is to stop the light on the star by pressing the button on the cake cutter. The game gets more difficult after each success by incrementing the level and speed. An LED matrix in the center of the cake is used to display the level. All of the electronics are inside the cake and cake stand. If you fall below zero you'll get a sad face, but reach level 10 and get a bright smile!
Step 1: Supplies
- Arduino Nano
- Eight red LEDs
- One yellow/orange LED
- Arduino push button
- Two 220 ohm resistors
- Half size breadboard
- USB power bank
- Arduino Nano power cable (needs to be small)
- Two 20 cm male to male wires
- 20 10 cm male to female wires
- One Short male to male wire
- Tape
- 3D printer
- Clear Filament
- White Filament (or another color you can paint over)
- Paint
- Arduino IDE
- Soldering equipment
- Saw/other method of cutting a breadboard. (This can be substituted by printing a larger cake)
Note: I have not necessarily bought products specifically from these links. They appear similar.
Step 2: Print Parts
Print eight "CakeLEDStrawberries" in clear filament. You may need to adjust the scale slightly because of different printing tolerances.
Print the "cakeLEDstar" and "matrix balance bottom" in clear filament.
The "cake scoop" can be printed in silver or in white, then painted silver.
Print one of everything else in an easily paintable color (white is best).
Only the "CakeStarPipe" should be printed without supports.
Step 3: Paint Parts
Painting the cake base simply requires following the depicted colors; yellow, white, brown, and dark brown. The sign should have dark and light brown stripes horizontally across it. For further reference, search "Mario 64 ending cake".
The pole should be painted or printed white.
Painting the clear parts requires some testing. 769
You'll likely need 3+ layers of white on the strawberries' whipped cream to block the light. The red will require judgement to see how many layers it takes to best let the light through. For me, it took two layers. If you don't like the way details in the paint show up, you may also want to leave the strawberries clear. I found that the inaccuracies of paint layers when light shines through aren't too problematic, since the lights are only on for a maximum of 2 seconds.
The star required one layer of yellow paint and then black for the eyes.
If you didn't use silver filament on the cake cutter, paint it silver.
Step 4: Soldering
Straighten all four pins on the button. Solder two 20 cm male to male wires to the button. Then, thread the wires through the cake scooper so the button locks in. If necessary, add electric tape to prevent a short.
Step 5: Breadboard Reference
I will refer to the parts of the breadboard with these names.
Step 6: Cutting Breadboard
Using a saw, cut down the center divider of the half-size breadboard. Optionally, cut off the extruded bits on the breadboard with a dremel or saw. This step is necessary for the breadboard to fit easily in the cake.
Step 7: Electronics Button Setup
Place the Arduino Nano as seen in the image. It's important to place it in the middle to leave space for the power cable on one side and the wires for the button on the other.
Use two 10 cm female to male connectors to wire Arduino pins D13 and 3v3 to separate, empty terminal rows. They must be on the opposite side of where the power cable is inserted.
Take the wires attached to the button and put one in the terminal row connected to the D13 pin and one in the terminal row connected to the 3v3 pin.
Place a 220 ohm resistor from the column which D13 is wired to into the nearest bus strip (the long connections on the edge of the breadboard).
Use a short cable to attach the GND pin to the nearest bus strip.
Place a 220 ohm resistor connecting the two bus strips. Normally, each LED should have it's own resistor, but because only one LED is on at a time, one resistor is sufficient.
Step 8: Electronics Matrix Setup
Attach 20 cm female to female connectors to the A4, A5, 5V, and GND pins. 635