Hallo! Tidy machine, nice work.
Swings to the left or right are to do with mishoming - at first glance it looks like the centreline might be a little far right? Could just be the angle of the photo. Or my eyes. Is it actually going to one side, or just expanding generally? Remember you can do something like "draw outline" to check out the extent of your selection area, without having to fill in all the pixels.
Your scaling problems are weird though, but I can't really see anything wrong without seeing your setup page. Off the top of my head, arduino with adafruit and 200 step motors should be:
stepsPerRev - 400.
mmPerRev - circumference of your pulley. Or rather, the length of belt that is extended with one revolution.
stepmultiplier - 1
No recoding required at all for different motors, but a beefier motor requires beefier drivers, and that might need a little tinkering. Nothing big though. The adafruit shield will only supply 0.6A per motor. The stepsticks used on the polarshield do about twice that, but bigger motors will pull 8A or more. Most stepper drivers take the same input signals though, a pulse for step and a high/low for direction, so I don't see that it'd cause a significant issue code-wise.
Have a look at Seb Lee-Delisle's Lunar Launcher (http://www.flickr.com/photos/sebleedelisle/8203136688/in/set-72157632054699823) machine for how to do it right. Not stepper motors at all.
cheers
sn
|