You’ve got your stepper motor from Ebay, the manual is in Chinese and you don’t have a clue if the motor is unipolar or bipolar.
If 8 wires, it will probably be unipolar 8 wires stepper motor, 4 per coil.
If 6 wires, probably unipolar, 3 for one coil and another 3 for the other. This means each coil has its own ground.
If 5 wires, probably also unipolar. 2 for one coil, 2 for the other and a common ground for both coils.
If 4 wires, probably a bipolar 4 wires stepper motor, 2 cables per coil.
I’ve also found this video which can help you differentiate the motor type you’ve got:
Wiring the stepper motors.
This will be a guide to connect the most common stepper motors for 3D printers. They usually mount NEMA17 with 4 wires.
If the motor comes with coloured wires, the typical colours are Red/Blue/Green/Black
Issues: It is not guaranteed to be like this! Who knows where the motors come from, how are they wired, etc. I’ve known many people who were not able to make them work and at the end, they realized the problem was in the wiring.
The most common drivers which the 3D printers and home machines use are bipolar. The most known drivers for bipolar motors are pololus a4988 and DRV8825.
The motor will have 4 wires. 2 per coil, therefore what we have to figure out is which ones are the coils.
Figure out the coils
If we are going to wire a stepper motor, we have to figure out which wires belong to which coil.
We can name them coil A and coil B, or coil 1 and coil 2.
Luckily, the drivers designers decided to use both systems (/ironic)
If you read the driver’s label, the DRV8825 specifies A2 A1 B1 B2 and the A4988 specifies 1B 1A 2A 2B.
Just read it several times, and make sure you understand it is exactly the same.
Size and NEMA standard of Stepper Motor You Should Consider
Saturday, January 4, 2020
Use Encoders to Enhance Step Motor System Performance Because of their low cost, high resolution, precise positioning, minimal control elect...
My wife and I have started designing a CNC/3D printer hybrid. I over engineered some structural designs so now my YZ assembly is a bit weig...
If your stepper motor has 4 wires, it is a bipolar stepper motor. Bipolar stepper motors have two windings, which are not connected to ea...
Stepper Actuator - Full-Step In full step operation, stepper actuator motors step through the normal step angle e.g. 200 step/revolution mo...