I'm aware that stepper motors have the reputation of being a black art, these responses are proof!
This is initially a low-speed tracking mount for astrophotography. I have a light 70mm scope and a bridge camera with a 1000mm equivalent lens. The camera only does 8-second exposures, but even that will benefit from some tracking. If things go well, I will add a webcam mount and maybe even invest in a second0hand DSLR body with a 30-second (or better) exposure time. This may seem excessive for a small scope, but as results to date with the bridge camera have been very rewarding further good experiences will give me an excuse to go to a 6 or even 8 inch reflector.
A half-stepping controller using an AVR will be an easy enough exercise, it's just putting a bit-pattern at the right speed; I will also fit a few switches, a serial link and a LCD readout. Why? well the sun and the moon move at noticeably different rates from the rest of the sky. These will need to be fine tuned so it will be useful to have a readout of the 'theoretical' speed to compare with what I'm seeing. And also to confirm I have the right setting, once the speeds are nailed. Also, I can readout where the scope is (supposed to be) pointing.
A serial link will let me implement a go to system, the eq mount for the scope has the same 90:1 worm drive for both axes so if it works on the one, I can add a second unit. Then all I have to do is send two numbers from a laptop and the scope will go to that point.
It's getting the drive current right that I'm exercised about.
The tutorial linked to by les is very good, especially as it points out that unipolar steppers act as auto-transformers so I need to chuck in an extra set of diodes to protect the switching transistors.
One issue is whether or not it's worth using PWM instead of resistors for current limiting. I'm comfy with PWM for ordinary motor control. The big advantage is that PWM can be experimented with sitting at the computer, and if successful could be extended to give more sophisticated drives.
Another is will I be able to use the same set up to go to a particular direction, or does it need to be more sophisticated. If I set the drive at approximately one half-step per second, then to complete a full rotation in 30 seconds (which is pretty fast really as most moves will be of the order of 45-degrees) I will need to drive at 1500Hz (full step rate), which is pretty low for this stepper, and probably will work without complex ramp up and ramp down of the step rate, although ramp up/down shouldn't be hard to implement.
After saying all this, I have just discovered I have an Allegro A3984 somewhere… this will drive a bipolar stepper at 2A/35V so well up to the stepper I have, with 1/16 step microstepping I think it's a no-brainer to wire it up and see what happens!
Neil