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. ›DM556, DM542, DM860 and DM422 Digital Stepper Drivers

Component guide · Intermediate · 4 min read

DM556, DM542, DM860 and DM422 Digital Stepper Drivers

DIP Settings and Wiring

By Geekobot Learning Team · Updated 29 Oct 2026

I'm using
Wiring, code and the Run it panels follow your board.
On this page
Short answerWhat the DM556 isDM556 pinoutWiring the DM556Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The DM556, DM542, DM860 and DM422 are digital (DSP) stepper drivers for NEMA 17 to NEMA 34 motors in CNC routers, laser cutters and linear stages. Current and microsteps are set with DIP switches, and the controller sends PUL (step), DIR and ENA signals through opto-isolated inputs. They run smoother and cooler than TB6600 drivers, with anti-resonance and idle current reduction.

Key specs at a glance

DM422
Up to 2.2 A peak, 12 to 36 V DC, NEMA 17
DM542
1.0 to 4.2 A peak, 20 to 50 V DC, NEMA 17 and 23
DM556
1.8 to 5.6 A peak, 20 to 50 V DC, NEMA 23 and 24
DM860 / DM860A
2.4 to 7.2 A peak, 24 to 80 V AC or 36 to 110 V DC, NEMA 34
Microsteps
400 to 25,600 steps per revolution by DIP switch
Inputs
Opto-isolated PUL, DIR, ENA, 5 V (24 V with resistor on most)
Step rate
Up to 200 kHz

Models in this guide

These are alternatives. Pick the one that fits your project; you only need one.

  • Option 1DM556 Digital Stepper Driver (NEMA23/24/34)₹1,299
  • Option 2DM860 Digital Stepper Driver for NEMA34₹2,499
  • Option 3DM860A 2-Phase Digital Stepper Motor Driver₹5,372
  • Option 4DM422 2-Phase Digital Stepper Driver₹2,450
  • Option 5Two Trees DM542 Digital Stepper Motor Driver₹949
01

What the DM556 is

These drivers sit in a CNC control box next to a 24 V, 36 V or 48 V supply. Higher supply voltage keeps torque up at speed; stay below the driver's limit with margin for back-EMF.

Set the current switch to the motor's rated current (peak or RMS as labelled), and turn on half-current at idle to cut heat when the machine stands still.

02

DM556 pinout

The pins on the DM556 and what each one does.

PinFunction
PUL+ / PUL-Step input (opto)
DIR+ / DIR-Direction input
ENA+ / ENA-Enable (leave open to keep enabled on most models)
A+ A- B+ B-Motor coils
+VDC / GNDMotor supply (AC1 / AC2 on DM860 AC versions)
SW1-SW8Current, idle current and microstep DIP switches
PinFunction
PUL+ / PUL-
Step input (opto)
DIR+ / DIR-
Direction input
ENA+ / ENA-
Enable (leave open to keep enabled on most models)
A+ A- B+ B-
Motor coils
+VDC / GND
Motor supply (AC1 / AC2 on DM860 AC versions)
SW1-SW8
Current, idle current and microstep DIP switches
03

Wiring the DM556

This is common-anode wiring: the + inputs go to 5 V and the controller pulls the - inputs low. The opto inputs need about 7 to 16 mA, which 3.3 V boards cannot always drive reliably, so buffer ESP32 outputs. Use 24 V logic only on drivers that state it or with a series resistor.

DM556 pinArduino UnoESP32
PUL+ / DIR+ / ENA+5V3V3 through a 74HCT buffer or 5 V level shifter
PUL-D2GPIO 26 (via buffer)
DIR-D5GPIO 27 (via buffer)
ENA-D8 (optional)GPIO 14 (optional)
+VDC / GND24 to 48 V supply24 to 48 V supply
PUL+ / DIR+ / ENA+
Arduino Uno:
5V
ESP32:
3V3 through a 74HCT buffer or 5 V level shifter
PUL-
Arduino Uno:
D2
ESP32:
GPIO 26 (via buffer)
DIR-
Arduino Uno:
D5
ESP32:
GPIO 27 (via buffer)
ENA-
Arduino Uno:
D8 (optional)
ESP32:
GPIO 14 (optional)
+VDC / GND
Arduino Uno:
24 to 48 V supply
ESP32:
24 to 48 V supply
04

Example code

Set the microstep switches to 1600 steps/rev to match this example. In GRBL or LinuxCNC, set the steps/mm from the same value and a step pulse of at least 2.5 us.

Spin a NEMA 23 with AccelStepper (common anode) · Arduino C++Verify & upload in Electrolark
#include <AccelStepper.h>

AccelStepper motor(AccelStepper::DRIVER, 2, 5);   // PUL- on D2, DIR- on D5

void setup() {
  motor.setPinsInverted(true, true, false);       // common-anode: LOW = active
  motor.setMaxSpeed(4000);        // steps per second
  motor.setAcceleration(8000);
  motor.moveTo(16000);            // 10 turns at 1600 steps/rev
}

void loop() {
  if (motor.distanceToGo() == 0) motor.moveTo(-motor.currentPosition());
  motor.run();
}
05

Setup and tuning

