08-16-2013 01:02 AM
Hello,
I am receiving signal at the serial port through wireless communicator at a baud rate of 9600. I want to analyze this signal and for that i need to know that what sampling frequency i should use and what is its relation with the baud rate.
Thanks alot
08-16-2013 02:11 AM
08-16-2013 02:21 AM
Its an ECG wavform being digitized and transmitted through microcontroller to the zigbee and to the zigbee to the pc. So i dont have any idea of it
08-16-2013 02:34 AM
08-16-2013 03:00 AM
I am developing this project for my particular interest, and so there hasn't any information regarding the sampling.
Kindly guide me what should i do
Thanks alot
08-16-2013 04:00 AM
Can't you just look at the incoming data and count how many samples you get, say in a minute your in an hour. That should be the sampling rate then, no?
Cheers
Edgar
08-16-2013 04:33 AM
thanks ejkaiser what i understand from your reply that it would be directly related to the baud rate?
Am i right?
08-16-2013 05:10 AM - edited 08-16-2013 05:27 AM
No, not at all. The baud rate only tells you about the transmission speed on the serial line, how many bits/s you are receiving. It doesn't tell anything about the sampling rate of the data. You have to analyze how many data packages that represent a sample you are receiving per time.
You have to know (or analyze) what format the samples have.
Cheers
Edgar
08-16-2013 11:32 AM
Abuzar,
The sampling rate for your signal is the rate at which the digitizer in the microcontroller takes samples. If you are trying to get a good reprodcution of the waveform, the sampling rate is probably 300 to 1000 Hz. If you are anywhere near 1000 Hz sampling, you will not be able to transmit all the data through your 9600 baud link (~ 1 ms per byte).
Lynn