필터 지우기
필터 지우기

i want to control speed of DC motor using arduino via matlab.

조회 수: 8 (최근 30일)
Rijaa
Rijaa 2014년 12월 31일
댓글: Mani Shankar 2018년 7월 27일
i want to control speed of DC motor using arduino via matlab. I am not using any extra circuitry to control speed of motor. i tried to do it with analogWrite but it didn't work it just controlled the duty cycle of the motor. i need some command through which I can directly control the speed of motor. i am using arduino uno as an interface between motor and matlab. can any one suggest something that may help?

답변 (2개)

Manikandan
Manikandan 2015년 11월 10일
use PWM
  댓글 수: 1
Mani Shankar
Mani Shankar 2018년 7월 27일
for speed = 0:-0.1:1 writePWMDutyCycle(a,9,speed); pause(0.5); end

댓글을 달려면 로그인하십시오.


Madhu Govindarajan
Madhu Govindarajan 2015년 11월 10일
This video should help you do the same using Adafruit Motor shield - https://www.youtube.com/watch?v=H1KPlms7s90&list=PLn8PRpmsu08p0r0uLo8vcxvQqHUlY6lkQ&index=19

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 Arduino Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by