The ‘Confectionery Cannon’ Finds Your Face And Shoots Marshmallows At It

It was developed by a team of engineers at Olin College.

By | Boston Daily |
Image via ConfectionaryCannon.com

Image via ConfectioneryCannon.com

The days of throwing marshmallows into your friend’s mouth to see if they can catch them are no match for the face-detecting cannon that launches the soft, white food across the room.

Developed by mechanical engineering students at Olin College in Needham as part of their fall semester final project, the “Confectionery Cannon” can seek out targets before blasting them with a marshmallow at a reasonable speed. It even reloads on its own.

Why create something that shoots marshmallows at peoples’ noggins? It was an assignment, of course. But it’s also extremely entertaining to use.

All it took to put together the device was some coding, tinkering with electronics, a PCV pipe, and a $250 budget.

“To control our mechanical and pneumatic system we developed a robust electrical system. We use a custom protoshield on our Arduino to connect and control our four servos, and we trigger our pnematic launcher by controlling a solenoid on a sprinkler valve,” the inventors wrote on their website.

They then used an OpenCV program, along with a webcam, to create the face-tracking technology that allows the cannon to seek out its intended target.

Part of their “Principles of Engineering” class, the four students behind the Confectionery Cannon designed the entire system using tools offered at the school, including laser-cutting technology to construct certain pieces of the gun.

Check out the video below to see the cannon in action:

  • Rekan Mustafa

    Anyone knows how to fix an Error in fir1 on MATLAB for a MAC OS user? I think fir1 is not being recognized