3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

AutoFrost CNC Cake Decorator

AutoFrost CNC Cake Decorator
Inspired by a misconception of a "Cupcake CNC", this 1-semester mechatronics project takes input from a Paint-like GUI, sends commands through Arduino, and runs via stepper motors on threaded rods.

The software is all in Python, using TKinter. It allows for the selection of size (up to 11x13" rectangular), shape (rectangle or circle), and cake color, then opens an appropriate canvas with a pallette of tips and colors. The Python records points in a path and, at the press of a button, sends the design over serial to two Arduinos.

One of the two Arduinos controls the stepper motors (controlling threaded rods in X and Y) to move at a constant speed between points in the path. The other Arduino runs a servo in the Z axis, which uses a rack-and-pin plunger system to dispense frosting. The servo stops to pick up between points or pauses for color/nozzle change.

The acrylic plate which holds the cake is affixed to a nut which rides on the x-axis threaded rod; the dispensing mechanism moves in the y axis. These two axes are also controlled with limit switches, which comprise the zeroing mechanism. There is also a manual z axis which moves the dispensing mechanism to adjust for the height of the cake.

This product is all the original work of five students in a class at Franklin W. Olin College of Engineering. It was featured in Wired magazine, Gizmodo, and elsewhere. We were all just learning Python, had been introduced to microcontrollers a few weeks earlier, and had only a little experience in the machine shop. We made it from SolidWorks design and whiteboard sketches to finished project!

For more information, including code, see our website!
4 comments
May 21, 2012. 12:30 PMscoochmaroo says:
I think this is something we need to play with here at the lab. Esp for the current Cake Decorating Contest!
Mar 23, 2011. 4:05 PMWhackmaster says:
What website? You don't give the URL!
Mar 23, 2011. 11:36 AMwilgubeast says:
This is awesome. I can't count the times I've wished for an easier means of frosting my cakes using Arduino and Python.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
18
Followers
26
Author:SelkeyMoonbeam