Interfacing PC with PIC16F877 using Matlab

Status
Not open for further replies.

husseinadel

Full Member level 3
Joined
Jan 25, 2006
Messages
156
Helped
19
Reputation
38
Reaction score
6
Trophy points
1,298
Location
EGYPT,CAIRO
Activity points
2,647
HELLO

i want to interface an microcontroller with the PC and process the received signal using MATLAB,,,i may use PIC 16F877,,,,,please if anyone can give me a tutorial about that or describe to me how to do so in some details it would be great,,,i want to know how the signal interface to the serial or parallel ports ,or by using the USB

thanks
 

Re: interfacing PC

Hi,
USART comm on 16F877 is easy asit has USART port. Just connecting the TX and rx and using FW usart should be straight forward. CCS demo has example programs for USART and works for 16F877. No problems their. You can send and receive data on your computer hyperterminal program. You can think on integration with Matlab next.
 

Re: interfacing PC

if u are using matlab to use the data acqation then u dont need the microcontroller the Pc parallel port can be used as input port
8 bit o/p
5 bit i/p

the specifications are IBM Pc parallel port specifications can be found in the Matlan help for data acq, toolbox.

if microcontroller is used like PIC16F877 then connect pin RB6 RB7 to TXD,RXd pin of serial port then access the data
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…