SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By Dwaylu
#184905
Hey all!

I recently purchased the aforementioned stepper motor and am attempting to discern which wire leads where. I'm following a bildr tutorial here as I am also using an EasyDriver with the same model motor.

In the illustrated layout it pairs the following wires for each motor -- red and green, yellow and blue. However, the wires that came with mine are green, blue, red and *black*. In this case is the yellow the same as black? I'm primarily concerned with mixing which should be pos/neg. The data sheet can be found here.

If this helps, they come out in pairs which you can see in the picture below.

Image

Thanks in advance!
By jremington
#184908
The colors don't mean anything.
Just use a multimeter on resistance setting to figure out which pair of leads goes to a particular coil.
If the motor steps in the "wrong" direction, swap the leads to one coil.