Polargraph Drawing Machine

Polargraph Drawing Machine
This machine, a variation on the hanging-pen plotter is a conspicuous and wilfully naive attempt to break out of the pristine, pixel perfect, colour-corrected space that exists inside our computers. It's a drawing machine, that takes a pen (a human tool) and uses it to draw in a singularly robotic way, with some grand results.

It doesn't draw at all like we would (though it could), and we would struggle to draw exactly as it does (though we could).

It can draw on things bigger than itself - the question is really "how long is a piece of string?" when it comes to working out it's maximum area.

It's easier to look at what it does, than to explain it, so just have a look.



 
Remove these adsRemove these ads by Signing Up
 

Step 1History

History
Well there have been lots of new drawing machines doing the rounds lately, there's a real thirst to see devices that leap out of the virtual into the
physical. For me, it's all too easy to produce digital things which are interesting - programming or mash-ups or virtual experiments are devalued because they are intangible, you can run a hundred, a thousand, a million variations in a day - it's the proverbial roomful of monkeys with typewriters. The output becomes disposable, it get's hard to see the value, the craft.

So 3D printers and other desktop manufacturing tools and technologies (laser cutters etc) have got more and more popular, it's hard to overestimate how much hunger there is for a tangible, physical, touchable, smellable product of all this clever-clever digital work.

So this isn't wholly original, check out this prior art for more inspiration:

Hektor - the daddy of all hanging drawing machines
Der Kritzler - the smartest one yet
AS220 Drawbot - the basis for mine
SADBot - Instructable for an automatic drawing machine on the same pattern by Dustyn Roberts

Or have a look at what I've been doing with mine
Polargraph website
Polargraph project code and wiki
Flickr stuff

« Previous StepDownload PDFView All StepsNext Step »
87 comments
1-40 of 87next »
Jan 28, 2012. 11:03 AMlanthan says:
Very nice, outstanding instructable!
At this point, ControlP5 and geomerative libraries installed, code downloaded from svn today, I am stuck (Processing 1.5.1, current Ubuntu release) when trying to run the sketch:
error in line 140 of Panel.pde c.setSize((int)cSize.x, (int)cSize.y);
error msg: "The function setSize(int,int) does not exist"
If I comment this line out, the next error is in line 182 of the same file
"the function getBackground() does not exist"
then line 189 of the same "The function setLock(boolean) does not exist"

