Motor Shields
arduino-motor-shield-old-simulink-drivers
Old Simulink® driver blocks for two Arduino motor shields
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:
- Adafruit Motor Shield V1.x (DC and Stepper motor drivers)
- Adafruit Motor Shield V2 (DC and Stepper motor drivers)
- 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 EML2.zip 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.
Cite As
Giampiero Campa (2024). Motor Shields (https://github.com/giampy1969/arduino-motor-shield-old-simulink-drivers/releases/tag/v1.0.1.0), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Physical Modeling > Simscape Electrical > Electrical Block Libraries > Electromechanical >
- Physical Modeling > Simscape Electrical > Specialized Power Systems > Motor Drives >
- Physical Modeling > Simscape Electrical > Applications > Motor Drives and Power Electronics > Converters (High Power) >
Tags
Acknowledgements
Inspired by: Device Drivers
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.1.0 | See release notes for this release on GitHub: https://github.com/giampy1969/arduino-motor-shield-old-simulink-drivers/releases/tag/v1.0.1.0 |
||
1.0.0.1 | Updated license |
||
1.0.0.0 |