Motor Shields

版本 (506.4 KB) 作者: Giampiero Campa
Old Simulink driver blocks for the Adafruit motor shield for Arduino
6.1K 次下载
更新时间 2023/10/18


Old Simulink® driver blocks for two Arduino motor shields

View arduino-motor-shield-old-simulink-drivers on File Exchange

Open in MATLAB Online

NOTE: The last time I have used this package was in 2014. Franky de Bruyne managed to get it to work for MATLAB 2016b aftes several tweaks, see his review here for more information. Many things have changed since then so I do not think this can work out of the box in a more recent MATLAB® version. So I suggest you to look at the Simulink Support Package for Arduino and find compatible boards first. Then try to use this package only if everything else fails.

CONTENT: This package contains motor driver blocks for 3 Arduino Motor Shields:

  1. Adafruit Motor Shield V1.x (DC and Stepper motor drivers)
  2. Adafruit Motor Shield V2 (DC and Stepper motor drivers)
  3. Arduino Motor Shield R3 (DC motor drivers for ports A and B) Refer to the readme.txt file for more details and make sure you read AFMotorV2.pdf before using the Adafruit Motor Shield V2.

Note that the enclosed file containing the same drivers built using the MATLAB Function block. You might find easier to use/modify these drivers instead of the ones based on the S-Function Builder.

Also look at the Readme.txt file included for more information.


Giampiero Campa (2024). Motor Shields (, GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
Windows macOS Linux

参考作品: Device Drivers


Community Treasure Hunt

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

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

See release notes for this release on GitHub:

Updated license

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库