MENU

Fun & Interesting

STM32 Timer Encoder: motor velocity and position

Steppe School 17,736 2 years ago
Video Not Working? Fix It Now

Source Code: https://www.patreon.com/user?u=80399744 Website: https://www.steppeschool.com Balancing Robot Course: https://www.steppeschool.com/courses/robotics-course-balancing-robot This video is about working with encoders using Timers in the STM32 MCUs. I will show how to compute the position and velocity of the motor. Hardware: STM32 Board: STM32F411E-DISCO Encoder and Motor: GA25-371 0:00 Theory and introduction 03:09 Timer Encoder configuration using CubeMx Software 04:02 Encoder starting and checking the code using the Timeline graph 05:07 Code to overcome the overflow problem to estimate angular position and velocity 08:09 Final demo

Comment