Custom Stepper Controller PCB With Encoder
by JoKhann in Circuits > Robots
33 Views, 1 Favorites, 0 Comments
Custom Stepper Controller PCB With Encoder

The TMC2209 is a powerful stepper drive, but is not able to fully release the power of stepper motors. For that you need encoders and closed loop control and more advanced communication protocols.
Supplies
Stepper Motor
Custom PCB ordered from JLCPCB
PCB Layout and Tracing


In order to achieve closed loop control, you not only need an encoder, but also a microprocessor to handle the requisite calculations. At that point it makes sense to make things much more complex and much cooler, like including USB and CAN BUS communication. From there you connect the capacitors and parts together using KiCad's integrated tools and send the files to a PCB manufacturer and assembly house.
It Works!
Using custom firmware uploaded on STM32CUBEIDE, STM32's custom IDE we can see it SPI-I-IN to life.