Same-day dispatch before 2 PM · Free delivery over ₹999 · GST invoices Get the appPrices incl. GST
Geekobot
Snap & SendNEWGeeko AIWhere's myOrder
Log in
Products
  • Projects
    • Component guidesHow parts work, with code you can run
    • Learning pathsFrom your first LED to your first robot
    • Workshops & eventsOnline sessions for makers and classes
    • ElectrolarkFree guided builds, simulator and certificates
    • Students & teachersStudent discount and classroom help
    • CommunityShare builds and ask other makers
    • CalculatorsOhm's law, LED resistor, 555 and 100+ more
    • Circuit builderWire parts and run the circuit, powered by Electrolark
    • Geeko AIAsk what to buy or how to wire it
    • Snap & SendPhotograph a part or list, we find it
    • Part finderAnswer a few questions, get the right part
    • Compatibility checkWill these two parts work together?
    • Compare partsSpecs side by side
    • Business & bulk ordersGST invoices, credit and volume prices
    • Request a quotationSend your list, get a quote
    • Classroom kitsPer-student kits and lab bundles
    • Gift cardsFor students, teams and events
  • Atal Tinkering Lab
BOM to cart
Geekobot

Components, kits and know-how for makers, students, engineers, labs and businesses across India.

Ask Geeko AIOrders, parts and projects, any timeEmail supportReply within 1 working dayGet the Geekobot appAdd it to your home screen, free

Follow us

Shop

  • Boards & SBCs
  • Sensors & Modules
  • IoT & Wireless
  • Drone & FPV
  • 3D Printing
  • Filaments & Resins
  • Motors & Drivers
  • Power & Batteries
  • Semiconductors
  • Passive
  • Displays & LEDs
  • Switches & Relays
  • Wires & Cables
  • Prototyping
  • Tools & Test
  • Robotics
  • STEM Kits
  • Atal Tinkering Lab
  • Mechanical Parts
  • Audio

Orders

  • Track your order
  • Help & support
  • Shipping and delivery
  • Refunds and cancellation
  • Contact us

Learn

  • Projects
  • Geeko AI project assistant
  • Learning paths
  • Guides
  • Calculators
  • Electrolark: free guided builds

Part tools

  • Part finder
  • Compare parts
  • Will it work with my board?

Institutions

  • Classroom kits
  • Atal Tinkering Lab
  • Students & teachers
  • Workshops & Events

Business

  • Business & education
  • Request a quotation
  • BOM bulk upload
  • Quick order by SKU

Company

  • About Geekobot
  • Community
  • Gift cards
  • Terms & conditions
  • Privacy policy
  • Product directory
  • Sitemap

© 2026 Geekobot, a trade name of OLatus Systems Private Limited. All rights reserved.

20, 1st Floor, Neeladri Complex, 10th Cross, Sampige Rd, 2nd Main, Malleshwaram, Bengaluru, Karnataka 560003 · GSTIN 29AACCO0462F1ZM

+91 91810 15607 · connect@geekobot.in · Monday to Saturday, 10 AM to 2 PM IST

UPI · CARDS · NETBANKING · GST INVOICES

ShopProjectsGeeko AIGuides
Compare 0 parts →
Log in

Shop by category

