Serial communication with Matlab

From Mech
(Difference between revisions)
Jump to: navigation, search
 

Revision as of 13:45, 26 January 2008

Contents

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

Personal tools