Motor Control with Adafruit Motor Shield V2 using Simulink

1 回表示 (過去 30 日間)
godruler
godruler 2016 年 6 月 15 日
回答済み: Sudeshna Bhattacharya 2017 年 12 月 29 日
Is there any way to control DC motors connected to the Adafruit Motor Shield V2 using Simulink? I am familiar with how to do this with Matlab, so is it possible to create an arduino object and include the Adafruit\MotorShieldV2 library within a user-defined MATLAB function block in Simulink? Part of the problem is that the arduino() function is not supported by the MATLAB function block.

回答 (1 件)

Sudeshna Bhattacharya
Sudeshna Bhattacharya 2017 年 12 月 29 日
Currently Adafruit MotorShield V2 is not supported in Simulink Support Package for Arduino Hardware. You can take a look at https://in.mathworks.com/matlabcentral/fileexchange/46133-motor-shields. This has custom drivers for the shield to be used with Simulink.

コミュニティ

カテゴリ

Help Center および File ExchangeArduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by