Motor moves slow how can i increase it?

4 vues (au cours des 30 derniers jours)
Mostafa Salah
Mostafa Salah le 31 Oct 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 ??

Réponses (1)

Gouri Chennuru
Gouri Chennuru le 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!

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by