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. ›TB6600 stepper driver

Component guide · Intermediate · 3 min read

TB6600 stepper driver

Pinout, Wiring and Code

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 TB6600 stepper driver isTB6600 stepper driver pinoutWiring the TB6600 stepper driverExample codeSetup and tuningWhat you needAlternatives and when to choose themTry itCommon mistakesFAQsParts and next steps
Short answer

The TB6600 is an enclosed stepper driver for NEMA17 and NEMA23 motors up to about 4 A, powered from 9 to 42 V. You set current and microstepping with DIP switches, then send step pulses to PUL and direction to DIR. Its opto-isolated inputs work with 5 V boards and, on most units, with 3.3 V boards too.

Key specs at a glance

Motor current
0.5 to 4.0 A (DIP switch, peak)
Supply
9 to 42 V DC
Microstepping
1, 2/A, 2/B, 4, 8, 16, 32
Inputs
PUL, DIR, ENA, opto-isolated, 5 V signal level
Motors
2-phase bipolar steppers (NEMA17, NEMA23)
Step rate
Up to about 20 kHz pulse frequency
01

What the TB6600 stepper driver is

The TB6600 is a stand-alone stepper driver in a metal case with a heatsink. A controller sends it a pulse for every step and a level on DIR for the direction; the driver handles coil currents and microstepping.

Use it when a stepper needs more current or voltage than an A4988 or DRV8825 can handle: CNC routers, laser engravers, camera sliders and conveyor projects with NEMA23 motors.

02

TB6600 stepper driver pinout

The pins on the TB6600 stepper driver and what each one does.

PinFunction
PUL+ / PUL−Step pulses
DIR+ / DIR−Direction
ENA+ / ENA−Enable (leave unconnected to keep the motor enabled)
A+ / A−Motor coil A
B+ / B−Motor coil B
VCC / GNDSupply 9 to 42 V DC
PinFunction
PUL+ / PUL−
Step pulses
DIR+ / DIR−
Direction
ENA+ / ENA−
Enable (leave unconnected to keep the motor enabled)
A+ / A−
Motor coil A
B+ / B−
Motor coil B
VCC / GND
Supply 9 to 42 V DC
03

Wiring the TB6600 stepper driver

This is the common-cathode wiring: the minus inputs go to the controller GND and the plus inputs to its pins. Find the coil pairs with a multimeter (low resistance between two wires = one coil).

TB6600 stepper driver pinArduino UnoESP32
PUL+D3GPIO 25
DIR+D4GPIO 26
ENA+D5 (optional)GPIO 27 (optional)
PUL−, DIR−, ENA−GNDGND
A+ A− B+ B−Motor coilsMotor coils
VCC / GND24 V supply24 V supply
PUL+
Arduino Uno:
D3
ESP32:
GPIO 25
DIR+
Arduino Uno:
D4
ESP32:
GPIO 26
ENA+
Arduino Uno:
D5 (optional)
ESP32:
GPIO 27 (optional)
PUL−, DIR−, ENA−
Arduino Uno:
GND
ESP32:
GND
A+ A− B+ B−
Arduino Uno:
Motor coils
ESP32:
Motor coils
VCC / GND
Arduino Uno:
24 V supply
ESP32:
24 V supply
04

Example code

With 1/16 microstepping a 1.8 degree motor needs 3200 pulses per revolution.

Move back and forth with AccelStepper · Arduino C++Verify & upload in Electrolark
#include <AccelStepper.h>

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

void setup() {
  stepper.setMaxSpeed(2000);       // steps per second
  stepper.setAcceleration(1000);
  stepper.setMinPulseWidth(5);     // µs, the TB6600 needs a few µs
}

void loop() {
  if (stepper.distanceToGo() == 0)
    stepper.moveTo(stepper.currentPosition() == 0 ? 3200 : 0);   // 1 rev at 1/16
  stepper.run();
}
05

Setup and tuning

Current

set the DIP switches to the motor's rated phase current or a little below. Running cooler lowers torque slightly but reduces heat.

Microstepping

1/8 or 1/16 is smooth for most builds. Higher settings need faster pulses for the same speed.

Voltage

