Gum Ball Machine

by Mattszekely in Living > Toys & Games

215 Views, 2 Favorites, 0 Comments

Gum Ball Machine

IMG_1942.PNG
Gum Ball Machine

I built a gum ball machine. It is powered by a CPB and battery pack, and controlled by a potentiometer. I have attached the code I used below.

Supplies

  • 1/8" Birch Wood
  • Battery Pack
  • Gum Balls
  • Circuit Playground Bluefruit
  • Mason Jar
  • Potentiometer
  • Laser Cutter
  • PVC pipe, elbow

Laser Cut Box

C46400EF-7AF4-4782-9D3C-0F632263AE21_1_105_c.jpeg
Screen Shot 2022-05-04 at 3.25.54 PM.png

Using Makercase.com, make an open ended box. My plans are in the picture above.

Next, use a laser cutter to cut the box out.

Finally Assemble the box. Glue may be necessary.

Make sure to cut out a small hole at the top/front of the box for the potentiometer tip to come through. Cut an additional rectangular hole at the front of the box for the 3D printed piece to go.

3D Print Piece

Screen Shot 2022-05-04 at 3.31.40 PM.jpeg

3D print a rectangular piece like the one above. The rectangular cutout should be large enough to squeeze your servo in, but small enough that the servo does not slip out (you can use glue to secure it). The round hole should be large enough for a gum ball to easily pass through.

Glue this piece to the hole that you cut in the front of your box.

Set Up Servo

67DFA089-1127-49A4-8136-DC1DE2E62D82_1_105_c.jpeg
Screen Shot 2022-05-04 at 7.09.13 PM.png

Assemble the servo and plug its wires into your CPB. Then place the servo in the rectangular cutout in the 3D printed piece. Try to have all wires concealed within your box.

Set Up Potentiometer

Screen Shot 2022-05-04 at 7.15.13 PM.png
Screen Shot 2022-05-04 at 7.15.36 PM.png

Attach your potentiometer to the CPB. Place the knob of the potentiometer through the hole at the top of your box - it should be visible when looking at the box.

PVC

Screen Shot 2022-05-04 at 7.10.15 PM.png

Place the PVC piping in the box so that is allows passage of the gum ball from the mason jar to the 3D cutout.

Set Up Mason Jar

Fill your mason jar with gum balls, and place it on top of the hole (at the top of your box).

When you do this, a few gum balls should fill the passage.

Clean Up Box

Make sure all wires and devices are concealed under the box. You may need to use tape or glue to secure device within the box.

Try It Out!

After attaching the battery pack, turn it on and test it out!