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.
Step 1: 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