MATLAB Answers

0

DC Motor Arduino Matlab

Hi, I want to control the speed of a DC Motor using a GUI and Arduino, i have already made the conection between Matlab and Arduino for 2 leds, but i don't know how to do for controlling the speed. Does anyone have an idea? Please! Is for my thesis!

  0 Comments

Sign in to comment.

1 Answer

Answer by Rob Purser on 20 Oct 2015

MATLAB Arduino supports the PWM (Pulse Width Modulation) mode on various digital pins.

Check out this video: http://www.mathworks.com/videos/using-matlab-and-arduino-for-motor-control-100737.html

or Google "MATLAB Arduino Motor Control"

-Rob

  1 Comment

Hey thanks, so if i want to control speed of the dc motor on the guide all i have to do is to put the code on the guide function?

Sign in to comment.


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today