Skip to content

NEMA 17 Stepper Motor

A stepper motor rotates in small increments as a driver energizes its windings in sequence. Its toothed magnetic rotor aligns with the magnetic field produced by the stator. Changing the winding currents moves that field—and the shaft—to the next position. Holding the winding currents steady produces holding torque, which resists movement while the motor is stopped.

The classroom StepperOnline 17HS19-2004S1 is a two-phase, four-wire bipolar motor: its driver reverses current through each winding. It takes 200 full steps of 1.8° to turn once. NEMA 17 identifies the mounting-frame size, not the motor’s torque, length, current, or wiring.

How a Stepper Motor Works

How does a Stepper Motor work?1

Disassembled NEMA 17 stepper motor showing the stator windings, toothed rotor and shaft, end covers, and assembly screws

Inside a NEMA 17 stepper motor: the stator windings surround the toothed rotor when assembled.2

Stepper Motor or DC Motor?

Feature This stepper motor Classroom brushed DC gearmotor
Control Driver sequences winding current; pulse count requests travel Applied voltage/PWM controls motion; polarity reverses direction
Position Can estimate position by counting steps from a known starting point Needs an encoder or other sensor for measured position
Speed Set primarily by step-pulse frequency Varies with voltage and load
At rest Can hold position while energized Usually needs active control or a brake to hold a specified position
Limitation Can miss steps if overloaded or accelerated too quickly Speed and position vary with load without feedback

The lab uses open-loop control: it commands motion without measuring the shaft. A missed step makes the calculated position wrong. A real mechanism may need a home switch or encoder to establish or verify position.

Specifications and Downloads

Property Supplied datasheet value
Full-step angle 1.8°; 200 full steps/revolution
Rated phase current 2.00 A
Phase resistance at 25°C 1.60 Ω ±10%
Phase inductance at 1 kHz 3.00 mH ±20%
Holding torque 0.59 N·m (59 N·cm; approximately 84 oz·in)
Step accuracy, non-accumulating ±5%
Rotor inertia 82 g·cm²
Frame / body length 42.3 mm maximum / 48 mm maximum
Shaft diameter / projection 5 mm / 24 ±1 mm; see tolerances below

Use a current-regulating driver such as the A4988 StepStick. The phase resistance and current do not prescribe the driver supply voltage: the driver limits winding current while using a higher supply voltage to build current quickly. Never connect this motor directly to an Arduino output.

Dimensions

Dimensions are in millimeters. These separate views reproduce the supplied datasheet; consult the PDF for the complete drawing and general tolerances.

Front View

Front view with mounting holes and shaft dimensions

Side View

Side view with body, shaft, and connector dimensions

Motor Connection

The datasheet’s MOTOR CONNECTION table is reproduced below. Pin numbers refer to the motor cable connector, not to the Arduino or driver. Verify the actual cable before use; replacement cables may differ. With all power removed, a continuity/resistance check identifies the two winding pairs.

PIN NO BIPOLAR LEADS
1 A+ BLK (black)
2 A− GRN (green)
3 B+ RED (red)
4 B− BLU (blue)

Winding diagram: black and green form winding A; red and blue form winding B

Recreated winding column of the datasheet. The two windings are electrically separate; “+” and “−” identify winding ends, not permanent supply connections.

The lab plugs the four-position connector directly onto the driver, with black, green, red, and blue aligned to 2B, 2A, 1A, and 1B respectively. Each coil remains on one output pair.

Motor lead A4988 terminal
Black, A+ 2B
Green, A− 2A
Red, B+ 1A
Blue, B− 1B

Torque and Power Curve

Supplied pull-out torque and mechanical power versus speed

Pull-out torque is the load limit for maintaining synchronous rotation at a given speed under the test conditions. It is not the torque available for starting instantly at that speed, and it is different from holding torque. Mechanical output power is approximately torque × angular speed: \(P=T\times2\pi\times\mathrm{RPM}/60\), with torque in N·m.

The following values are reproduced from the supplied CSV. Its pulse rates imply about 1,600 pulses/revolution (eighth stepping), allowing for rounding. The CSV does not state supply voltage, current setting, driver, or test procedure. These curves therefore describe the supplied data, not guaranteed performance with the lab’s 12 V supply and reduced current limit. The plotted lines connect measurements; they are not a fitted motor model.

Speed (RPM) Pulse rate (kpps) Pull out torque (oz·in) Power (W)
100 2.7 58.3 4.3
200 5.3 57.5 8.5
300 8 57.5 12.8
400 10.7 59.8 17.7
500 13.3 56.9 21
600 16 51.3 22.7
700 18.7 45.9 23.8
800 21.3 40.5 24
900 24 36 23.9
1000 26.7 32.9 24.3
1100 29.3 28.3 23
1200 32 24.4 21.6

The power peaks near 24 W in this dataset even though torque falls at higher speeds. This is mechanical output power, not electrical input power or heat dissipation. Leave a torque margin in a design and use acceleration ramps for higher-speed operation.

Motor drawing, specifications, and connection information: supplied StepperOnline datasheet, drawing A0842, revision 0. STEP model and CSV supplied with the classroom component documents.


  1. How does a Stepper Motor work? — original video on YouTube. ↩

  2. Photo: “Nema 17_01.jpg,” from Arduino + Driver A4988 + Stepper Motor NEMA17, posted by jgustavoam on Fritzing. ↩