PIC16F877A Interface

17 vues (au cours des 30 derniers jours)
Arun Sharma
Arun Sharma le 5 Juin 2011
How to interface this micro-controller with the MATLAB. Any idea...

Réponse acceptée

Walter Roberson
Walter Roberson le 5 Juin 2011
Usually you connect it to a serial port and talk to its UART. That might or might not be with the intermediate step of a USB/serial convertor. USB/serial has challenges, but sometimes it is the only game in town.
  2 commentaires
Yeoh
Yeoh le 15 Juin 2011
Can I know in what aspect that you mean USB/serial has challenges? Because I'm using USB to RS232 converter to communicate between PIC and matlab gui, it cannot work. May I know what should I pay attention? Well, further more it always make my matlab program hang. Thank you.
Walter Roberson
Walter Roberson le 15 Juin 2011
In no particular order, and a definitely incomplete list, see:
http://www.mathworks.com/matlabcentral/answers/9509-serial-port-is-not-available-in-gui-but-it-actually-available-in-my-pc
http://www.mathworks.com/matlabcentral/answers/6339-cannot-read-serial-port-data-with-matlab-r2010a
http://www.mathworks.com/matlabcentral/answers/3360-can-i-use-matlab-to-communicate-with-a-serial-port-and-or-a-virtual-serial-usb-to-serial-port
http://www.mathworks.com/matlabcentral/answers/1236-feasibility-of-modernizing-custom-material-properties-devices-instron-masuda

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by