2022-01-21 07:15 PM
I'm driving 3 stepper motor using STM32F030C8T6TR MCU 3 different TIMERS I want to acceleration deacceleration motor so for that I want to change TIMER frequency and count pulses output at chanel how can I do it?
Example :
Motor travel distance 10000 pulses
SPeed of motor directly proportional to timer frequency.
First acceleration slowly increase frequency (1000 pulse), then run at set frequency(8000 pulse) , then slowly decrease frequency(1000 pulse) then stop timer
So speed curve is slowly increase frequency - run at set frequency - then slowly decrease in frequency according to total number of pulses.
2022-01-21 11:40 PM
Hi,
You project seems interesting and challenging. I am myself interested in such activities. Well, have you considered or checked the option of using Arduino for controlling the timer to get the required results?
2022-01-21 11:48 PM
Arduino can't handle all this things
2022-01-21 11:58 PM
Thank you for your response. Can you please explain as I want to learn more and I am unable to get authentic and precise information?
2022-01-22 04:35 AM
Changing the timer frequency: change its reference clock or chamge its overflow period?