Daisy-Chaining Stepper Motors With a Controller on Each Motor
Josh Rogan's CANBUS Stepper puts an ESP32-S3 and driver on each NEMA 17 motor so a chain can be controlled together.
A multi-channel board or extra microcontrollers are common ways to run several stepper motors. Josh Rogan takes a distributed approach: each motor gets its own compact controller, and the controllers form a chain that can be managed together. The CANBUS Stepper project is open source.
An idea borrowed from addressable LEDs
Each controller can receive a command and relay it to the next one. The topology is familiar from addressable LED strips, except that the nodes here drive stepper motors.
The board is made for NEMA 17 steppers and fits on the back of the motor. It contains the hardware needed to drive that motor, so each motor joins the bus as a node instead of needing a separate run back to the controller.
Inside a node: ESP32-S3 and a stepper driver
An ESP32-S3 microcontroller and a TMC2209 stepper driver sit on each board. One entry node connects to the host over USB, Wi-Fi, serial, or CAN. Commands for other nodes pass downstream from that first controller as needed.
| Item | Details |
| Project | CANBUS Stepper |
| Motor | NEMA 17 stepper |
| Microcontroller | ESP32-S3 |
| Driver | TMC2209 |
| Host connections | USB, Wi-Fi, serial, CAN |
Design priorities
- Putting control and drive circuitry on the back of the motor reduces external wiring.
- A daisy chain carries commands without a separate return to the host for each new motor.
- The first node communicates with the host, and the remaining nodes receive forwarded commands.
An earlier project ran a stepper from USB-PD
Rogan has worked on compact motor drivers before. His USB-C Power Delivery stepper driver combines a compact board with USB-PD power, making it useful further reading for anyone building with steppers.
The design files are available on GitHub. The demo video shows the daisy-chained motors running and the browser interface reporting live telemetry.
Comments
0 comments