Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

What libraries and where I need to place them to control a DC motor with simulink using an arduino Mega 2560 board with a motorshield adafruit v1?

조회 수: 1 (최근 30일)
I am trying to control a DC motor using an arduino Mega 2560 board with a motorshield adafruit v1. On the web there are some explanations but they are all confusing about the libraries I need and none of them worked. I already downloaded and installed the arduino support package. Creating and running programs with Simulink on the arduino board work fine (as blinking leds), the problem comes when I have to use the shield adafruit v1 to control the motor. I have also downloaded the arduino library AFMotor and placed it in the arduino libraries. Also, the example MotorParty for IDE arduino works fine. Hence the problem is the communication between matlab and the motor shield v1. Thank you.

답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

Community Treasure Hunt

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

Start Hunting!

Translated by