Piñatas are tragic, beautiful creatures, used once in a carnival of destruction, then tossed out and forgotten. This guide demonstrates how to modify a piñata so that it can be filled and refilled with candy over and over again.
This piñata also has an attitude, and can be programmed to respond, when hit, with sound effects or pre-recorded taunts.
A servo motor is hidden inside the body of the piñata, allowing a trap door in the bottom to be mechanically opened. A Circuit Playground Express sits on its back, allowing the use of either MakeCode or CircuitPython to program and customize the behavior.
Want to give your electronics a layer of protection? This enclosure case is a great way to protect your Circuit Playground Express from a swinging bat.
The Piñata
Most any piñata can be modified to work with the electronics listed above, however the exact piñata used for this project can be found on Amazon.
Other materials you will need:
- A paperclip
- Double sided foam tape
- Clear masking tape
Text editor powered by tinymce.