Motor moves slow how can i increase it?

3 views (last 30 days)
Mostafa Salah
Mostafa Salah on 31 Oct 2020
Answered: Gouri Chennuru on 5 Nov 2020
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 ??

Answers (1)

Gouri Chennuru
Gouri Chennuru on 5 Nov 2020
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!

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!