Current

set to the motor's rated current; lower it if the motor runs hot above 80 C.

Supply

a 48 V supply suits NEMA 23 on a DM556; 36 V suits NEMA 17 on a DM542.

Microsteps

1600 to 3200 steps/rev is a good balance of smoothness and controller step rate.

Cables

use shielded motor cable on CNC routers and keep it away from signal wires.

Never

connect or disconnect the motor with power on.

06

What you need

Shop this list9 of 11 found in our store · ₹14,340

  • DM556 Digital Stepper Driver (NEMA23/24/34): the part this guide coversDM556 Digital Stepper Driver (NEMA23/24/34)₹1,299
  • DM860 Digital Stepper Driver for NEMA34: another version this guide coversDM860 Digital Stepper Driver for NEMA34₹2,499
  • DM860A 2-Phase Digital Stepper Motor Driver: another version this guide coversDM860A 2-Phase Digital Stepper Motor Driver₹5,372
  • DM422 2-Phase Digital Stepper Driver: another version this guide coversDM422 2-Phase Digital Stepper Driver₹2,450
  • Two Trees DM542 Digital Stepper Motor Driver: another version this guide coversTwo Trees DM542 Digital Stepper Motor Driver₹949
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • ESP32-WROOM-32 38-pin development board: for Wi-Fi logging and dashboardsESP32-WROOM-32 38-Pin Development Board₹389
  • NEMA 17 stepper motor 42HS48: a motor to driveNEMA 17 Stepper Motor 42HS48-2504 AF-01 (5.6 kg-cm)₹794
  • 24V 4A switching power supply board: to power the stepper driver24V 4A AC-DC Switching Power Supply Board₹411
  • 4-channel logic level converter: to drive the opto inputs from 3.3 V boardsFind this part
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
07

Alternatives and when to choose them

  • ✓TB6600 stepper driver: cheaper, noisier, up to 4 A.
  • ✓External stepper drivers: how box drivers compare.
  • ✓Stepper motors: NEMA sizes and current.
08

Common mistakes to avoid

  • !Driving the opto inputs straight from 3.3 V GPIO and missing steps.
  • !Using a supply above the driver's limit.
  • !Setting the current switch above the motor's rating.
  • !Running PUL pulses shorter than 2.5 us.
09

Frequently asked questions

DM542 or DM556?

The DM542 for NEMA 17 and small NEMA 23 motors up to 4.2 A; the DM556 for NEMA 23 and 24 up to 5.6 A.

Can I use it with GRBL?

Yes. Wire PUL, DIR and ENA from the GRBL board's step and direction pins.

What supply voltage should I use?

24 to 48 V for the DM542 and DM556; 60 to 80 V AC for the DM860 on NEMA 34.

Does ENA need to be connected?

No. On most models the driver is enabled when ENA is left open.

Why is my motor noisy at one speed?

That is mid-band resonance; change microsteps or use the driver's auto-tune at power-up.

Parts for this guide

  • DM556 Digital Stepper Driver (NEMA23/24/34)
    ₹1,299View
  • DM860 Digital Stepper Driver for NEMA34
    ₹2,499View
  • DM860A 2-Phase Digital Stepper Motor Driver
    ₹5,372View
  • DM422 2-Phase Digital Stepper Driver
    ₹2,450View
  • Two Trees DM542 Digital Stepper Motor Driver
    ₹949View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • ESP32-WROOM-32 38-Pin Development Board
    ₹389View
  • NEMA 17 Stepper Motor 42HS48-2504 AF-01 (5.6 kg-cm)
    ₹794View
  • 24V 4A AC-DC Switching Power Supply Board
    ₹411View
  • 4-Channel Logic Level Converter (BSS138)
    ₹20View
  • Digital Multimeter
    ₹177View
Shop Stepper Motor DriversShop Electronics & Sensors

Keep learning

Component guideIntermediateExternal Stepper DriversExternal stepper drivers such as the TB6600 and DM542 drive larger NEMA 17, 23 and 24 motors at higher currents and voltages than small A4988 boards.3 min read · Motors & MotionComponent guideIntermediateTB6600 stepper driverThe TB6600 is an enclosed stepper driver for NEMA17 and NEMA23 motors up to about 4 A, powered from 9 to 42 V.3 min read · Motors & MotionComponent guideIntermediateStepper Motors and DriversA stepper motor turns in precise fixed steps, so you can position it accurately without a sensor.4 min read · Motors & Motion

Sources

  • Leadshine DM422, DM542, DM556 and DM860 datasheets

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

On this page
Short answerWhat the DM556 isDM556 pinoutWiring the DM556Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon 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 guide (Arduino Uno)5 items · ₹2,885

DM556 Digital Stepper Driver (NEMA23/24/34) · NEMA 17 Stepper Motor 42HS48-2504 AF-01 (5.6 kg-cm) · 24V 4A AC-DC Switching Power Supply Board · Digital Multimeter · Uno R3 CH340G ATmega328p Compatible Development Board

Run itChange the inputs and watch the output

16000 steps out and back with acceleration. At 1600 steps per turn that is 10 turns each way.

Motor position -16000

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