Motor moves slow how can i increase it?

3 次查看(过去 30 天)
I have written a code to move stepper motor nema 23 , it moved but its very slowly ,so i would to ask if there is any way to increase this speed ??

回答(1 个)

Gouri Chennuru
Gouri Chennuru 2020-11-5
Hi,
As per my understanding, if you are using outputSingleScan function in the code it does a single scan on all the output channels and if it consumes larger execution time to send the signals at the rate required it slowes the speed of the motor.
So as a workaround, I would recommend you to use "DataAcquisition" function available in MATLAB and you call all the driver functions directly from MATLAB in order to improve the speed of the motor.
Hope this Helps!

类别

Help CenterFile Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by