Skip to main content
Kmax18
Senior II
May 24, 2021
Question

Controlling two servo motors with one STM32 MCU

For a new motion control application it would be beneficial to control two servo motors (in velocity control mode) with one STM32 MCU. It would require to generate two PWM signals based on Hall sensor feedback from two servos. The two motor velocities are not identical. Do any of you have experience with that configuration? Is it technically feasible? What are possible pitfalls? Thank you!

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
May 24, 2021

They should all able be able to generate servo signals.

A TIM programmed with a 50 Hz period can typically drive 4 pwm channels with different pulse widths. You can update the widths at the 50 Hz / 20 ms Update

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Kmax18
Kmax18Author
Senior II
May 25, 2021

Thank you for your answer.