Our group built a candy launcher with a motion sensor. In the beginning, we wanted to automate the process so that it would only take a coin for someone to use our machine. Using this, we set up an Arduino and connected it to both a servo and a motion sensor, and programmed the servo to rotate when it detected motion. We then 3d printed a box and coin slot to hold the setup. We mounted carrier on the servo so that when activated, the servo would launch candy at the person who dropped the coin.
Overall, this project was great in teaching the importance of prototyping and iterative design. Our first design was built out of cardboard and didn’t work at all. The sensor was constantly triggered and the entire body of the dispenser was unstable. In the second attempt around, we 3d printed the body as well as mounting the servo on the outside of the box. This made the entire dispenser significantly more sturdy and allowed us to create a larger angle of motion when launching candy at unsuspecting children.
The initial candy launcher design
Milo (left), Jeff (left, obscured partially by Milo) and I (right) having a group discussion about the arduino code.
Two (comedic) drawings of group interactions that took place while I was sick.
A quick design sketch I presented to the group
A drawing Madison made to commemorate the last work day.