Data acquisition From microcontroller 8051
2 views (last 30 days)
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.
Walter Roberson on 6 Oct 2011
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.