Data acquisition From microcontroller 8051

3 次查看(过去 30 天)
I need to acquire continuous the data from 8051 to my laptop every second. I have connected controller to laptop by RS 232 cable and then RS232 to USB cable for input of Laptop. Now can somebody tell me how can i store the continuous data with the help of matlab. Thanks.

回答(1 个)

Walter Roberson
Walter Roberson 2011-10-6
See also this previous 8051 discussion
What program is running on the 8051 side to send the data? What baud rate is it using? Is it configured for flow control? If the 8051 side is sending repeatedly, is it sending some kind of "frame" that can be unambiguously recognized so as to be able to tell the difference between starting reception in the middle of a sample vs the beginning of a sample?
Just storing samples as they come in is usually the relatively easy point if they will all fit in memory. If they do not all fit in to memory; if they do not all fit in to memory, buffering can be a problem.

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by