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

4 vues (au cours des 30 derniers jours)
Paulo
Paulo le 29 Juil 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!

Réponses (1)

Walter Roberson
Walter Roberson le 29 Juil 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 commentaire
Paulo
Paulo le 2 Août 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

Connectez-vous pour commenter.

Communautés

Plus de réponses dans  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!

Translated by