Arduino Button Activated Treat Dispenser

For my Digital Multimedia class final, I created a treat dispenser that is activated by pulling a chain, which starts a servo motor that spins a wheel to dispense treats to my to African Grey parrots.

Arduino Button Activated Treat Dispenser

Step 1: Gather Materials

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]

Materials you will need:

Order Online:

  • Creative Foraging SystemsGeneration II Wheel (Link here)
  • Servo – Generic High Torque Full Rotation, Standard Size (Link here)

Purchase at Radio Shack:

  • Arduino Uno
  • Standard wire
  • Button
  • Wire shrink tubing (optional)
  • Break away strip male headers
  • Soldering iron

Purchase at Home Depot:

  • Toilet flush lever
  • (1) 5/16in hex nut
  • (1) 5/16in hex head bolt
  • (1) 5/16in hex lock nut
  • (4) 5/16in washers
  • Spacers
  • Epoxy
  • Screen door rollers
  • Plastic box to contain everything
  • Some spare wood


  • Drill
  • Forstner drill bits
  • Saw [/box]

Gather Materials

Step 2: Construct Button

1. Cut two strands of wire around 6in long.
2. Solder one of the ends of the wire to the connection points of the button.
3. Cover the soldering points with wire shrink tubing to protect the circuit from becoming accidentally crossed and shrink them using the side of your soldering iron.
4. If you’re using the shrink tubbing, cut two more pieces and add them to each of the wires.
5. Solder the remain ends of the wires to a break away male strip header.
6. Shrink the tubing around your soldering points using heat from the side of the soldering iron.

Step 3: Construct the Servo Connector

Since the servo connector is a female wire connector with three inputs, you will need to construct a male wire connector with three outputs or you can buy one.

1. Cut three strands of wire around 6 inches long. Using three different color wires (black, white, and red) will help you later to tell each wire a part (ground, power, etc.)
2. Solder three ends of the wires to break away male strip headers.
3. Apply shrink tubbing to these connections.
4. If you’re using the shrink tubbing, cut three more pieces and add them to each of the wires to be heated later.
5. Solder the rest of the ends of the wire to break away male strip headers and shrink the tubbing abound the soldering points.


For more detail: Arduino Button Activated Treat Dispenser

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top