NEMA 17 Stepper Motor
Components

NEMA 17 Stepper Motor

4.0(2)
2
The NEMA 17 Stepper Motor is a bipolar (two-coil) hybrid stepper with a 42 x 42 mm faceplate, the standard motor in 3D printers and CNC machines. Its step angle is 1.8 degrees, so a full turn takes 200 steps, or 3200 steps with 1/16 microstepping on the driver. Depending on the model, the body is 34–48 mm long, phase current is 1.2–2 A and holding torque is about 0.3–0.5 Nm. Its 4 wires (A+, A-, B+, B-) belong to two coils; the pairs are found by measuring resistance with a multimeter. Since a microcontroller cannot supply this current, it is used with a driver such as the A4988, DRV8825 or TMC2208: the Arduino, ESP32 or Pico only sends pulses to the STEP and DIR pins, and the motor runs from a separate 12–24 V supply. The current is limited with the driver's Vref, a 100 µF capacitor goes across the supply, and the motor should never be unplugged while the driver is powered. It is used in 3D printers, CNC machines, camera sliders, automatic curtains, plotters and robot arms.

Projects using this component

Arduino Product Turntable (NEMA 17 Stepper Motor + A4988 + LCD)
#215Intermediate
Premium

Arduino Product Turntable (NEMA 17 Stepper Motor + A4988 + LCD)

Build your own turntable for product photos and 360-degree videos! A NEMA 17 stepper is driven by an A4988 from just two signals and speeds up and slows down smoothly, so the product never wobbles. There are three modes: continuous spin with the speed on a pot, photo 360 that splits a turn into 12, 24 or 36 stops with a beep at each one, and a showcase-style ±90° swing. The I2C LCD shows speed, angle and shot count.

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)
#226Intermediate
Premium

ESP32 Smart Curtain (NEMA 17 + A4988 + LDR + OLED)

The curtain opens by itself when the sun comes up and closes after dark! An LDR measures the light, an A4988 driver turns a NEMA 17 stepper with a soft start and stop, and the 0.96 inch OLED shows a window drawing, how open the curtain is and a sun or moon. Two buttons open and close it by hand, and holding one stops it halfway. The position is saved to flash, so after a power cut the curtain knows where it is.

Arduino 3-Floor Elevator (NEMA 17 Stepper Motor + A4988 + Servo Door + TM1637)
#236Intermediate
Premium

Arduino 3-Floor Elevator (NEMA 17 Stepper Motor + A4988 + Servo Door + TM1637)

Build a model elevator that steals the show at the science fair! A NEMA 17 stepper driven by an A4988 lifts and lowers the cabin smoothly; at each floor it plays a "ding-dong", an SG90 servo opens the door and closes it after three warning beeps. Calls are served like in a real elevator: floors ahead first, then the way back, and the cabin stops for calls on the way. The TM1637 display shows the direction arrow, floor and door state.

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)
#241Intermediate
Premium

Raspberry Pi Pico Timelapse Camera Slider (NEMA 17 + A4988 + KY-040 + OLED)

Build your own slider for cinematic sliding shots! The Raspberry Pi Pico turns a NEMA 17 stepper very slowly and smoothly through an A4988 driver, and the carriage carries a phone or camera along a rail. With a KY-040 encoder you pick the mode, distance, time, direction and frame count from a menu. In VIDEO mode the carriage eases in and out; in TIMELAPSE mode it stops at every frame and waits for the shake to settle. The OLED shows progress and time left.