This Raspberry Pi project is seriously delicious. Harrison McIntyre is using his time in lockdown to create a Pi-powered candy launcher that shoots M&Ms at his mouth from across the room.
McIntyre's creation has a Raspberry Pi receives voice commands by using an Amazon Echo Dot. When triggered, it uses a camera to detect a face and determine how far away it us before launching candy toward the face.
McIntyre had to work out the logistics of how to accurately project candy along the best trajectory. He opted to use regular M&Ms because of their consistent shape and size. The launching device can swivel and tilt up or down.
Other similar projects use a spring-loaded mechanism for launching; however, McIntyre opted for a flywheel design. This proved to be an excellent move, providing better control over velocity without the reload time that comes with using a spring. With everything together, McIntyre could control the angle, velocity and direction of each launch.
This project was built using a Raspberry Pi 3, but other editions should work just as well.
There's a lot that goes into this project, from setting up a number of servo motors to 3D printing the chassis for the launcher.
You can check out a complete breakdown of this project on YouTube:
If you enjoyed this project, be sure to check out Harrison McIntyre's YouTube channel for more projects and future updates on this one.
Stay on the Cutting Edge
Join the experts who read Tom's Hardware for the inside track on enthusiast PC tech news — and have for over 25 years. We'll send breaking news and in-depth reviews of CPUs, GPUs, AI, maker hardware and more straight to your inbox.
Ash Hill is a Freelance News and Features Writer at Tom's Hardware US. She manages the Pi projects of the month and much of our daily Raspberry Pi reporting.