Stepoko: Powered by grbl Hookup Guide
Hardware: Connecting the Motors
The Stepoko is designed to be able to control a multitude of 2-phase stepper motors. These all have two sets of coils that are driven in a particular combination in order to make the motor turn in the correct direction. If this is all new to you, read our tutorial on Motors and Selecting the Right One, in particular the section Stepper Motors. This tutorial has some descriptions of motors with three sets of coils rather than two, but the theory is the same.
Identifying the Coils
A lot of the time steppers come from a 'motor box' on a hobbyist's shelf, and may not have ratings or part numbers. If there are four wires, chances are it's a stepper. The coils need to be identified though, so take out a multimeter and look for continuity between wires. If the motor has four wires, with two pairs that have a similar resistance, you've found the coils!
Alternately, with the datasheet the wires should be indicated. An example datasheet from our general purpose motor shows a simple wiring diagram with the two coils.
Attach the motors
The two coils of the motor correspond with the 'A' and 'B' terminal pairs on the board. Including the fact that you can put the coils in backwards, there are 8 possible ways to connect two coils! But which one goes where? Don't even worry about it. If one is backwards, or if coils 'A' and 'B' are swapped, the motor will just spin in the other direction, which can be set in software.
More worrisome is how to convince the stranded wires get into the terminal blocks and then, stay there after they have been tightened. Tinning the leads can make the whole thing go smoothly.
Sometimes the terminal springs are tight from the factory. To help ease connection, back out the termina screw until it's flush with the terminal block, gently open the contact, and use a tool to push from the tinned end.