Shop OBEX P1 Docs P2 Docs Learn Events
RoboSketch - Propeller controlled Etch-a-Sketch — Parallax Forums

RoboSketch - Propeller controlled Etch-a-Sketch

JasonDorieJasonDorie Posts: 1,930
edited 2011-08-05 07:40 in Robotics
While this is much simpler than Mike Park's PropEtcher (see http://www.youtube.com/watch?v=MgyZgqImAHA) it was as much a test of my CNC machine cutting acrylic as it was making an automated Etch-a-Sketch.

RoboSketch.jpg
IMG_7677.JPG
IMG_7678.JPG


The circuit is incredibly simple: it's a Protoboard and a single darlington array to control a pair of unipolar stepper motors (the ones Parallax sells here: http://www.parallax.com/StoreSearchResults/tabid/768/txtSearch/stepper/List/0/SortField/4/ProductID/65/Default.aspx)

I used my home-built CNC router to cut the face plate and gears from a single piece of acrylic and replaced the existing red frame with my new CNC'd one.

The software is written entirely in SPIN and supports a simple "goto" function that takes an X & Y coordinate. It uses a Bresenham line algorithm to control the step rate of the motors. With gearing and using 1/2 steps, the usable screen area is about 800 x 600 units.

Here's a video of it in action: http://www.youtube.com/watch?v=W3iPjJfIIOs
...and another of it drawing the Hack-a-Day logo: http://www.youtube.com/watch?v=-MNqW1GT4nc

Code is attached.
856 x 639 - 54K
856 x 530 - 51K
856 x 639 - 106K

Comments

Sign In or Register to comment.