Can I use an arduino motor shield with Adafruit motorshield library
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I see examples for controlling stepper motors with an adafruit motor shield. My students have arduino motor shields. I am wondering if they are compatible, it not what codes need to be changed. I am not seeing stepper motor examples with arduino motor shields.
Most blogs I have seen call for using a stepper motor driver vs. the motor shields. I have one, but the motor operates very slowly using Matlab and I'd like to speed that up.
0 commentaires
Réponses (1)
Gael Goron
le 17 Mai 2018
Hi Gregory,
Generally speaking, you will need driver blocks in Simulink to be able to interface with the motor shields. At the moment Mathworks does not provide such driver blocks for arduino motor shields.
People have created custom driver blocks in order to interface with such shields. A good example is the following file exchange: https://www.mathworks.com/matlabcentral/fileexchange/46133-motor-shields
This includes in particular Simulink blocks to interface with Arduino Motor Shield Rev3.
I also found this file exchange example which is using the above driver block to power window control with Arduino Motor Shield Rev 3:
This seems to be a good place to start for you.
0 commentaires
Communautés
Plus de réponses dans Power Electronics Control
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!