How do I control industrial stepper motor driver using matlab
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kajal Bansala
2021-3-10
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Arduino Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!