View Full Version : [b]dual[/b] stepper motor system

05-13-2006, 05:31 AM
i'm trying to buil a 2D plotter/printer that can draw and cut into sheets of metal or such... and i'm thinking of using 2 steppers... one for X axis movement and one for Y axis movement....
I hope the parallel port is enogh for that, because I already know how to program a stepper via it... I used an old stepper from a printer (7.5 degrees per step, 5 wires, 4 data pins in the port) I can control how many steps I want the motor to take and the speed...
my big problem is: How do I syncronize the two steppers so they can draw any picture I want (in 2D) ???
it's simple for horizontal and verical lines... :) and even for straight lines with a known degree to the X axis (i think by controlling the speed for each motor and with some trigonometrics)... but what about circular like parts (not only circles, but any shape you can think of in 2D)...
thank you!

05-13-2006, 07:21 AM
there is this software called MACH to control the steppers connected PP to make it a CNC Machine, IF you Use a L298 +L297 it should work.

05-13-2006, 06:35 PM
if you want tutorial on stepper motor interfacing with parallel port see
get it from yahoo group-booksbybibin

Bibin John

05-14-2006, 01:57 PM
I have a robotic arm controlled by parallel port, and it does nice circular motions too....... so have you tried implementing it and seeing whether you are getting a circular shape or not ?

The smoothness of your circle will depends on the granularity of the cells of your plotter. Use your motors in microstepping mode and you can get nice n smooth circles.

Moreover by simple bitmasking you can achieve simultaneous motions using a parallel port.