Saturday, 25 March 2017
Drawing Machine


One important note, if you use a solenoid for the pen lifter you need a really good diode to drain the current when you depower it otherwise the back EMF does bad things. I blew up the pull up resistor on two output pins on my arduino before I figured out that my 1N4004 diode just wasn't working. In the interests of overkill I added an optical isolator and a schottky diode rated at 600v and 4amps with a 4ns response time. Over-specced, but only $1.20 delivered.
Here are some videos, first the movement test:
First drawing:
After that first test, and showing the project off at my first makers faire, I rewrote the code so it automatically converts the coordinates from polar to cartesian so it gets rid of the distortion. I still get a few rounding errors as you can tell by the slightly wavy baseline, it also now skips over white space and goes a whole heck of a lot faster.
As for the build. I will start with the easy part, carpentry. Because my pen holder design has limited travel I needed a fairly flat and true surface or else I would end up with gaps and extra lines in my drawing. I decided to go with a torsion box design build out of a bunch of scrap 1/4" baltic birch I had in my shop. Its slightly overkill.




Once I got it glued up and assembled using every clamp in the shop, plus an anvil, blower, forge, and anything else heavy on top. I needed to cut it into an arc. So, one nail, a piece of wood, a workmate and a bit of creative stacking I got it set up next to my bandsaw.





You can see the rotation axis in the image on the right. General plan is that I have a large lazy susan bearing attached to the base. Also attached and stationary is a 52 tooth gear off a 1970's bike. The gear and chain are basically stationary while the motor runs around on the inside of the chain. I built my own jackshaft assembly that lets me hook up the 11 toothed sprocket off a rear derailer to a 60 tooth timing belt pulley, this is in turn hooked up to a belt and an 18 tooth pulley on the motor. Simple right? The reason for the arrangement was to gear down the motor and get a bit more resolution on the arm. Trade off is that I have about an inch of backlash. I need to build in an idler tensioner so I can tighten the chain without it binding and that should cut it down some. If that doesn't I will just measure the error and write it into the code.






That is the process for the jackshaft build. I couldn't fit the bearing holder plates on my small lathe so I cut the bearing seats using a rotary table on my mill. You need to get the holes about 4 thousandths of an inch undersized for the bearings to press fit in securely. The shaft is steel, and from personal experience the set screws and flats are mandatory, I spent about an hour debugging my code till I figured out that the timing pulley was slipping. The holder for the 11 tooth sprocket is pretty easy and straight forward, a piece of aluminum bored for the shaft diameter and then a seat was cut slightly over 1cm (the size of the inner bore of the sprocket) the whole shebang was press fit together and a hole was drilled and tapped for the set screw. Come to think of it, its amazing on projects like this how the definition of easy changes over time.












Oh, and as for suppliers (I have no connection to any of these companies but I am posting links so it might help you chase down some of the more obscure parts).
Sparkfun for the dspin driver breakout boards
Solarbotics motors electronics etc - also carries the sparkfun dspin breakout boards, based in Calgary.
Misumi - Motion control components so all the pulleys, belts, linear slides, bearings etc.
Lee valley carries the big lazy susan bearings.
Digikey canda - the old standby, now has a Canadian warehouse. Their catalog and inventory is the most overwhelming thing I have ever seen but they carry everything. I got most of my electronic components, and a big 12v 6a power transformer from them.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment