How do I control industrial stepper motor driver using matlab
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I'm trying to control a microstep driver ST-7128 that has enable, pulse, and direction inputs that will be from an Arduino Uno using Matlab. Can anyone give me an example code or any reference on how to code it as I cannot find anything online. Most examples that I've seen use a small driver like ULN2003.
Thanks!
0 comentarios
Respuestas (1)
Kajal Bansala
el 10 de Mzo. de 2021
Although there may not be any built-in driver blocks to control a stepper motor, there is a File Exchange submission which may be useful:
This has blocks to control stepper direction and stepper speed. A limitation is that these blocks are compatible only with Adafruit Motor Shield V2, you can find the link to Adafruit Motor Shield here:
The File Exchange submission contains a PDF document as well as a video, which explains how exactly these blocks can be used. It also has an example model that explains the workflow and the required connections.
0 comentarios
Ver también
Categorías
Más información sobre Arduino Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!