Stepper Motor Control with Arduino

版本 1.1.0.0 (1.3 MB) 作者: Helmuth
Small model which demonstrates how to control a stepper motor with an Arduino board.
4.2K 次下载
更新时间 2016/9/12

查看许可证

Small model which demonstrates how to control a stepper motor with an Arduino board.

Hardware used:
- Arduino Mega 2560
- Step Motor 28BYJ-48
- Motor Driver Board ULN2003
- Potentiometer to input desired motor angle
- Breadboard and wires
See pictures inside the ZIP file for wiring setup.
Pin 2 (Arduino) -> Pin 4 (ULN2003)
Pin 3 (Arduino) -> Pin 2 (ULN2003)
Pin 4 (Arduino) -> Pin 3 (ULN2003)
Pin 5 (Arduino) -> Pin 1 (ULN2003)
Potentiometer -> Pin A0 (Arduino)
Ground and +5V power supply for potentiometer and ULN2003.

Enjoy.

引用格式

Helmuth (2024). Stepper Motor Control with Arduino (https://www.mathworks.com/matlabcentral/fileexchange/59110-stepper-motor-control-with-arduino), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
社区

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Improved model: motor is stopped when target position is reached.

1.0.0.0