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

3 Ansichten (letzte 30 Tage)
Paulo
Paulo am 29 Jul. 2011
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!

Antworten (1)

Walter Roberson
Walter Roberson am 29 Jul. 2011
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 Kommentar
Paulo
Paulo am 2 Aug. 2011
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

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by