pic can only get analog date 10 bit. i want to use over simpling and over avaraging.. I found a way using nyquist theory.. i use adc module like:
#device adc=10
for over avaraging can i use like that:
#device adc=12
thanks for help
SherpaDoug
Joined: 07 Sep 2003 Posts: 1640 Location: Cape Cod Mass USA
Posted: Wed Aug 23, 2006 7:48 am
You will have to roll your own oversampling and averaging. To get 2 more bits you need 16 samples IF there is GAUSSIAN RANDOM noise. In practice I find this works poorly because the noise is often not quite random and never really gaussian.
However it is easy enough to try, just sum 16 samples and divide by 4 and see what you get. _________________ The search for better is endless. Instead simply find very good and get the job done.
kender
Joined: 09 Aug 2004 Posts: 768 Location: Silicon Valley
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum