Singing Teddy Bear
I made a little bear sing the home alone song by using a piezo buzzer and a simple push button.
Downloads
Supplies
- Arduino
- Breadboard
- Piezo Buzzer
- Push button
- Wire extenders
- Wires
- Electrical Tape
- Cute teddy of your choice
An Arduino starter kit has everything you need except the teddy!
Create Your Circuit
Start by setting up your circuit like this. I started by using just the breadboard and no extending wires to be sure I had everything working before a potential short could take place in the extenders. I suggest adding more wires when you are confident that your circuit will work at that basic level.
Input This Code Into Arduino
This code (if you have completed the step above correctly) will buzz the home alone song when the button is pressed. If you are sure your circuit is working but the melody will not play, ensure you have the file pitches.h included in a second tab within the Arduino code interface. I have included that file separately but hopefully it uploads with the teddy bear code!
Add Extender Wires
When adding extender wires to components and other wires, I used electrical tape to keep everything in place so that it wouldn't break the second someone touches it. This is just how I did it but you can do this however your brain understands it best because it can get confusing with so many wires.
Put Your Components in the Bear
Carefully put all of your components in your bear however you like. I put the buzzer in the front of his belly so you could hear it well and I put the button in his foot like most singing bears have. I simply cut the stitching on his back for the buzzer and weaved it through the stuffing. For his foot I put a hole near the bottom and threaded it through the bear.