How do I control industrial stepper motor driver using matlab

조회 수: 6 (최근 30일)
Paul Bayron
Paul Bayron 2019년 9월 24일
답변: Kajal Bansala 2021년 3월 10일
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!

답변 (1개)

Kajal Bansala
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.

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by