I am trying to use matlab support package for raspberry pi to control a motor board
조회 수: 3 (최근 30일)
이전 댓글 표시
I am trying to control a motor card using Raspberry Pi support package. Has anyone done this before? I am using the mdd10a control board which requires a PWM signal as well as a left vs right boolean signal. Any help would be appreciated.
댓글 수: 0
답변 (1개)
Shashank
2018년 2월 15일
Hi Shima,
To do this, you can use 2 GPIO pins on the raspberry pi. Please refer to the following link for the overall workflow:
2. Write Duty cycle and frequency to that pin. Refer to the example here:
Hope this helps
커뮤니티
더 많은 답변 보기: Power Electronics Community
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!