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. ›TB6560 3A Single-Axis Stepper Driver

Component guide · Intermediate · 3 min read

TB6560 3A Single-Axis Stepper Driver

DIP Switches, 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 TB6560 stepper driver isTB6560 stepper driver pinoutWiring the TB6560 stepper driverExample codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The TB6560 single-axis board drives one bipolar stepper at up to 3 A from 10 to 35 V. DIP switches set current, microstepping (up to 1/16) and decay mode, and the opto-isolated STEP, DIR and EN inputs connect to an Arduino, CNC breakout or parallel port controller. It suits NEMA 17 and small NEMA 23 motors on budget CNC builds.

Key specs at a glance

Motor supply
10 to 35 V DC
Current
Up to 3 A (DIP switches)
Microstepping
Full, 1/2, 1/8, 1/16
Inputs
Opto-isolated CLK, CW, EN
Decay
Selectable
Cooling
Heatsink on board; add a fan
01

What the TB6560 stepper driver is

The TB6560 board is a single-axis stepper driver built on Toshiba's TB6560 chip, with DIP switches for current and microstepping and opto-isolated inputs, aimed at budget CNC routers.

Inputs are opto-isolated, so they need the + side tied to 5 V and the - side pulled low by the Arduino (common anode), or the reverse wiring.

The TB6560 is older and less robust than DM542-style drivers; avoid hot-plugging motors and keep it cool.

02

TB6560 stepper driver pinout

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

PinFunction
+24V / GNDMotor supply
A+, A-, B+, B-Motor coils
CLK+ / CLK-Step
CW+ / CW-Direction
EN+ / EN-Enable
PinFunction
+24V / GND
Motor supply
A+, A-, B+, B-
Motor coils
CLK+ / CLK-
Step
CW+ / CW-
Direction
EN+ / EN-
Enable
03

Wiring the TB6560 stepper driver

Connect the TB6560 stepper driver like this.

TB6560 stepper driver pinArduino UnoESP32
CLK+, CW+, EN+5V3V3 (may need a 5 V level)
CLK-D3GPIO 25
CW-D2GPIO 26
EN-Leave open to enableLeave open
CLK+, CW+, EN+
Arduino Uno:
5V
ESP32:
3V3 (may need a 5 V level)
CLK-
Arduino Uno:
D3
ESP32:
GPIO 25
CW-
Arduino Uno:
D2
ESP32:
GPIO 26
EN-
Arduino Uno:
Leave open to enable
ESP32:
Leave open
04

Example code

A minimal sketch to check the part works.

Rotate with AccelStepper (Uno, common anode) · Arduino C++Verify & upload in Electrolark
#include <AccelStepper.h>
AccelStepper st(AccelStepper::DRIVER, 3, 2);

void setup() {
  st.setPinsInverted(true, true, false);   // common anode wiring inverts signals
  st.setMaxSpeed(2000); st.setAcceleration(1000);
  st.moveTo(3200);
}

void loop() { st.run(); }
05

Setup and tuning

Current

set the DIP switches to the motor's rated current or slightly below; the motor runs cooler and rarely needs more.

Microstepping

1/8 is a good balance of smoothness and speed for CNC; 1/16 is smoother but needs higher step rates.

Input wiring

tie CLK+, CW+ and EN+ to 5 V and pull CLK-, CW- and EN- low from the controller (common anode), or use the common cathode wiring from the board's sheet.

Cooling

blow air over the heatsink; the TB6560 is sensitive to heat.

Power

switch off before connecting or disconnecting the motor, every time.

06

What you need

Shop this list4 of 5 found in our store · ₹785

  • TB6560 3A Single-Axis Stepper Motor Driver: the part this guide coversTB6560 3A Single-Axis Stepper Motor Driver₹423
  • Uno R3 development board: the controller used in the wiring tableFind this part
  • SMPS power supply in metal enclosure (5/12/24 V): a 12 or 24 V supplySMPS Power Supply, Metal Enclosure (5V / 12V / 24V)₹298Closest match, check the specs
  • Stepper motor mounting bracket: to mount the motorMotor Mounting Bracket₹49
  • Limit and micro switch: for end stops and homingLimit and Micro Switch₹15
07

Alternatives and when to choose them

  • ✓TB6600: enclosed, more common.
  • ✓DM556: digital, smoother.
  • ✓External stepper drivers.
08

Common mistakes to avoid

  • !Hot-plugging the motor, which often kills the TB6560.
  • !Running it without a fan in an enclosed cabinet.
  • !Wiring the opto inputs with the wrong polarity, so steps are ignored.
  • !Setting the current above the motor's rating.
09

Frequently asked questions

Can the TB6560 drive a NEMA 23 motor?

Small NEMA 23 motors up to about 3 A work. Larger NEMA 23 motors run better on a DM542 or DM556 style driver.

Does it work with 3.3 V logic?

Often not reliably, because the opto inputs need enough current. Use 5 V signals or a buffer when driving it from an ESP32.

What microstepping does it offer?

Full step, 1/2, 1/8 and 1/16, set by DIP switches.

What supply voltage does it need?

10 to 35 V DC. 24 V is a good choice for CNC because it gives better torque at speed.

Is the TB6600 better?

The TB6600 boxed drivers are usually more robust and better cooled, so they are the safer choice for new builds.

Parts for this guide

  • TB6560 3A Single-Axis Stepper Motor Driver
    ₹423View
  • Uno R3 Development Board (No Cable)
    ₹359View
  • SMPS Power Supply, Metal Enclosure (5V / 12V / 24V)
    ₹298View
  • Stepper Motor Mounting Bracket (NEMA17, NEMA23, NEMA34)
    ₹500View
  • Limit and Micro Switch
    ₹15View
Shop Stepper Motor Drivers

Projects that use it

Put this into practice: 1 step-by-step build in our project library uses parts from this guide.

Intermediate · 1 dayMotorised camera slider with a NEMA 17 stepper and belt driveView project
Browse all 1 project

Keep learning

Component 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 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 & Motion

Sources

  • Toshiba TB6560 datasheet

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 TB6560 stepper driver isTB6560 stepper driver pinoutWiring the TB6560 stepper driverExample 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 guide3 items · ₹487

TB6560 3A Single-Axis Stepper Motor Driver · Motor Mounting Bracket · Limit and Micro Switch

Run itChange the inputs and watch the output

Moves once to 3200 steps (one turn at 1/16) with acceleration, then holds.

Motor 0 / 3200

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