Shop all components
  • Boards & SBCs1,910 products
    • Alternative Single Board Computers
    • Arduino Ecosystem
    • FPGA & Logic Boards
    • Microcontroller & Wireless Boards
    View all
  • Sensors & Modules4,701 products
    • Biomedical & Heart Rate
    • Current, Voltage & Power
    • Force, Weight & Pressure
    • Gas, Weather & Environmental
    View all
  • IoT & Wireless2,314 products
    • RF Modules
    • RFID & NFC
    • Antennas & RF Accessories
    • Cameras & Smart Vision
    View all
  • Drone & FPV3,558 products
    • Flight Control & Navigation
    • FPV Video & Optics
    • Frames & Structural Parts
    • Motors & Propulsion
    View all
  • 3D Printing2,204 products
    • 3D Printers
    • 3D Scanners & Digitizers
    • Laser Engravers & Cutters
    • Material Management & Upgrades
    View all
  • Filaments & Resins1,472 products
    • Filaments
    • Photopolymer Resins
    View all
  • Motors & Drivers463 products
    • BLDC Motor Drivers
    • DC & Geared Motors
    • DC Motor Drivers
    • Linear Actuators & Solenoids
    View all
  • Power & Batteries557 products
    • Battery Holders & Connectors
    • Breadboard Power
    • Chargers & BMS
    • DC-DC Converters
    View all
  • Semiconductors295 products
    • Diodes & Rectifiers
    • Interface & RF Encoder ICs
    • Logic ICs (74xx)
    • Logic ICs (CD4000)
    View all
  • Passive67 products
    • Capacitors
    • Circuit Protection
    • Crystals & Oscillators
    • Inductors
    View all
  • Displays & LEDs572 products
    • 7-Segment & Dot Matrix
    • Addressable LEDs
    • Character LCDs
    • Graphic LCDs
    View all
  • Switches & Relays184 products
    • Keypads & Touch
    • Push Buttons & Tactile
    • Relay Modules
    • Relays
    View all
  • Wires & Cables233 products
    • Board-to-Wire Connectors
    • Crimp & Splice
    • Headers & Dupont
    • Heat Shrink & Sleeving
    View all
  • Prototyping101 products
    • Breadboards
    • Interface Modules
    • PCBs & Perfboards
    View all
  • Tools & Test717 products
    • Bench Power Supplies
    • Hand Tools
    • Measuring Tools
    • Meters & Testers
    View all
  • Robotics180 products
    • Humanoid & Legged Robots
    • Robot Chassis & Platforms
    • Robotic Arms & Grippers
    • Wheels & Casters
    View all
  • STEM Kits268 products
    • Arduino Learning Kits
    • Coding & IoT Kits
    • Early Coding (Ages 3-8)
    • Invention Kits
    View all
  • Atal Tinkering Lab196 products
    • Package 1: Electronics, Robotics, IoT and Sensors
    • Package 2: Rapid Prototyping Tools
    • Package 3: Mechanical, Electrical and Measurement Tools
    • Package 4: Power Supply, Accessories and Safety Equipment
    View all
  • Mechanical Parts212 products
    • Bearings
    • Brackets & Mounts
    • Couplers
    • Fasteners & Standoffs
    View all
  • Audio109 products
    • Amplifier Modules
    • Buzzers & Sirens
    • Speakers
    View all
  1. Home
  2. ›Guides
  3. ›Motors & Motion
  4. ›Stepper Motors and Drivers
Step 7 of 16 in Motors and robotsPart of a learning path.
Next

Component guide · Intermediate · 4 min read

Stepper Motors and Drivers

28BYJ-48, NEMA 17, A4988, DRV8825, TMC2209

By Geekobot Learning Team · Updated 24 Oct 2026

On this page
Short answerHow a stepper motor worksNEMA 17 vs 28BYJ-48A4988 vs DRV8825 vs TMC2209Set the current limit (Vref) before you run the motorWiring a NEMA 17 to an A4988Try itCommon mistakesFAQsParts and next steps
Short answer

A stepper motor turns in precise fixed steps, so you can position it accurately without a sensor. A NEMA 17 moves 1.8° per step (200 steps per revolution) and needs a current-limiting driver such as the A4988, DRV8825 or quiet TMC2209. The small 28BYJ-48 is a geared 5 V stepper driven by a ULN2003 board, ideal for slow, light jobs.

Key specs at a glance

NEMA 17
42 mm frame, 1.8°/step (200 steps/rev), bipolar, about 1 to 2 A per phase
28BYJ-48
5 V unipolar, about 1:64 gearbox, about 2048 steps/rev (full-step), low torque
A4988
8 to 35 V, up to about 2 A with cooling, 1/16 microstepping
DRV8825
8.2 to 45 V, up to about 2.2 A with cooling, 1/32 microstepping
TMC2209
4.75 to 29 V, about 2 A RMS, near-silent StealthChop, UART set-up
Control
STEP pulse per (micro)step, DIR pin for direction, EN to enable
01

How a stepper motor works

A stepper has a toothed magnetic rotor and several coils (phases). Energising the coils in sequence pulls the rotor round one step at a time. Because each pulse moves a known angle, counting pulses gives position. That is why 3D printers, CNC machines, camera sliders and plotters use steppers.

The trade-off: if the load is too heavy or acceleration too fast, the motor skips steps and the controller does not know. Size for at least a 2x torque margin and use acceleration ramps.

02

NEMA 17 vs 28BYJ-48

