How to connect Matlab with PIC?
Show older comments
Hello all my friend,
i am now in progress of my Project about the robotic hand.The idea is like that,the Matlab is use for detect the movement and position of human hand.After that it will send the data to PIC for adjust the position of robotic hand as same as human and. So,I wish to know how to communicate between Matlab and PIC16f877a? Please give me some idea.
Best Regards QY Goh
5 Comments
TAB
on 25 Sep 2011
Which mode of communication you want use?
You can connect your hardware through PC's LPT port or Serial port.
I will prefer serial communication.
Walter Roberson
on 25 Sep 2011
Connecting through the parallel port is getting more and more difficult with newer MS Windows releases, and is effectively unsupported in newer MATLAB releases. It is recommended not to build any new projects which rely on the parallel port.
QY Goh
on 30 Nov 2011
Walter Roberson
on 30 Nov 2011
You can use USB serial ports, provided that you connect the device before you start MATLAB, and provided that you are okay with the latency being 40 milliseconds per USB packet (unless the packet is full, somewhere around 1022 bytes.)
QY Goh
on 19 May 2012
Accepted Answer
More Answers (0)
Categories
Find more on Parallel Computing 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!