How to control SERVO MOTOR using MATLAB and 16f877a PIC microcontroller

4 次查看(过去 30 天)
I need to control the movement of the servo motor by using MATLAB and 16f877a PIC microcontroller. I already have the schematic diagram and code for PIC to control the servo motor without the use of MATLAB. I understand that this need interfacing. And the only one that I could use is my USB ports. How can MATLAB communicate with the PIC? Thanks!

回答(1 个)

Walter Roberson
Walter Roberson 2011-7-29
What frequency and latency do you need in order to control the motor for your purposes? USB is not easy to get beyond 125 KHz or less than 40 ms latency.
  1 个评论
Paulo
Paulo 2011-8-2
my professor did not tell what to do, he only said to have it move. So I guess a little movement from it will be enough

请先登录,再进行评论。

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 Motor Drives 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by