if I comment the last one, the controller runs (still signals a RXTX Version mismatch Jar version = RXTX-2.2pre1 native lib Version = RXTX-2.2pre2
but this is not fatal.
So it is like a library or set of functions might be missing. Any hints? Thank you!
Jan 28, 2012. 11:37 AMlanthan says:
Never mind, solved it: was a mismatch of versions of the ControlP5 libraries. It is very important to use the one from the link provided by the polargraph instructions, dated from october 5, 2010.
Jan 25, 2012. 3:07 PMsleepybrett says:
It might be nice if you had a photograph or a diagram that shows which parts go where on the gondola. From photograph #1 it seems like it the order is:
* plate
* empty bearing
* bearing with 'short arm facing up'
* acrylic spacer x 2
* bearing with 'long arm facing down'
* acrylic spacer
* wooden cap

Is this correct? If so I'm having a problem with non flat hanging on a vertical surface. Suggestions?
Jan 25, 2012. 3:15 PMsleepybrett says:
I've been using 3m 'Command' poster hanging strips to hang my steppers 'front-style'. The kind you remove buy stretching. It takes just a couple of strips to hang the motors securely to a whiteboard type surface. They are very secure and leave no noticeable residue.
Jan 19, 2012. 12:11 PMSnyperBob says:
I want to get your stuff made up via Ponoko (gondola, sprockets), but I need to figure out what setting to input on their site for the sprockets.

When I upload this file to their site, it then wants me to select units. Options are mm, cm, or inches. Do you know which I need to select?

I don't know anything about 3D modeling, so I don't know what the units even mean, or what it applies to.
Jan 20, 2012. 9:31 AMSnyperBob says:
Thanks for clarifying this. I ordered the sprockets and gondola thru Ponoko now. I have everything ordered, I'll let you know how it turns out once I receive everything. Probably will be 2-3 weeks, since the Steppers are coming from your side of the pond

Have a great weekend
Jan 19, 2012. 9:31 AMSnyperBob says:
I'm using the compiled binaries (polargraphcontroller_zoom.exe
When I open the program and select Load Image File on the input screen, I try to open a JPG and nothing shows up on the screen.

What are the limitations for this program? ie....the directions in this Instructable say to open a bitmap. When I click on Load Image File, the open dialog box shows that it wants either a JPG or a PNG file. I tried opening a bitmap 256 color, as well as 24 bit too....nothing shows.

Also, I have Show Image checked in bottom left hand corner of the program, still nothing.
Jan 19, 2012. 12:23 PMSnyperBob says:
Hmmm,
OK, just so we're on the same level.....now I'm talking about the new version of your program.

Both ways I run it (manually via Processing or thru the binary) I can not load an image file into the program.

I mentioned it in another comment, but I CAN load images into your Old Version of the program. So it's either a config problem, or a software problem, I don't know.

I tried loading same image I loaded into Old Version, into new version and it does not display. Looking at the console in Processing and it says loading from filename: .....
There are no error messages in the Processing console
Jan 19, 2012. 12:25 PMSnyperBob says:
PS - Move image doesn't show me anything in the newer version.

In the Old Version, I get a box the size of the image. When I move that box and click, the image moves to that new location
Jan 19, 2012. 9:52 AMSnyperBob says:
Maybe I need to try to get the 'Old Version' up and running first to maybe help understand things better.

Is the old version on your Google Code page under trunk? polargraphcontroller.pde, is that the file for the old version?

I'll still want to get the newer version running, and will probably need a little guidance on that, but I just want to see this in action! I'm going to start ordering stuff to build this today.

I'll probably actually import some stepper motors to the United States from the eBay seller you linked. They have them cheaper than I can get here in the States, and I would like to order quite a few of them for use with other projects in the future.
Jan 18, 2012. 2:41 PMSnyperBob says:
Hi,

I have another question about this step (11). With the newest updates you made to your code, do I now have to copy ALL 11 of the files from your code site, branch polargraphcontroller_zoom, into the sketch folder for Processing?

Thank you
Jan 18, 2012. 2:47 PMSnyperBob says:
More information in regards to what I'm asking...

I downloaded from your site: polargraphcontroller1.0.2.windows32.zip
I'm running WinXP

I installed Processing, latest version, and see folder here: My Documents/Processing

I created a new folder in that folder called polargraphcontroller.

So, my question is, what files do I need to copy into: My Documents/Processing/polargraphcontroller
from your zip file? Do I need to copy the source folder from your zip file, there are 11 files in that folder.
Jan 18, 2012. 2:50 PMSnyperBob says:
I copied those 11 files into: My Documents/Processing/polargraphcontroller


but nothing shows up when I run Processing and click on File->Sketchbook . I have closed Processing and tried reopening, but nothing is displayed
Jan 19, 2012. 7:01 AMSnyperBob says:
Thanks for the tip! Sorry for all the newbie questions on getting this up and running. I'm new to Arduino and really like this project!

Ok, so based on what you told me, I just extracted the polargraphcontroller.1.0.2.windows32.zip file

I ran polargraphcontroller_zoom.exe and it opens up fine. I closed out of the program and then updated polargraph.properties.txt file with my correct serial port for my Arduino UNO.

When I open polargraphcontroller_zoom.exe again, it just says No Serial Connection at the top of the screen.

My next question is.....do I need to load a sketch onto my Arduino in order to get it to talk to polargraphcontroller_zoom.exe?

Right now, the last sketch loaded onto my Arduino is Blink. Do I need to clear off that sketch or something in order for my Arduino to talk to the computer?

I read this Instructable many times and I just seem to be missing something here. I'm guessing it's like you said, these directions are for the older version of your software. I'm looking for any more tips to get the software talking to the Arduino.

Thank you
Jan 19, 2012. 12:09 PMSnyperBob says:
Oh, thanks for explaining this. I am now going to try to get the older version of your software up and running, until I know a little bit more about how it all works and get more comfortable with it all.

Running the older version, with the COM port setting that you explained, after manually installing all the libraries, loading the server onto the Arduino, I am now able to run the program!

It comes up, says it's connected via the COM port, and I can load an image into the program. I'll re read all of the other steps again and try to learn more about how to use the polargraphcontroller program.

Thanks again for all you've done!
Jan 18, 2012. 1:45 PMSnyperBob says:
Hi! I really like your project and am planning on building my own using your Instructable. I'm only in the planning stage now to try to figure out how much this will cost and whatnot. Do you have any stepper motors still for sale?

Can you update this step as well with more recent info about what code is needed? Step 8 of this Instructable. The link for 'polargraph code repository' is broken.

Is this the main sketch for your machine: polargraphcontroller_zoom.pde ??

I'm going to try to hammer out all the software details before I jump in and start buying all the bits to make this work. I really appreciate how much time and effort you have put into refining this project. Thanks for sharing it with us!

I have a cheap/generic motor shield I got thru eBay, I wonder if AdaFruit's libraries will still work with it. I'll have to try it out I suppose, unless you know if it will work?

There's a lot to digest here, and especially with all of the code files

How do I use all of the PDE files? I thought you can only upload one PDE to the Arduino at a time. Looking at the code, most of them say that they are part of the Polargraph Controller, and have classes and all kinds of other stuff in them. Can you give any quick tips to help me understand how all these files work in the big picture?

Thanks again!
Jan 12, 2012. 9:16 AMmatt.e.jenkins says:
Hi Sandy ,
Quick question,
To get more detail in the drawing but not more lines across, do I use the inc sample size button?
Thanks a bunch,
Matt
Jan 12, 2012. 11:58 AMmatt.e.jenkins says:
Thanks Sandy
Jan 9, 2012. 11:35 AMmatt.e.jenkins says:
These are some pictures my first few tries. I started the drawing of my boys last night and took a picture of it when I got up in the morning. I started using the sticky tack to hold the pen but I found it hard to get it just right and it was moving just a little. So i added a picture of the cloths pins. There are two popsicle sticks pieces cut and used as a small spacer between them and glued between one side of the pins. One pin is clamping the pipe and the other the pen. I found this to work very well and it gives me a bit more control. I built this a few days ago and I'm loving it. It's the gift that keeps on giving.

If you like, I have video with description of it on my youtube channel at www.youtube.com/geekguymj

Thanks,
Matt
DSC00748.JPGDSC00760.JPGDSC00732.JPG
Dec 26, 2011. 8:04 AMmatt.e.jenkins says:
Hi Euphy,
My wife bought me your kit for Christmas. It should be in soon and I can't wait to get it set up. It looks amazing. Thanks,
Matt
Jan 6, 2012. 10:33 PMmatt.e.jenkins says:
Hi Sandy,
I have been building this and troubleshooting a problem i had for most of the day. i was about to ask you about it when I noticed your conversation with cbradford1 in this forum. I had the same problem. So thankfully you guys figured that out for me. I changed the "," in the code and that made all the difference. I have been looking forward to this for a while. Thanks for the great software and support you give. What a cool machine.
Much thanks,
Matt
Dec 20, 2011. 7:21 AMrory332 says:
Euphy ! this is pure genius.. Its actually got me excited about designing/building. which has been on the downward for a while now..

I look forward to the New Year to start building and experimenting..

Merry Christmas
Dec 6, 2011. 3:53 PMcbradford1 says:
Hi Sandy

First of all, great work on your project - it's truly inspiring.

I've got my hardware all setup, and I've had the steppers responding to a number of tests so I know the shield and motors work, but I can't get a response when I "set home". All the appropriate lights are on, the server appears to have loaded properly to my board, but... nothing.

Any ideas?

Thanks!
Dec 6, 2011. 5:38 PMcbradford1 says:
Thanks for the quick reply!

Yes, the controller is in contact with the board. It says it's ready in the top left corner and repeatedly in the console. When I set home the steppers still spin free.

It looks on the console that the machine is happily running away, but it's not.
Dec 7, 2011. 6:12 AMcbradford1 says:
(removed by author or community request)
1-40 of 87next »

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!
63
Followers
3
Author:Euphy
Like everyone, I like making things. I'm currently a computer programmer by trade, which I adore, but I like building physical things when I can. I like pottery and lino cutting and photography, and...
more »