Difference between revisions of "Serial communication with Matlab"

From Mech
Jump to navigationJump to search
 
Line 1: Line 1:
== Original Assignment ==
== Original Assignment ==

Matlab has a "serial" function that allows it to communicate through a serial port. This project is to establish serial port connection with the PIC and demonstrate bidirectional communication between the PIC and a Matlab program. The Matlab program could simply log data from the PIC, or plot it on a user interface in real time. Keystrokes from the user of the Matlab program should be obviously received by the PIC, perhaps by lighting the LEDs on the PIC board.


== Overview ==
== Overview ==

Revision as of 13:45, 26 January 2008

Original Assignment

Matlab has a "serial" function that allows it to communicate through a serial port. This project is to establish serial port connection with the PIC and demonstrate bidirectional communication between the PIC and a Matlab program. The Matlab program could simply log data from the PIC, or plot it on a user interface in real time. Keystrokes from the user of the Matlab program should be obviously received by the PIC, perhaps by lighting the LEDs on the PIC board.

Overview

Circuit

Code