I'm new here. I made an ADC circuit with 18F2550. I need to take samples from an ECG signal. Maksimum frequency of ECG signal is about 45 Hz. My pic doesn't take sample fastly so i lost some signals when i see them on MATLAB software. When i apply sinus 10 Hz to ADC it shown on matlab like triangle signal. I want to write a loop to take samples from ECG signals fast enough. Maximum freq = 45 hz so from nyquist criteration i need to make sampling at least 45*2 = 90 hz. That means sampling period must be at least 1/95 sn = 10,5 ms.
So far so good. But now i dont know to configure the ADC time to adjust these values and is there anyone knows the maximum sampling rate can be archived by 18F2550 ?? Whats the maximum frequency ??
SIMPLY, I WANT TO LEARN HOW TO ADJUST THE TIME BETWEEN THE SAMPLES.