28BYJ-48 + ULN2003NEMA 17 + A4988/TMC2209
Supply5 V12 to 24 V
Steps/revAbout 2048 (geared)200 (1.8°), x microsteps
TorqueAbout 0.3 kg·cmAbout 4 to 5 kg·cm holding (varies by length)
Max speedAbout 10 to 15 RPMHundreds of RPM
Best forBlinds, dials, rotating displays, learning3D printers, CNC, sliders, robot joints
Supply
28BYJ-48 + ULN2003:
5 V
NEMA 17 + A4988/TMC2209:
12 to 24 V
Steps/rev
28BYJ-48 + ULN2003:
About 2048 (geared)
NEMA 17 + A4988/TMC2209:
200 (1.8°), x microsteps
Torque
28BYJ-48 + ULN2003:
About 0.3 kg·cm
NEMA 17 + A4988/TMC2209:
About 4 to 5 kg·cm holding (varies by length)
Max speed
28BYJ-48 + ULN2003:
About 10 to 15 RPM
NEMA 17 + A4988/TMC2209:
Hundreds of RPM
Best for
28BYJ-48 + ULN2003:
Blinds, dials, rotating displays, learning
NEMA 17 + A4988/TMC2209:
3D printers, CNC, sliders, robot joints
03

A4988 vs DRV8825 vs TMC2209

All three share the same "StepStick" footprint and STEP/DIR control.

A4988DRV8825TMC2209
Motor voltage8 to 35 V8.2 to 45 V4.75 to 29 V
Current (with cooling)About 2 AAbout 2.2 AAbout 2 A RMS
MicrosteppingUp to 1/16Up to 1/32Up to 1/256 (interpolated)
NoiseAudible whineAudible whineNear silent
ExtrasCheapestHigher voltageSensorless homing, UART tuning
Motor voltage
A4988:
8 to 35 V
DRV8825:
8.2 to 45 V
TMC2209:
4.75 to 29 V
Current (with cooling)
A4988:
About 2 A
DRV8825:
About 2.2 A
TMC2209:
About 2 A RMS
Microstepping
A4988:
Up to 1/16
DRV8825:
Up to 1/32
TMC2209:
Up to 1/256 (interpolated)
Noise
A4988:
Audible whine
DRV8825:
Audible whine
TMC2209:
Near silent
Extras
A4988:
Cheapest
DRV8825:
Higher voltage
TMC2209:
Sensorless homing, UART tuning
04

Set the current limit (Vref) before you run the motor

Every StepStick driver has a small potentiometer that sets the maximum coil current. Too low and the motor skips; too high and the motor and driver overheat.

  1. 1
    Power the driver's logic and motor supply with no motor movement commanded.
  2. 2
    Measure the voltage between the potentiometer and GND with a multimeter.
  3. 3
    Set Vref for your motor's rated current using the board's formula. For Pololu-style A4988 boards: I = Vref / (8 x Rsense); with 0.068 Ω sense resistors, Vref = I x 0.544. For DRV8825 boards with 0.1 Ω: I = Vref x 2. Check your board's sense resistor value, because clones vary.
  4. 4
    Start at about 70% of rated current and raise it only if the motor skips.
05

Wiring a NEMA 17 to an A4988

VMOT and GND

12 to 24 V motor supply with a 100 µF electrolytic capacitor right at the pins.

VDD and GND

3.3 or 5 V logic supply from your microcontroller.

1A, 1B, 2A, 2B

the two motor coils. Find the pairs with a multimeter: wires of the same coil show a few ohms between them.

STEP, DIR

to two microcontroller pins. RESET and SLEEP: join together (they float otherwise).

MS1 to MS3

leave open for full steps, or set high for microstepping.

Move a stepper with AccelStepper · Arduino C++Verify & upload in Electrolark
#include <AccelStepper.h>

AccelStepper stepper(AccelStepper::DRIVER, 3, 4);   // STEP = 3, DIR = 4

void setup() {
  stepper.setMaxSpeed(1000);      // steps per second
  stepper.setAcceleration(500);   // steps per second squared
  stepper.moveTo(200 * 16);       // one revolution at 1/16 microstepping
}

void loop() {
  if (stepper.distanceToGo() == 0)
    stepper.moveTo(-stepper.currentPosition());     // go back and forth
  stepper.run();
}
06

Try it: Stepper steps per mm calculator

Change the values and the diagram and results update as you type.

07

