PIC16F877A Interface

15 views (last 30 days)
Arun Sharma
Arun Sharma on 5 Jun 2011
How to interface this micro-controller with the MATLAB. Any idea...

Accepted Answer

Walter Roberson
Walter Roberson on 5 Jun 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 Comments
Yeoh
Yeoh on 15 Jun 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 on 15 Jun 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

Sign in to comment.

More Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!