Kevin wrote: >> That's the basic setup. However I would apply some low pass >> filtering to the A/D readings. You need a new reading only every 3.3 >> seconds, during which time you can take 1100 readings per channel and >> still only use a small fraction of the CPU. Two poles of LPF each >> with 8 shift bits per pole settles to about 93% in 1100 iterations. >> That sounds like a good match, especially since shifting by 8 bits is >> particularly trivial, and 2 x 8 bits is a lot of random noise >> attenuation. > > Anybody care to expand on this or throw in some code > snippets ? There are whole digital signal processing books discussing this sort of thing. Expanding on it is impossible to do efficiently without knowing what part specifically you want to know more about. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist