Introduction: Super Mario Gumball Machine

Picture of Super Mario Gumball Machine

This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)

This is an instructable detailing how to create my Super Mario themed Gumball machine. This machine works like the question blocks in the Mario games, so if you hit the bottom of the box, a gumball shoots out of the top.

Materials needed

Step 1: Wiring Up the Components

Picture of Wiring Up the Components

Connect everything as shown above. The buck type voltage regulator I bought had a USB output, which I connected directly to the Arduino for power. Use long wires to connect the LED and vibration sensor so they can be placed apart from the breadboard.

Step 2: Programming the Arduino

Picture of Programming the Arduino

Write the above code to the Arduino

Step 3: 3D Printng

Picture of 3D Printng

Print the stl files. The units should be in inches.

Step 4: Laser Cutting

Picture of Laser Cutting

Laser cut the above pattern into the MDF board or wood of your choosing to make the outside box.

Step 5: Assembly

Picture of Assembly

Glue together the four notched sides of the box. Then, put the Arduino, breadboard, and voltage switcher in the black project box. Cut a hole in the lid of the project box to pass through the wires for the sensor and the solenoid. Cut the fabric into a square a little larger than the bottom of the box, and glue it to the very bottom with hot glue, passing the power cord out the bottom . Hot glue the sensor in the middle of the fabric bottom, then cover with a layer of cotton stuffing. Slide in the bottom wood plate above the pillow, passing the sensor wires through. Use screws to hold the bottom plate in place, having two screws on one side to also attach the angle brackets. Assemble according to the 3D model, and similarly use screws to hold up the top and attach the angle brackets. I decided to forego the LED, though it can be implemented if desired. Screw the box to a wall with the angle brackets. Decorate as desired. Fill the piranha plant head with gumball, plug in, and enjoy! Light taps to the bottom pillow will dispense gumballs.

Comments

wold630 (author)2016-05-06

Cool! It would be great to see some steps/photos on assembly!

About This Instructable

141views

0favorites

Add instructable to: