Uploaded January 2024 | Updated September 2026, 19 hours ago
Check out PCBWay's website for rapid prototyping of printed circuit boards, CNC and 3D printing services and many more! pcbway.com/g/mf33cv
In this video, I show you how to implement a rudimentary PID control for stepper motors using a TMC2209 stepper motor driver and an AS5600 magnetic encoder. Thanks to the PID algorithm, the motor can find its way to the target and it can maintain its position, even if the shaft of the motor is rotated by an external force.
Join my channel membership: youtube.com/channel/UCKp1MzuAceJnDqAvsZl_46g/join
Affiliate links:
NEMA17 motor: https://s.click.aliexpress.com/e/_DD8jOjV
TMC2209: https://s.click.aliexpress.com/e/_oBOap1d
STM32F401CCU6: https://s.click.aliexpress.com/e/_A2A5iO
128x64 Graphical LCD: https://s.click.aliexpress.com/e/_Aq1gUO
Rotary encoder module: https://s.click.aliexpress.com/e/_9Ak6WS
12x12 mm Push button: https://s.click.aliexpress.com/e/_DmbEeYX
Limit switch module: https://s.click.aliexpress.com/e/_DFkiFKX
4-pin screw terminal connector: https://s.click.aliexpress.com/e/_AFkCj7
Diametrically magnetized magnet: https://s.click.aliexpress.com/e/_oot7Swj
DC Barrel connector: https://s.click.aliexpress.com/e/_DCcrgJH
DC Power supply (12 V or 24 V): https://s.click.aliexpress.com/e/_DcuTWzZ
Check my website for more information: https://curiousscientist.tech/blog/stepper-motor-developing-platform-pid
Get the PCB from PCBWay: pcbway.com/project/shareproject/Stepper_motor_developing_platform_d2e5fcf7.html
Get the relevant parts and tools: https://curiousscientist.tech/tools
Check out PCBWay's website for rapid prototyping of printed circuit boards, CNC and 3D printing services and many more! pcbway.com/g/mf33cv
In this video, I show you how to implement a rudimentary PID control for stepper motors using a TMC2209 stepper motor driver and an AS5600 magnetic encoder. Thanks to the PID algorithm, the motor can find its way to the target and it can maintain its position, even if the shaft of the motor is rotated by an external force.
Join my channel membership: youtube.com/channel/UCKp1MzuAceJnDqAvsZl_46g/join
Affiliate links:
NEMA17 motor: https://s.click.aliexpress.com/e/_DD8jOjV
TMC2209: https://s.click.aliexpress.com/e/_oBOap1d
STM32F401CCU6: https://s.click.aliexpress.com/e/_A2A5iO
128x64 Graphical LCD: https://s.click.aliexpress.com/e/_Aq1gUO
Rotary encoder module: https://s.click.aliexpress.com/e/_9Ak6WS
12x12 mm Push button: https://s.click.aliexpress.com/e/_DmbEeYX
Limit switch module: https://s.click.aliexpress.com/e/_DFkiFKX
4-pin screw terminal connector: https://s.click.aliexpress.com/e/_AFkCj7
Diametrically magnetized magnet: https://s.click.aliexpress.com/e/_oot7Swj
DC Barrel connector: https://s.click.aliexpress.com/e/_DCcrgJH
DC Power supply (12 V or 24 V): https://s.click.aliexpress.com/e/_DcuTWzZ
Check my website for more information: https://curiousscientist.tech/blog/stepper-motor-developing-platform-pid
Get the PCB from PCBWay: pcbway.com/project/shareproject/Stepper_motor_developing_platform_d2e5fcf7.html
Get the relevant parts and tools: https://curiousscientist.tech/tools










