What Is a Step Motor? The Direct Answer
A step motor (commonly called a stepper motor) is a brushless DC electric motor that divides a full rotation into a precise number of equal, discrete steps. Unlike a standard DC motor that spins freely when voltage is applied, a stepper moves in exact angular increments—typically 1.8° per step, yielding 200 steps per revolution. It achieves this through a toothed iron rotor interacting with electromagnets in the stator, creating magnetic detents that hold the shaft firmly in place even when stationary.
If a standard DC motor is like an analog volume knob that spins continuously, a step motor is like a digital click-wheel. It excels at open-loop position control, meaning you can tell it to move exactly 50 steps, and as long as the load doesn't exceed its torque capacity, it will land exactly 90 degrees away without needing a feedback encoder. This makes them the undisputed king of desktop CNC machines, 3D printers, and automated camera sliders.
Stepper vs. Servo vs. Brushed DC: Which Motor Fits Your Load?
Treating steppers and servos as interchangeable is a classic workbench mistake. They solve fundamentally different mechanical problems. To decide which motor type fits your specific load profile, you have to look at the torque curve and control topology.
| Feature | Step Motor (Open-Loop) | AC/DC Servo (Closed-Loop) | Brushed DC Motor |
|---|---|---|---|
| Torque Curve | Maximum at zero speed (holding torque); drops off sharply past 1,000 RPM. | Flat, constant torque from zero up to rated high speeds (3,000+ RPM). | Low starting torque; peaks at mid-range speeds. |
| Control Needs | Open-loop step/direction pulses. No encoder required. | Closed-loop. Requires an encoder and complex PID tuning. | Simple voltage control. H-bridge for direction. |
| Position Accuracy | Excellent at low speeds (non-cumulative error per step). | Perfect (encoder corrects any missed movement). | Poor (coasts when power is removed). |
| Typical Cost | $12 – $35 (Motor + basic driver) | $120 – $400+ (Motor + integrated drive) | $3 – $15 |
Which fits your load? If your application requires high holding torque at low speeds, precise incremental positioning, and operates under 1,000 RPM (like a 3D printer extruder or a telescope mount), the step motor is the correct choice. If you need to rapidly accelerate a heavy payload to high speeds and cannot afford a single missed step (like an industrial robotic arm), you must step up to a servo.
Wiring and Terminal Identification
Modern step motors are overwhelmingly bipolar, meaning they have two internal coils and four external wires. (Older unipolar motors have 5 or 6 wires and a center tap, but they offer roughly 30% less torque for the same physical size and are largely obsolete for new builds).
To wire a bipolar stepper, you must identify the two coil pairs (Coil A and Coil B) and connect them to the A and B terminals on your driver. Reversing the polarity of a single coil (e.g., swapping A+ and A-) will cause the motor to vibrate violently and refuse to turn.
If you have a salvaged NEMA motor with faded wire colors, grab your multimeter. Set it to resistance (Ω). Probe the wires in pairs. Two wires that show a low resistance (typically 1.0Ω to 5.0Ω) belong to the same coil. Two wires that read 'OL' (open loop) belong to different coils. Once you identify Coil A and Coil B, twist the pairs together to keep them organized.
Standard NEMA 17 Color Codes:
While you should always verify with a meter, the most common 4-wire color standard for Adafruit and StepperOnline NEMA 17 motors is:
- Coil A: Black (A+) and Green (A-)
- Coil B: Red (B+) and Blue (B-)
Sizing Rule of Thumb: A Worked Load Example
The most common mistake makers make is sizing a stepper based purely on its holding torque rating. Holding torque is the force required to move the shaft when it is energized but stationary. The moment the motor starts spinning, available torque drops. Furthermore, accelerating a load requires significantly more torque than simply moving it at a constant velocity.
The 50% Sizing Rule: Always size your step motor so that your maximum required running torque (including acceleration) is no more than 30% to 50% of the motor's rated holding torque. This provides a 2x to 3x safety factor to prevent missed steps.
Worked Example: Sizing a Z-Axis Lift
Imagine you are building a custom pen-plotter and need to lift a 1.5 kg (3.3 lb) carriage vertically using a direct-drive pulley with a 2 cm (0.02 m) radius.
- Calculate Force: F = mass × gravity = 1.5 kg × 9.81 m/s² = 14.7 Newtons.
- Calculate Running Torque: Torque = Force × radius = 14.7 N × 0.02 m = 0.294 Nm (or 29.4 Ncm).
- Apply the Safety Factor: 29.4 Ncm × 2 (for a 50% safety margin) = 58.8 Ncm required holding torque.
Looking at NEMA standard frames, a standard NEMA 17 motor (like the widely available 17HS19-2004S1) offers exactly 59 Ncm (84 oz-in) of holding torque. This is a perfect, mathematically sound match. If your math had yielded 80 Ncm, you would need to step up to a NEMA 23 frame or add a gear reduction.
Driver Selection and Failure Signatures
A step motor demands a constant-current chopper driver. You cannot simply hook a 12V battery to a 3V stepper motor; the current will spike, the coils will overheat, and the motor will stall. Chopper drivers (like the A4988, DRV8825, or TMC2209) rapidly pulse the voltage (PWM) to maintain a precise, user-configured current limit (e.g., 1.5A per phase), regardless of the supply voltage.
When things go wrong on the bench, stepper systems exhibit three distinct failure signatures. Here is how to diagnose them:
- Failure 1: Hum and Vibration Without Movement.
Cause: The motor is receiving step pulses, but the coils are wired out of phase, or the current limit (Vref) is set too low to overcome the load's static friction.
Fix: Swap the wires of Coil A (A+ and A-). If it still hums, increase the driver's current limit potentiometer. - Failure 2: Motor Overheats (Too hot to touch, >60°C).
Cause: The driver current limit is set higher than the motor's rated phase current, or the motor is running in full-step mode at low speeds, causing severe resonance and wasted energy.
Fix: Recalculate your Vref voltage according to the Texas Instruments driver datasheet and enable 1/16 microstepping to smooth out the current delivery. - Failure 3: Stalling at High Speeds.
Cause: You've hit the stepper's torque cliff. Stepper inductance prevents current from building up fast enough in the coils at high RPM, causing torque to drop exponentially past 1,000 RPM.
Fix: Increase the supply voltage to the driver (e.g., jump from 12V to 24V). Higher voltage forces current through the inductive coils faster, extending the usable speed range.
The Decision Tree: Pick Your Exact Motor and Driver
Stop guessing at the parts store. Use this decision matrix to lock in your hardware based on your mechanical constraints.
| If Your Application Requires... | Then Choose This Motor Frame | And Pair It With This Driver |
|---|---|---|
| High precision, quiet operation, low-to-medium speed (3D printers, plotters, camera sliders) | NEMA 17 (1.8°, ~59 Ncm) | Trinamic TMC2209 (UART, StealthChop) |
| Heavy loads, high torque at low speeds, no strict noise limits (CNC routers, heavy linear actuators) | NEMA 23 (1.8°, ~120 Ncm) | TB6600 (DIP switch, 4A limit) |
| High speed (>2000 RPM), dynamic loads, zero tolerance for missed steps (Pick-and-place, robotics) | NEMA 23 Closed-Loop Stepper / AC Servo | Integrated Closed-Loop Driver (e.g., iHSV57) |
If you are building a general-purpose DIY automation project, a desktop CNC, or a 3D printer and don't want to overthink it: Buy a NEMA 17 motor rated for 59 Ncm (84 oz-in) and pair it with a TMC2209 driver running at 24V. The TMC2209 supports UART configuration, allowing your microcontroller to dynamically adjust current and utilize 'StallGuard' sensorless homing, eliminating the need for physical limit switches. This combination offers the best balance of cost, silence, and precision available on the market today.






