Thankyou very much for your support

Originally Posted by
HenrikOlsson
Hi,
It's because the reading you get from the ADC most likely won't be stable at 252 across several consecutive samples, it will probably "tip over" towards 253 a couple of times.
Let's say you get the following values:
252, 253, 252, 253, 253, 252, 252, 253, 251, 253, 252, 253, 253, 252, 252, 252
The sum is 4039. Averaging them across 16 samples results in 252.4375 but you'll only "see" 252 which is ~0.29% off. Averaging them across 4 instead gives you 1009.75, you'll only "see" 1009 which is ~0.19% off.
Had the result been 1040 instead, averaging them across 16 samples would give you the same result, ~0.29% off while the oversampling method would only be 0.009% off.
Try it out and make sure you read thru the page I linked to, also look up the term oversampling. Here's a quote from Wikipedia:
/Henrik.
HAI HENRIK,
thanks for your support.as you said i tried the oversampling method and it gave me a better result than the previous method i used.but i have a transduser which range from 0~60000 psi on 4~20 mA,i used a 250 ohm resistor and i got 1~5v difference.
in this case do i need to use a external ADC more than 14bit resolution or can able to use the oversampling method on internal ADC by sampling 4096 times and divide by 64 to get a 16bit resolution.is it possible? or do we have any other ways to achive it.
THANKS FOR YOUR KIND SUPPORT,
PUGAL.
IF YOU BORN POOR ITS NOT BECAUSE OF YOU BUT IF YOU DIE POOR ITS BECAUSE OF YOU.
Bookmarks