I have project for school where we are using the Cygnal 8051
mircocontroller to capture acceleration. My part of the project is to
take the data stored in memory and use MatLab to produce graphs and
such. My question is where do i get started... how can i directly
interface the 8051 with Matlab.
Posted by Malt●February 13, 2006
At first I though UART wouldn't be possible as I didn't think Matlab
was that complicated. Though a quick google i found this link that
proves me wrong: http://cnx.rice.edu/content/m12062/latest/
Do you need live data. It would be easier to just use Hyperterminal or
a simular program to capture then malipulate the data to suit.
I would think you first need to write the serial driver on the 8051
using the SCI port. And then you can worry about using Matlab once you
can see the messages from the microcontrolelr in Hyperterminal.
For the serial data.
1. Start with a byte for the message identifier of the device the
messgae is intended.
2. Length of the Bytes in message.
3. Data .....
100% of our work is cutting-edge DSP
We are a small, high tech, sonar-processing company that develops state-of-the-art sonar, signal processing software systems used in naval aircraft.
* 60-75% signal processing algorithm development
* 25% real time code development in C++ Full relocation will be provided for the right candidate (e.g. relocation package up to $20,000).