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

9 views (last 30 days)
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?

Answers (2)

Manikandan
Manikandan on 10 Nov 2015
use PWM

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

Communities

More Answers in the  Power Electronics Control

Categories

Find more on Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!