matlab to control arduino uno borard,with 3 stepper motors.
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
barath V
le 21 Août 2019
Commenté : barath V
le 29 Août 2019
hi i want to control 3 nema-17 steppers using arduino,i want to use matlab for the coding. i used a normal cnc shield with a microstepping module a4988.
i followed the tutorial in the mathworks-arduino page,but it did not work.
error message i got was:the 'addOnShield' is not specified,something like that.
pls suggest me the what cnc shield should i use and the microstepping driver i need to use and pls provide their model number or bestbuy links.
thanks.
0 commentaires
Réponse acceptée
Priyanshu Mishra
le 27 Août 2019
I assume that you have already installed the hardware support package- ‘’MATLAB Support Package for Arduino Hardware.”
I would suggest you use Adafruit Motor Shield V2. Adafruit Motor Shield V2 is an add-on shield that you can plug into Arduino Uno.
You can create a motorshieldv2 object using the add-on shield specified above and connect a stepper motor to the appropriate pins on the motor shield. For stepper motor connection use stepper object.
3 commentaires
Plus de réponses (0)
Voir également
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!