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!

回答(1 个)

Rob Purser
Rob Purser 2015-10-20

0 个投票

MATLAB Arduino supports the PWM (Pulse Width Modulation) mode on various digital pins.
or Google "MATLAB Arduino Motor Control"
-Rob

1 个评论

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?

请先登录,再进行评论。

社区

更多回答在  Power Electronics Control

类别

在 帮助中心 和 File Exchange 中查找有关 Arduino Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by