CANBUS Stepper: Daisy-Chainable Closed-Loop Steppers
Bolt a smart board onto each NEMA 17 — ESP32-S3, TMC2209, 14-bit encoder — and chain motors over one CAN bus, like addressable LEDs over one data line.

What it is
A compact ESP32-S3 + TMC2209 controller board by joshr120 (Things by Josh) that bolts to the back of each NEMA 17 and closes the loop with a 14-bit magnetic encoder; boards daisy-chain over one CAN bus (up to 31 nodes, power passes through the chain) and the whole system is configured from a browser Web GUI — WLED for motors.
What you need
- CANBUS Stepper kit (one per motor) from the maker's store; ships assembled, firmware pre-flashed
- Interconnect cable (one per link) one per link; 300 mm and 500 mm lengths, custom lengths by email
- NEMA 17 stepper, 34 mm body not included; 6-pin JST PH ideal, two looms ship in the kit
- 12 V or 24 V DC supply not included; up to 12 A pass-through feeds the whole chain
How hard
Beginner: a screwdriver and a drop of glue, no soldering, configuration in a browser. The care points are sizing the power supply, CAN termination at the two chain ends, and unique node numbers.
Key Facts
- Software, firmware and documentation are GPL-3.0 (verified from the repo's LICENSE); the hardware design is not published — boards are sold as kits, and no gerbers or BOM exist anywhere in the repo
- Each board: ESP32-S3 + TMC2209 silent stepper driver + 14-bit magnetic absolute encoder (16,384 counts per revolution, documented as an MT6701) — closed-loop on by default, sensorless homing via the TMC2209's StallGuard
- 42 × 42 × 14 mm — bolts to the back of a NEMA 17 under a clear polycarbonate cover; ships assembled with firmware pre-flashed
- Daisy-chain over CAN: up to 31 nodes per bus, up to 1 M baud, power pass-through up to 12 A (fused on PWR IN); node IDs 1–31 set by holding a button at power-on
- Control the whole chain through any single node — USB, Wi-Fi, serial or raw CAN; a browser Web GUI configures, monitors and flashes firmware on every node with no toolchain installed
- MIT-licensed Python client library on PyPI (canbus-stepper 0.1.1), same API over USB or Wi-Fi
- Kit USD 70.00 per motor at the maker's store (checked 2026-11-26; the store geo-serves local currency — a direct fetch from our routing saw NZD 125.00), interconnect cable from USD 13.00 per link (300 mm; 500 mm USD 14.00)
- Max operating current 1.92 A per motor, software-adjustable (store rounds to 2 A peak; run/hold current default to 30%); 12 V or 24 V DC typical, board accepts 5–29 V; USB-C powers logic only
- Young single-maintainer project (repo created 2026-04-30, last push 2026-11-20, one open issue) with unusually strong docs: six-page datasheet, photo-illustrated assembly guide, complete CAN protocol reference, prebuilt firmware, live web GUI
- Availability caveat: the kit page read pre-order/backorder at our 2026-11-26 check with an estimated ship date already past; no finished multi-axis motion stack in the repo (Klipper “in the works”, ESPHome examples “coming soon”)
About This Project
If you have ever strung addressable LED strips, you already know the trick: one wire in, one wire out, every pixel smart enough to take its commands off a shared line and pass the rest along. That idea is why a hundred-pixel WLED display needs two wires instead of a hundred. Hackaday, featuring this project, compressed the comparison into one sentence: “It's not unlike the idea behind addressable LED strings, but with stepper motors instead.” Swap each LED for a NEMA 17 stepper and each pixel's little chip for a full ESP32-S3 controller, and you have CANBUS Stepper — WLED for motors. (New to the LED half of that analogy? Our WLED guide covers it.)
CANBUS Stepper, by joshr120 (“Things by Josh”), is a compact controller board that bolts to the back of a NEMA 17 stepper — 42 × 42 × 14 mm under a clear polycarbonate cover, the motor's own footprint. Each board carries the three pieces you normally spread across a whole machine: an ESP32-S3 microcontroller, a TMC2209 silent stepper driver, and — the headline feature, and the part most cheap stepper setups lack — a 14-bit magnetic absolute encoder that makes each motor closed-loop. The repo's own one-line description calls it a “Daisy Chain-able Closed Loop Stepper motor driver and controller.”
You chain boards together with short interconnect cables carrying power and a CAN bus (the two-wire network cars and factories use) from board to board, and you talk to the whole chain through any single node — USB, Wi-Fi, serial or raw CAN. Configuration happens in a browser: the project's Web GUI connects over USB or Wi-Fi, configures and monitors every node, and even flashes new firmware onto the boards, no toolchain installed.
The closed loop is the headline
Most hobby stepper setups are open-loop: the controller fires steps at the motor and trusts it to keep up. Stall the motor — a jam, too aggressive an acceleration — and the machine silently loses position, sometimes mid-cut. CANBUS Stepper closes the loop on every motor: a 14-bit magnetic absolute rotary encoder (16,384 counts per revolution; the part is documented as an MT6701 in the official Python library) reads the shaft's real angle through a small diametric magnet glued to its end, and the board corrects for what the steps intended versus where the shaft actually is. Closed-loop control is on by default. Homing gets cheaper too: the TMC2209's StallGuard can detect the motor hitting a mechanical end, so a machine can find its zero without a limit switch on every axis — the maker documents sensorless homing.
How the chain works, in plain language
The wiring between boards is deliberately boring: one XT30-style connector pair in, one out, carrying supply power and the CAN bus onward. Up to 12 A passes through the chain, so a single supply plugged into the first board feeds every motor after it.
Each board has a node number, 1 to 31 (zero is broadcast to everyone). You set it by holding the board's button while you power on: the LED flashes out the number and it is saved — no config file, no solder jumpers. The one DIP switch that matters for reliability is CAN TERM: ON only at the two physical ends of the chain, OFF everywhere in between, exactly like any CAN bus. The bus runs at up to 1 M baud, and the protocol doc publishes the whole command set — current, microstepping (16 µsteps by default, 200 steps per rev by default), motion limits, telemetry — with per-board health reporting: over-temperature warnings at 100 °C on the board and 120 °C on the driver die, shutdown at 125 °C and 143 °C, plus short and undervolt fault bits.
Why a plotter, tank, or arm builder cares
Wire a classic six-motor machine — a big plotter, a tracked rover, a robot arm — and the wire harness is the project. Every motor needs its driver home-run to one controller: step, direction, enable and ground pairs per axis, a bundle per motor, all pinned into one box next to one big supply. Double the motors, roughly double the harness.
The daisy-chain model changes the arithmetic. Each motor brings its own controller and driver on its back, the chain is two power wires plus two CAN wires repeated board to board, and motor number seven is one more kit and one more cable — up to 31 boards on a bus. CAN was designed for electrically noisy vehicles, so long chains across a moving arm or a floor robot are exactly its home turf. Our ESP32 self-balancing robot and desktop robot arm pages show the conventional wiring this replaces at small scale; this project is the same class of machine without the wire tangle.
Two pages you already know
If you have read our grbl page, you already know the recipe CANBUS Stepper uses. That page teaches the classic three-piece chain of hobby motion: a controller generating step pulses, a driver module turning them into coil currents, a NEMA 17 at the far end — on an Arduino Uno with a CNC shield and DRV8825/A4988 driver modules. CANBUS Stepper keeps the recipe and distributes it: the driver becomes a TMC2209 on the motor itself, the controller becomes an ESP32-S3 per motor, and the step pulses between them become messages on a CAN bus. Same NEMA 17s, same mental model — what is new is only the bus, plus the encoder closing each motor's loop. And grbl's “when to jump” section on that page (grblHAL, FluidNC — the 32-bit, Wi-Fi-capable successors) describes the same drift the whole field is on: motion control picking up an IP stack.
The other parent of the idea is our WLED page: many smart pixels, one shared line, one web interface. WLED for motors is not our joke — it is the honest architecture diagram.
How to get boards (read this before ordering)
First, a correction you will thank us for: there are no gerbers and no BOM. The project's open-source license covers the software, firmware and documentation; the hardware is sold, not published. A first-timer buys a kit, and the maker's store is the only source.
The full ordering walkthrough is in the tutorial below; the shape of it: one kit per motor, one interconnect cable per link between boards (three boards means two cables; custom lengths by email), a NEMA 17 with a 34 mm-long body if you don't have one (a 6-pin JST PH connector is the ideal plug, and the kit's two motor looms make a mismatch fixable without soldering), and a 12 V or 24 V DC supply with an XT30 lead — USB-C on the board powers only the logic for setup and will not drive the motor. Today's figures and the availability caveat are in the Parts list below, which carries the store price we checked (the store was listing the kit as pre-order/backorder, with an estimated ship date that had already passed, so read the availability line before you count on a delivery date).
Assembly: a screwdriver and a drop of glue
No soldering — the PCB arrives assembled with firmware already flashed. The guide documents roughly eight photo-illustrated steps: glue the encoder's magnet to the centre of the motor shaft (keep glue out of the bearing — the one fiddly step), swap the motor's rear screws for the kit's longer M3×40 ones, stick the heat pad on the heat spreader, seat the spacer and the PCB, fit the cover and screws, add the heatsink, and plug the motor loom. If the motor stutters when you first command it, power off and swap to the other loom — one of the two included cables is a straight-through pinout and the other is a crossover (ABAB versus ABBA).
Your first powered-up chain
The Getting Started sequence, start to finish, is in the tutorial below; the shape of it: feed 12 or 24 V into the first board's PWR IN connector, chain boards IN to OUT with the interconnect cables, set the CAN TERM switch ON on the two end boards only, and give each board a unique node number by holding its button at power-on and counting the LED flashes. Then plug USB-C from any one node into your computer, open the project's Web GUI in the browser, and click Connect — the GUI reports the nodes it found; pick a target node (or zero to broadcast), configure, save to flash, and update firmware, all from the same page. Optionally, join Wi-Fi from the GUI; the chain then answers wirelessly at an address like canbus-stepper-1.local over WebSockets — or from Python with the maker's library (pip install canbus-stepper), same API over USB or Wi-Fi.
Beyond the basics, each board carries a Qwiic/Stemma QT I²C port for sensors and a configurable AUX connector for serial control, GPIO or analog input (analog is unavailable while Wi-Fi is enabled). Two integrations to keep an eye on rather than count on today: the README says the boards work with ESPHome, with examples “coming soon”, and a Klipper integration is “in the works” — direction, not delivery.
The honest limits
We would want all of this on the table before spending the money.
This is a young, single-maintainer project — the repo dates from April 2026, and when we checked, its most recent push was six days old, with one open issue (a friendly question). Its documentation is unusually strong for a project this size — a six-page datasheet, a photo-illustrated assembly guide, a complete CAN protocol reference, a prebuilt firmware binary, a live web GUI and a PyPI library — and there is a real store behind it, which makes it far more durable than a bare repository. But the bus factor is one person.
Availability is the immediate unknown: the kit page read pre-order/backorder at our check, with an estimated ship date already in the past. The hardware is not open-source in the fab sense — no gerbers, no BOM — so the maker's store is the only source; if the store closes, the boards close with it (the software lives on under GPL-3.0).
Electrically, know what you are buying: the datasheet's maximum operating current is 1.92 A per motor, software-adjustable (the store rounds this to 2 A peak; run and hold current default to 30%), with power pass-through capped at 12 A for the chain. Microstepping defaults to 16 and is settable over the bus; the 256-µstep figure you will see in the driver chip's datasheet is the chip's ceiling, not something we or the maker's docs claim the board has been tested at. Hardware V1 is marked obsolete; V2 is what ships.
And plan your software honestly: what exists today is per-motor control through the Web GUI and the Python library, plus the documented CAN protocol. There is no finished G-code-style multi-axis motion stack in the repo — a full plotter or arm brain is a build of your own until the Klipper integration the README calls “in the works” actually lands.
Difficulty and cost
Assembly is genuinely beginner: hand tools, no soldering, a photo for every step. Overall we would still call it beginner, with three care points that ask for a little attention rather than skill: sizing the power supply against the chain's current, remembering bus termination at the two ends, and giving every board a unique node number. The cost structure is the real filter, not the skill: a first single-motor chain is a kit, a cable, a motor and a supply (today's figures are in the Parts list), and every additional motor is another kit and cable. The maker's FAQ positions the simpler single-motor PD Stepper as the entry option and this board as the multi-motor one with the higher-resolution encoder (14-bit versus 12-bit).
License: GPL-3.0, and who to credit
Known upstream issueGPL-3.0, and the scope matters — the software, firmware and documentation are GPL-3.0 (verified from the repo's LICENSE file): you may run them for any purpose, study and modify them, and redistribute copies free or at a fee, including commercially, with source on distribution. The hardware design is NOT in that scope: the repo contains no gerbers and no BOM, so the boards are bought as kits from the maker's store. The separate Python library on PyPI (canbus-stepper) is MIT-licensed.
Credit where it is due: the project is created and maintained by joshr120, sold as kits through Things by Josh, and the Hackaday feature by Zoe Skyforest (“Daisy Chaining Stepper Motors”, 2026-11-25) is where most people met it — worth noting that the article's “TCM2209” is a typo, and the chip is the TMC2209, as the repo, datasheet and store all spell it. The same creator's earlier Hackaday feature, USB-PD-powered steppers in August 2024, is the visible lineage. MCU Atlas is not affiliated with any of them.
What we verified, and what we didn't
Every source on this page was checked live on 2026-11-26 — the GitHub repository through its API, the datasheet PDF read in full, the Getting Started guide, the CAN protocol document, both store product pages, the PyPI record, and the Web GUI over HTTP — with the Hackaday article's quoted sentence and both store prices re-verified against saved page bytes the same day. We have not built or run the hardware: every description above of how the boards behave is the maker's own documentation, not our measurement. Dated figures are exactly as the sources stated them that day, and stock states move — re-check the Parts list before you buy.
Source & Attribution

How to Build It
Parts Needed
- One CANBUS Stepper kit per motor from the maker's store (today's price and the availability caveat are on the page's Parts list; ships assembled with firmware pre-flashed — read the store's availability line before ordering)
- One interconnect cable per link between boards (three boards means two cables; 300 mm and 500 mm lengths, custom lengths by email)
- A NEMA 17 stepper with a 34 mm-long body per motor (not included; the guide links a specific Hanpose model, a 6-pin JST PH connector is the ideal fit, and the kit's two motor looms make a connector mismatch fixable without soldering)
- A 12 V or 24 V DC supply with an XT30 lead — USB-C powers only the board's logic for setup and will not drive the motor
Steps
- 1
Order one kit per motor, one cable per link
Order from the maker's store: one kit per motor and one interconnect cable per link between boards (three boards means two cables; custom lengths by email). Read the availability line on the kit page before you count on a delivery date — the store was listing the kit as pre-order/backorder when we checked, with an estimated ship date that had already passed.
- 2
Match the motor
A NEMA 17 with a 34 mm-long body suits the kit's M3×40 screws; the Getting Started guide links a specific Hanpose model on Amazon and AliExpress. A 6-pin JST PH connector is the ideal plug, and the kit includes two motor looms so a mismatch is fixable.
- 3
Glue the encoder magnet to the shaft end
The one fiddly step: glue the kit's diametric magnet to the centre of the motor shaft, keeping glue out of the bearing.
- 4
Bolt the board on
No soldering — the PCB arrives assembled with firmware already flashed. Swap the motor's rear screws for the kit's longer M3×40 ones, stick the heat pad on the heat spreader, seat the spacer and the PCB, fit the cover and screws, add the heatsink, and plug the motor loom.
- 5
If the motor stutters, swap the loom
One of the two included motor cables is a straight-through pinout and the other is a crossover (ABAB versus ABBA). If the motor stutters when you first command it, power off and swap to the other loom.
- 6
Power the first board
Feed 12 or 24 V DC into the first board's PWR IN connector — power passes through the chain at up to 12 A, so a single supply feeds every motor after it. USB-C powers only the logic for configuration and cannot drive the motor.
- 7
Chain the boards
Connect boards IN to OUT with the interconnect cables, board after board.
- 8
Set CAN termination at the two ends only
The CAN TERM DIP switch goes ON only on the two physical end boards of the chain, OFF everywhere in between — exactly like any CAN bus.
- 9
Give each board a unique node number
Node numbers run 1 to 31 (zero is broadcast to everyone). Hold the board's button while powering on, count the LED flashes, and release — the number is saved, no config file, no solder jumpers.
- 10
Connect from the browser
Plug USB-C from any one node into your computer, open the project's Web GUI in the browser and click Connect — the GUI reports the nodes it found; pick a target node (or zero to broadcast), configure, save to flash, and update firmware, all from the same page. Optionally join Wi-Fi from the GUI: the chain then answers wirelessly at an address like canbus-stepper-1.local over WebSockets — or from Python with the maker's library (pip install canbus-stepper), same API over USB or Wi-Fi.
Bill of Materials
Parts list
4 parts · 3 linked
Heads up: some Buy links are affiliate links. If you buy through one, MCU Atlas may earn a small commission at no extra cost to you. It never changes which parts we list. How this works
1× CANBUS Stepper kit (one per motor)
1× CANBUS Stepper interconnect cable (one per link between boards)
1× 12 V or 24 V DC power supply + XT30 input lead
Not included: A computer with a USB-C port and a browser for the Web GUI — not a BOM part, A drop of superglue for the encoder magnet — the only adhesive moment in the build; no soldering anywhere, Nothing to flash or compile on first use: the kit ships with firmware pre-flashed, and later updates go through the Web GUI
Learn
Docs & guides
Read these before you buy. These pages explain things; they don't sell anything.
- Project repo (GitHub)joshr120/CANBUS-Stepper — firmware, docs, prebuilt binary (GPL-3.0 software)Docs
- Datasheet (V2.0 PDF)The six-page datasheet — specs, kit contents, electrical limitsDocs
- Getting Started guidePhoto-illustrated assembly and first-power-up walkthroughDocs
- CAN protocol referenceThe full command and telemetry tablesDocs
- Web GUIConfigure, monitor and flash the whole chain from a browserDocs
- Maker's store — kitThe kit page (price checked 2026-11-26)Docs
- Maker's store — interconnect cableOne cable per link in the chain; custom lengths by emailDocs
- Hackaday feature“Daisy Chaining Stepper Motors” by Zoe Skyforest, 2026-11-25Docs
- Python library (PyPI)canbus-stepper 0.1.1, MIT — same API over USB or Wi-FiDocs
Related Projects






