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. ›TMC2209 and TMC2208 Stepper Driver

Component guide · Intermediate · 4 min read

TMC2209 and TMC2208 Stepper Driver

UART, StealthChop 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 TMC2209 isTMC2209 pinoutWiring the TMC2209Example codeSetup and tuningWhat you needAlternatives and when to choose themCommon mistakesFAQsParts and next steps
Short answer

The TMC2209 is a silent StepStick stepper driver for NEMA 17 motors, used in 3D printers and CNC machines. It drives up to about 2 A RMS, uses StealthChop for near-silent motion, and can be set over a single-wire UART for current, microsteps and sensorless homing (StallGuard). The TMC2208 and TMC2225 are similar but without StallGuard; the TMC2226 is a TMC2209 in a cooler package.

Key specs at a glance

Motor current
TMC2209 / TMC2226 2.0 A RMS (2.8 A peak), TMC2208 / TMC2225 1.4 A RMS
Supply
4.75 to 29 V motor (VM), 3.3 or 5 V logic
Microsteps
Up to 1/256 interpolated
Modes
StealthChop2 (silent), SpreadCycle (high torque)
UART
Single-wire, sets current, microsteps and modes
StallGuard4
Sensorless homing on TMC2209 and TMC2226
Footprint
StepStick, pin-compatible with A4988 and DRV8825 sockets

Models in this guide

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

  • Option 1TMC2209 Stepper Motor Driver₹446
  • Option 2Makerbase MKS TMC2209 v2.0 Stepper Motor Driver₹479
  • Option 3Makerbase MKS TMC2226 Stepper Motor Driver with Heatsink₹399
  • Option 4Makerbase MKS TMC2208 v2.0 Stepper Motor Driver Module₹409
  • Option 5BIGTREETECH TMC2225 V1.0 Stepper Motor Driver₹399
  • Option 6BIGTREETECH BTT TMC2208 V3.0 UART Stepper Motor Driver₹569
01

What the TMC2209 is

TMC drivers replace A4988 and DRV8825 drivers in the same sockets and make printers almost silent. In standalone (legacy) mode they work with STEP and DIR only, with current set by the Vref pot. In UART mode the firmware sets everything in software.

Check your board's pin labels: some TMC2209 modules swap EN and the MS pins compared with A4988 layouts, and UART needs a jumper or a PDN/UART pin on the mainboard.

02

TMC2209 pinout

The pins on the TMC2209 and what each one does.

PinFunction
VM / GNDMotor supply, 4.75 to 29 V
VIO / GNDLogic supply, 3.3 or 5 V
A1 A2 B1 B2Motor coils (or 1A 1B 2A 2B)
STEPOne microstep per pulse
DIRDirection
ENLOW enables the driver
MS1 / MS2Microsteps in standalone mode, UART address with UART
PDN / UARTSingle-wire UART
DIAGStallGuard output for sensorless homing
Vref potSets motor current in standalone mode
PinFunction
VM / GND
Motor supply, 4.75 to 29 V
VIO / GND
Logic supply, 3.3 or 5 V
A1 A2 B1 B2
Motor coils (or 1A 1B 2A 2B)
STEP
One microstep per pulse
DIR
Direction
EN
LOW enables the driver
MS1 / MS2
Microsteps in standalone mode, UART address with UART
PDN / UART
Single-wire UART
DIAG
StallGuard output for sensorless homing
Vref pot
Sets motor current in standalone mode
03

Wiring the TMC2209

Add a 100 uF capacitor across VM near the driver. Never plug or unplug the motor while powered: it destroys the driver. Fit the heatsink, and the module the right way round (EN pin to EN).

