or "olympic filter"---- search for "olympic" and youll get answers.
(i do not take credit for that algorithm ethier)
search for "filter" on the forum youll see several threads dealing with this.
you can put a small cap on your input... but that will limit your bandwith depending on the frequency of your input...and the size of the cap...
stabilize your supply....
keep your signal away from noise...
try using a digital filter...
try using a good voltage reference....
place 0.1uf caps on your PICs supply as close to the chip as possible.
try getting the signal from as close as you can to the source.... as to avoid long cables and noise....
try buffering your signal with op amp.
hope that helps...
gabriel _________________ CCS PCM 5.078 & CCS PCH 5.093
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
Posted: Fri May 21, 2010 8:06 am
Are you reading from multiple input channels? When yes, you have to take into account some time for the input voltage to settle before starting the data conversion. How long this wait should be depends on the connected source impedance. See the PIC datasheet for more details.
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