Component guide · Intermediate · 3 min read
External Stepper Drivers
TB6600 and DM542
By Geekobot Learning Team · Updated 24 Oct 2026
On this page
External 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. They take step (PUL) and direction (DIR) signals through optocouplers, and DIP switches set the current and microstepping. Set the current to the motor's rated phase current, and use a higher supply voltage, such as 24 to 48 V, for better speed.
Key specs at a glance
- TB6600
- 9 to 42 V, up to about 3.5 to 4 A, up to 32 microsteps (versions vary)
- DM542
- 18 to 48 VDC, up to 4.2 A peak, digital (DSP) control, smoother
- Inputs
- PUL+/−, DIR+/−, ENA+/− through optocouplers
- Motor
- A+/A− and B+/B− to the two coils
- Settings
- DIP switches for current and microsteps
- Pulse timing
- Minimum pulse width and DIR setup time in the datasheet
Wiring to Arduino or a CNC controller
The inputs are optocoupler LEDs. For a 5 V board, use common cathode wiring: PUL−, DIR− and ENA− to GND; PUL+ to the step pin, DIR+ to the direction pin, and ENA+ to a pin or left unconnected (enabled on most drivers). Some drivers need series resistors for 12 or 24 V signals; check the manual. 3.3 V boards may not drive the optos reliably, so use a buffer or a driver rated for 3.3 V input.
Find motor coil pairs with a multimeter: two wires with a few ohms between them form one coil. Connect one pair to A+ and A−, the other to B+ and B−. If the motor runs backwards, swap the two wires of one coil.
Setting current and microsteps
Set the current switches to the motor's rated phase current (or a little below to run cooler). Too low loses steps; too high overheats the motor. The half-current option reduces current when the motor is stopped.
Higher microstepping gives smoother, quieter motion but needs more pulses per second for the same speed, which can exceed what an Uno produces. 8 or 16 microsteps is a good start. Use the stepper steps per mm calculator for your lead screw or belt.
Power and speed
Stepper torque drops as speed rises, because the coil current cannot change fast enough. A higher supply voltage lets the driver push current in faster, so a NEMA 23 often runs much better on 36 V than on 12 V. Stay below the driver's maximum, allowing for back-EMF when the motor decelerates. Use acceleration in code (AccelStepper) or firmware such as GRBL; sudden starts at high speed stall the motor. See stepper motors.
Try it: Stepper steps per mm calculator
Change the values and the diagram and results update as you type.
Common mistakes to avoid
- Swapping a wire between the two coils.
- Current set far above the motor rating.
- Unplugging the motor while the driver is powered.
- Microstepping so high that the controller cannot step fast enough.
- No acceleration ramp, so the motor stalls at speed.
Frequently asked questions
TB6600 or DM542?
The DM542 is a digital driver, smoother and quieter; the TB6600 is cheaper and fine for many builds.
What voltage should I use?
24 to 36 V for most NEMA 23 motors, within the driver's limit. Higher voltage gives better high-speed torque.
Can I use it with Arduino?
Yes. Wire common cathode and use AccelStepper or GRBL.
Why does my stepper only vibrate?
Coils are mis-paired, or the step rate is too high without acceleration.
Do I need the ENA pin?
Not usually. Leave it unconnected to keep the driver enabled, or use it to free the motor.
Parts for this guide
Calculators
Terms in this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.




