Arduino Adafruit Motor Shield V2 Stepper Motor Speed (RPM) reversed
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi Arduino Experts
I've been using matlab to control a stepper motor through arduino, however one strange thing that I don't understand is that the speed of the motor seems to be reverse to the imput RPM value (i.e. RPM = 8 is much faster than RPM = 10, and RPM = 20 is much slower than RPM = 10)
here's my code
a = arduino('/dev/cu.usbmodem14201', 'Uno', 'Libraries', 'Adafruit\MotorShieldV2');
shield = addon( a, 'Adafruit\MotorShieldV2');
sm1 = stepper( shield, 1, 200, 'RPM', 10, 'stepType','Double');
0 comentarios
Respuestas (0)
Comunidades de usuarios
Más respuestas en Power Electronics Control
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!