Common mistakes to avoid

  • !Connecting or disconnecting the motor while the driver is powered; the voltage spike can destroy the driver instantly.
  • !Skipping the current-limit adjustment.
  • !Leaving out the 100 µF capacitor on VMOT, which lets supply spikes kill the driver.
  • !Leaving SLEEP and RESET floating on an A4988, so the motor never moves.
  • !Running a 28BYJ-48 fast; it stalls above about 15 RPM. Use a NEMA 17 for speed.
08

Frequently asked questions

What does NEMA 17 mean?

NEMA 17 describes the faceplate size, 1.7 inches (about 42 mm) square, and mounting holes. It does not define torque, current or step angle, so compare datasheets.

Which is better: A4988, DRV8825 or TMC2209?

TMC2209 for quiet, smooth motion such as 3D printers and camera sliders. DRV8825 for higher voltage and current. A4988 when cost matters most.

Can I run a NEMA 17 at 5 V?

Use at least the driver's minimum (8 V for A4988), and ideally 12 to 24 V. A current-limiting driver lets you use a supply far above the motor's rated voltage, which gives better high-speed torque.

How many steps per revolution does the 28BYJ-48 have?

About 2048 in full-step mode and 4096 in half-step mode, due to its roughly 1:64 internal gearbox.

Why does my stepper motor vibrate but not turn?

Usually the coil pairs are wired wrongly, the current limit is too low, or steps are sent too fast without acceleration. Check coil pairs with a multimeter first.

Parts for this guide

  • DRV8825 Stepper Motor Driver with Heatsink
    ₹92View
  • ULN2003 Stepper Motor Driver Board
    ₹36View
  • Digital Multimeter
    ₹177View
Shop Stepper MotorsShop Stepper Motor DriversShop Linear MotionShop 3D Printer Spares

Calculators

Stepper steps per mm calculator

Terms in this guide

StepperA motor that moves in fixed angular steps, allowing precise positioning without feedback.MicrosteppingDriving a stepper motor's coils with intermediate currents to divide each full step into smaller steps for smoother motion.VrefOn stepper drivers, the reference voltage that sets the coil current limit.Holding torqueThe torque a powered stepper motor can resist without moving.H-bridgeA circuit of four switches that can drive a motor in both directions.

Projects that use it

Put this into practice: 17 step-by-step builds in our project library use parts from this guide.

Intermediate · 2–3 hoursStepper photo turntableView projectIntermediate · 2–3 hoursAutomatic curtain openerView projectIntermediate · 2–3 hoursStepper-motor dial thermometerView project
Browse all 17 projects

Keep learning

ComparisonBeginnerMotor Drivers ExplainedA motor driver lets a low-power microcontroller control the speed and direction of motors using an H-bridge.4 min read · Motors & MotionComponent guideBeginnerServo Motors GuideA hobby servo is a small motor with a gearbox, position sensor and control circuit that moves to an angle you set with a pulse signal.3 min read · Motors & MotionComponent guideBeginnerBuck and Boost ConvertersA DC-DC converter changes one DC voltage to another efficiently by switching current through an inductor.4 min read · Power & BatteriesHow-toBeginnerHow to Use a MultimeterTo measure voltage, set the multimeter to V DC, plug the red lead into the V/Ω jack and the black into COM, then touch the leads across the part.3 min read · Tools & Workshop Skills

Sources

  • A4988 datasheet (Allegro MicroSystems)
  • DRV8825 datasheet (Texas Instruments)
  • TMC2209 datasheet (Analog Devices / Trinamic)
  • ULN2003A datasheet (Texas Instruments)
  • AccelStepper library documentation

Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.

On this page
Short answerHow a stepper motor worksNEMA 17 vs 28BYJ-48A4988 vs DRV8825 vs TMC2209Set the current limit (Vref) before you run the motorWiring a NEMA 17 to an A4988Try itCommon mistakesFAQsParts and next steps
Need a hand?Ask Geeko AI which part fits your project, or talk to the Geekobot team.Ask Geeko AIHelp & support

Parts for this guide3 items · ₹304

DRV8825 Stepper Motor Driver with Heatsink · ULN2003 Stepper Motor Driver Board · Digital Multimeter

Run itChange the inputs and watch the output
Shaft 0.00 turns

A simulation of the sketch above, so you know what to expect. Real readings vary with your parts and wiring.

Ask the Community

Ask a question