Stepper motor PID control using a TMC2209 and AS5600 @CuriousScientist
Stepper motor PID control using a TMC2209 and AS5600  @CuriousScientist
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
Stepper motor PID control using a TMC2209 and AS5600#diy #soldering #reflow #circuit #ch32 #electronics #100w #usbpd #powersupplyShowcasing my PCBs for PCBWays 10-year anniversary #pcb #electronics #designAssembling my new ADS1256 DAQ board #soldering #ads1256 #electronicsTesting the 240 W Peltier cooler refrigeration plateRaspberry Pi Zero 2W Bird Feeder Camera #raspberrypi #3dprinting #electronics @PCBWayComXYZ Microscope Stage Controller Update - Self-sufficient Power SupplyCH32V003F4P6 Tutorial - Part 16 - WS2812B NeoPixel with SPI#Intel #486 #microprocessor #microscope #inspectionTCD1703C Linear CCD - IntroductionMT6701: The Magnetic Encoder That Does Almost EverythingInside of a 2N5415 #pnp #transistor #microscope
Curious Scientist |

Stepper motor PID control using a TMC2209 and AS5600

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER