Data acquisition From microcontroller 8051

조회 수: 3 (최근 30일)
satendra kumar
satendra kumar 2011년 10월 6일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by