TMC2209 pinArduino UnoESP32
STEPD2 (X step on CNC shield)GPIO 26
DIRD5GPIO 27
END8 (LOW = on)GPIO 14
PDN / UARTD11 via 1 k resistor (TX) and D10 (RX)GPIO 17 via 1 k and GPIO 16
VM / GND12 or 24 V supply12 or 24 V supply
VIO / GND5V / GND3V3 / GND
STEP
Arduino Uno:
D2 (X step on CNC shield)
ESP32:
GPIO 26
DIR
Arduino Uno:
D5
ESP32:
GPIO 27
EN
Arduino Uno:
D8 (LOW = on)
ESP32:
GPIO 14
PDN / UART
Arduino Uno:
D11 via 1 k resistor (TX) and D10 (RX)
ESP32:
GPIO 17 via 1 k and GPIO 16
VM / GND
Arduino Uno:
12 or 24 V supply
ESP32:
12 or 24 V supply
VIO / GND
Arduino Uno:
5V / GND
ESP32:
3V3 / GND
04

Example code

In standalone mode skip the UART lines and set current with Vref: Irms = Vref / 1.41 for most TMC2209 boards (check the seller's formula). In Marlin or Klipper, set driver type TMC2209 and run_current in the config.

Set current over UART and spin a NEMA 17 (TMCStepper) · Arduino C++Verify & upload in Electrolark
#include <TMCStepper.h>
#include <SoftwareSerial.h>

#define STEP 2
#define DIR 5
#define EN 8
SoftwareSerial uart(10, 11);              // RX, TX
TMC2209Stepper drv(&uart, 0.11f, 0b00);   // sense resistor 0.11 ohm, address 0

void setup() {
  pinMode(STEP, OUTPUT); pinMode(DIR, OUTPUT); pinMode(EN, OUTPUT);
  digitalWrite(EN, LOW);
  uart.begin(115200);
  drv.begin();
  drv.rms_current(800);     // mA
  drv.microsteps(16);
  drv.en_spreadCycle(false); // StealthChop
}

void loop() {
  digitalWrite(DIR, HIGH);
  for (long i = 0; i < 3200; i++) {       // one turn at 1/16
    digitalWrite(STEP, HIGH); delayMicroseconds(150);
    digitalWrite(STEP, LOW);  delayMicroseconds(150);
  }
  delay(500);
}
05

Setup and tuning

Vref

measure between the pot and GND with the driver powered; set it with a ceramic screwdriver.

Current

start at 70 % of the motor's rated current and raise only if steps are lost.

UART

on a mainboard, fit the UART jumper under the socket; remove MS jumpers if the board asks.

Sensorless homing

set the StallGuard threshold and connect DIAG to the endstop pin.

Cooling

above 1.2 A use a fan over the heatsinks.

06

What you need

Shop this list13 of 14 found in our store · ₹5,116

  • TMC2209 Stepper Motor Driver: the part this guide coversTMC2209 Stepper Motor Driver₹446
  • Makerbase MKS TMC2209 v2.0 Stepper Motor Driver: another version this guide coversMakerbase MKS TMC2209 v2.0 Stepper Motor Driver₹479
  • Makerbase MKS TMC2226 Stepper Motor Driver with Heatsink: another version this guide coversMakerbase MKS TMC2226 Stepper Motor Driver with Heatsink₹399
  • Makerbase MKS TMC2208 v2.0 Stepper Motor Driver Module: another version this guide coversMakerbase MKS TMC2208 v2.0 Stepper Motor Driver Module₹409
  • BIGTREETECH TMC2225 V1.0 Stepper Motor Driver: another version this guide coversBIGTREETECH TMC2225 V1.0 Stepper Motor Driver₹399
  • BIGTREETECH BTT TMC2208 V3.0 UART Stepper Motor Driver: another version this guide coversBIGTREETECH BTT TMC2208 V3.0 UART Stepper Motor Driver₹569
  • BIGTREETECH BTT TMC2208 V3.0 Stepper Motor Driver: another version this guide coversBIGTREETECH BTT TMC2208 V3.0 Stepper Motor Driver₹539
  • 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
  • CNC Shield V3 for Arduino Uno: to plug StepStick drivers into an UnoCNC Shield V3 for Arduino UNO – A4988 DRV8825 Compatible₹89Closest match, check the specs
  • 24V 4A switching power supply board: to power the stepper driver24V 4A AC-DC Switching Power Supply Board₹411
  • Electrolytic capacitor: 100 uF across VM near the driverElectrolytic Capacitor₹16
  • Digital multimeter: to check supply and signal voltagesDigital Multimeter₹177
07

Alternatives and when to choose them

  • ✓A4988 vs DRV8825 vs TMC2209: which StepStick to choose.
  • ✓DRV8825 stepper driver: the cheaper 1/32 driver.
  • ✓Stepper motors: sizing and wiring NEMA motors.
  • ✓3D printer mainboards: boards that take these drivers.
08

Common mistakes to avoid

  • !Plugging the driver in backwards or offset by a pin.
  • !Unplugging the motor while powered.
  • !Setting Vref far above the motor's rating.
  • !Forgetting the 1 k resistor on the UART TX line.
  • !Expecting sensorless homing on a TMC2208.
09

Frequently asked questions

Can I replace an A4988 with a TMC2209?

Usually yes, same socket. Check EN pin position and set Vref; firmware changes are only needed for UART features.

TMC2209 or TMC2208?

The TMC2209 gives more current and sensorless homing; choose the TMC2208 only for simple silent upgrades.

What is StealthChop?

A voltage-mode chopper that makes motors almost silent at low and medium speed.

Why does my motor lose steps at speed?

StealthChop loses torque at high speed; switch to SpreadCycle or raise the voltage to 24 V.

How do I set the current?

Use rms_current() over UART, or turn the Vref pot in standalone mode.

Parts for this guide

  • TMC2209 Stepper Motor Driver
    ₹446View
  • Makerbase MKS TMC2209 v2.0 Stepper Motor Driver
    ₹479View
  • Makerbase MKS TMC2226 Stepper Motor Driver with Heatsink
    ₹399View
  • Makerbase MKS TMC2208 v2.0 Stepper Motor Driver Module
    ₹409View
  • BIGTREETECH TMC2225 V1.0 Stepper Motor Driver
    ₹399View
  • BIGTREETECH BTT TMC2208 V3.0 UART Stepper Motor Driver
    ₹569View
  • BIGTREETECH BTT TMC2208 V3.0 Stepper Motor Driver
    ₹539View
  • 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
  • CNC Shield V3 for Arduino UNO – A4988 DRV8825 Compatible
    ₹89View
  • 24V 4A AC-DC Switching Power Supply Board
    ₹411View
  • Electrolytic Capacitor
    ₹16View
  • Digital Multimeter
    ₹177View
Shop Stepper Motor DriversShop Electronics & Sensors

Projects that use it

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

Intermediate · 1 dayBuild a belt-driven linear axis on 2020 extrusion with a CNC shieldView project
Browse all 1 project

Keep learning

ComparisonIntermediateA4988 vs DRV8825 vs TMC2209All three are StepStick-size drivers controlled by STEP and DIR pins.4 min read · Motors & MotionComponent guideIntermediateDRV8825 Stepper DriverThe DRV8825 is a small stepper motor driver for bipolar motors such as the NEMA 17.3 min read · SensorsComponent guideIntermediateStepper Motors and DriversA stepper motor turns in precise fixed steps, so you can position it accurately without a sensor.4 min read · Motors & MotionBuying guideAdvanced3D Printer MainboardsHow to choose or replace a 3D printer mainboard: 32-bit vs 8-bit, TMC stepper drivers, matching your printer model, firmware, wiring safety and testing.3 min read · 3D Printing

Sources

  • Trinamic (Analog Devices) TMC2209 and TMC2208 datasheets
  • TMCStepper Arduino library

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 TMC2209 isTMC2209 pinoutWiring the TMC2209Example 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)6 items · ₹2,048

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

Run itChange the inputs and watch the output

800 mA, 1/16 steps, StealthChop (quiet). 3200 steps is one turn, then a short pause.

Motor one turn, then 0.5 s pause

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