24 V is a good default; higher voltage keeps torque up at speed.

Steps per mm

use the steps per mm calculator for lead screws and belts.

Disconnect power

before connecting or removing the motor; unplugging a powered stepper damages drivers.

06

What you need

Shop this list4 of 5 found in our store · ₹2,325

  • Two Trees TB6600 4A stepper motor driver: the driver this guide coversTwo Trees TB6600 4A Stepper Motor Driver for 3D Printers₹492
  • NEMA17 stepper motor 42HM48-1684: a common stepper to driveNEMA17 4.4 kg-cm Stepper Motor 42HM48-1684₹1,399
  • Enclosed SMPS power supply: 12 V or 24 V supply for bigger loadsEnclosed SMPS Power Supply₹257
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • Digital multimeter: to set and check output voltageDigital Multimeter₹177
07

Alternatives and when to choose them

  • ✓A4988, DRV8825, TMC2209: small carrier boards for 3D printers and NEMA17 up to about 2 A.
  • ✓External stepper drivers: DM542 and DM556 digital drivers run smoother and quieter than the TB6600.
  • ✓Stepper motors: choosing the motor size.
08

Try it: Stepper steps per mm calculator

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

09

Common mistakes to avoid

  • !Connecting or unplugging the motor while powered.
  • !Setting the current higher than the motor rating, which overheats the motor.
  • !Sending pulses too short or too fast for the driver.
  • !Mixing up coil pairs, so the motor only vibrates.
10

Frequently asked questions

Does TB6600 work with 3.3 V ESP32 signals?

Most units do because the optocouplers switch at about 2.5 V, but some need 5 V. If steps are missed, add a level shifter or a transistor.

What supply voltage should I use?

24 V is a good default for NEMA17 and NEMA23. The range is 9 to 42 V.

How do I set the current?

Use the DIP switches S4 to S6 and the table printed on the case. Match the motor's rated phase current.

Why does my motor vibrate but not turn?

The coil pairs are wrong, or the step rate is too high to start. Check pairs with a multimeter and add acceleration.

Do I need the ENA pin?

No. Leave it unconnected and the driver stays enabled. Use it to switch the motor off to save heat.

Can I use it for a 3D printer?

It can work, but it is noisy and bulky. TMC2209 drivers are quieter for printers.

Parts for this guide

  • Two Trees TB6600 4A Stepper Motor Driver for 3D Printers
    ₹492View
  • NEMA17 4.4 kg-cm Stepper Motor 42HM48-1684
    ₹1,399View
  • Enclosed SMPS Power Supply
    ₹257View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • Digital Multimeter
    ₹177View
Shop Electronics & Sensors

Calculators

Stepper steps per mm calculatorStepper speed calculatorLead screw calculator

Projects that use it

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

Intermediate · 2 hoursNEMA 17 stepper speed and direction controlView projectAdvanced · 4–6 hoursMotorised camera slider for time-lapseView projectIntermediate · 1 dayBuild a belt-driven linear axis on 2020 extrusion with a CNC shieldView project
Browse all 3 projects

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 guideIntermediateStepper Motors and DriversA stepper motor turns in precise fixed steps, so you can position it accurately without a sensor.4 min read · Motors & MotionComparisonIntermediateA4988 vs DRV8825 vs TMC2209All three are StepStick-size drivers controlled by STEP and DIR pins.4 min read · Motors & MotionBuying guideIntermediateLaser Engravers and Desktop CNC MachinesDesktop diode laser engravers burn designs into wood, leather and card, and stronger ones cut thin plywood.3 min read · Tools & Workshop Skills

Sources

  • TB6600 stepper driver manual (Toshiba TB6600HG datasheet)
  • 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 answerWhat the TB6600 stepper driver isTB6600 stepper driver pinoutWiring the TB6600 stepper driverExample codeSetup and tuningWhat you needAlternatives and when to choose themTry 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 guide4 items · ₹2,325

Two Trees TB6600 4A Stepper Motor Driver for 3D Printers · NEMA17 4.4 kg-cm Stepper Motor 42HM48-1684 · Enclosed SMPS Power Supply · Digital Multimeter

Run itChange the inputs and watch the output
Shaft 0 steps

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