Video of homing routine

Homing code for Drawbot

I’ve uploaded the Arduino code for the modified server with the homing routine included.

Let me know if it helps anyone!

Code

Some more images from the Drawbot

Thought I’d post a few more images from the Drawbot

DrawBot

This slideshow requires JavaScript.

It’s been a while since I posted on the blog but I have been busy. I’ve always been interested in the juxtaposition of art and technology stemming from my engineering and photography backgrounds.

I started researching drawing machines and was inspired by Marginally Clevers machine http://www.marginallyclever.com/ and also the Polargraph http://www.polargraph.co.uk/.

I’ve done most of my work with the Polargraph software as I like the interface however Marginally Clevers is also very good!

I made my first drawbot using an old white board and some parts I made up on my Thing-O-Matic with a couple of steppers from eBay and was very pleasantly surprised by the results. I showed this at our local art association (plug plug please visit www.bvaa.org)  and everyone was blown away by the possibilities.

So, I started on the MkII version.

  • Bought a 2x4ft piece of 5/8″ particle board from the local home centre as it is nice and flat and reasonably stable
  • Printed up some stepper holders from Thingiverse  http://www.thingiverse.com/thing:16725
  • Added some leds across each phase of the motor as eye candy
  • Ditto the  pen holder http://www.thingiverse.com/thing:19426
  • Glued it to a transparent CD that you get in the bulk packs
  • Added a pico stepper to raise the pen
  • Use 50lb Omniflex braid fishing line for the cord (note: i don’t use a suspension system like the others, I just wind the cord around the spool)
  • I use two circular hooks to direct the line and fix the x dimension

This worked pretty well and I’ve been tinkering with it for a while.

Then decided to add a homing routine which took quite a while to get working to my satisfaction. ( I will post the code somewhere for y’all, not quite sure where yet!).

Several issues

  • As I’m not using a suspension system the cord would unwind, get tangled up and often reverse direction
  • Sensing the home location proved a challenge using microswitches

So, in the best KISS principles I added some copper foil to the edge of CD gondola portion and connected this to OV which was available in the servo feed. Then hooked up a couple of LED’s tied to 5V via a 1K to the circular eye hooks and used two of the spare analogue inputs on the Arduino to sense if the gondola had hit the relevant home location, which would also light the led.  This worked!!

To get the software working reliably I had to play with the algorithm, here’s the general idea in pseudo code

  • De-energise right stepper
  • Rewind left stepper until contact made
  • De-energise left stepper
  • Rewind right stepper until contact made
  • //now we know how many steps from L to R
  • Move right motor away from home
  • Rewind left and wind right, move to left home
  • Verify at left home
  • Use machine dimensions from Arduino sketch to move to centre location first left, then right
  • //complete

To make it easy to use I added the homeRoutine() call into the HOME command (C06) issued by the PolarGraph controller and it works great!

I must say that I greatly appreciate all of the work done on the previous Drawbots and there designers !! Couldn’t have got it working without you!

I’ll add some more details and photo’s, please let me know if you like this or need anything from me

Instagram

Starting to use Instagram much more frequently, find it great fun and very easy to capture events and moods. Check out the twitter feed.

Mist on the Blackstone River

Beautiful crisp New England day and saw this mist on the Blackstone River and just had to take a couple of shots. I only had the iPhone 4S with me but it worked out well.

Nostalgia Sunday

Was doing some cleaning in the basement and came across two ‘blasts from the past’ which I thought y’all might be interested in.

 

First it’s my original Sinclair Mk14 SC.MP Microprocessor kit. This was bought new and assembled by me and had many happy hours programming in machine  code for the SC/MP. This also included  the cassette tape interface, 8154 with an extra 128 bytes of RAM and the single step modification, also, as the original keyboard was absolutely rubbish, I added an external one on veroboard. Mounted everything on a persepex base and it still works! The crystal is a bit slow to start sometimes but what can you expect after 30+ years!

 

The next item was my original Sinclair LED watch from 1975, for those who remember them this was the first build it yourself LED watch with Sinclairs usual high quality (or NOT!). Much to my surprise, it still works, case is beaten up and I’ve lost the strap and battery back but it works!

 

Ahhh, happy days!

 

bob

More photo’s from plane

Another trip from PVD to BWI and nice weather for photo’s!

These are of Long Island and then of Manhattan with the tip covered in clouds.

 

Shot wi

th iPhone4S

Southwest Flight

Took a couple of interesting night shots from window of flight BWI->PVD using the iPhone4s (delayed by the

way !)

 

 

 

Bob

 

October Snow Storm

Interesting weather we’re having!

 

Woke up this morning to these scenes, more reminiscent of February. At least we didn’t lose power although many others did

 

Bob

Follow

Get every new post delivered to your Inbox.

Join 33 other followers