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

2 visualizzazioni (ultimi 30 giorni)
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!

Risposte (1)

Walter Roberson
Walter Roberson il 29 Lug 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 Commento
Paulo
Paulo il 2 Ago 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

Accedi per commentare.

Community

Più risposte nel  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by