Your mug on an Etch a Sketch — automatically

[Jim’s] pretty serious about his Etch a Sketch. He’s gone to the trouble of building a rig that will automatically render a photograph as Etch a Sketch art. Do you recognize the US political figure being plotted in this image? He actually cracks these open and removes all of the internals to preserve the artwork when the reassembled body is ready to be hung on a wall. But we like it for the hacker-friendly interface techniques he used.

He moves the knobs using a pair of stepper motors. They attach thanks to a pair of 3D printed gears he modeled which go over the stock knobs and secure with four set screws. He says he can be up and printing in five minutes using these along with the MDF jig that holds the body and the motors.

He converts photos to 1-bit images, then runs them through ImageMagick to convert them into a text file. A Python script parses that text, sending appropriate commands to an Arduino which drives the motors. The image is drawn much like a scanning CRT monitor. The stylus tracks one horizontal line at a time, drawing a squiggle if the pixel should be black, or skipping it if it should be white.

We wish there was a video of the printing process. Since we didn’t find one, there’s a bonus project unrelated to this one after the break. It’s an Etch a Sketch clock.

[Read more…]