I'm a beginner when it comes to electronics. I bought a stepper motor off of ebay.
Here is the linkhttp://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=221320136102
I'm using the Stepper Motor Control - one revolution
by Tom Igoe and its not doing one revolution then reversing and doing another revolution. It just keeps rotating in one direction.
4 Wires 8-11 also +5v and Ground on Uno
What am I doing wrong?
You probably have the wires misconnected, there are more ways to miswire
such a unipolar motor than ways to wire is correctly... The drive sequence
must alternate between A and B windings thus:
A+, B+, A-, B-, ...
(or the reverse sequence for other direction). If you happen to drive it
Measure the winding resistance, make sure they are all intact. Check with a multimeter
that each output is being switched correctly. Add LEDs/resistors instead of windings to
convince yourself of the sequencing.