The tintinnabulation of the noise
David VanHorn email (remove spam text)
>> Let's see: 120 hz = 8.33 milliseconds per oscillation. If I sample at
twice this, that's 4.33 milliseconds. sampling at exactly twice is cutting
it fine, so say we sample at four times that's ~2 milliseconds.
IF you're exactly locked to the interference waveform, IF it's symmetrical,
and IF it's consistent from one wave to the next, then two samples
equidistant in time will cancel the waveform. Any two points, 180 degrees
apart on a symmetrical waveform cancel to zero. (that's the inverse
definition of this sort of symmetry)
However. If the waveform is more complex, or varies much, or you're not
exactly synced to it, then more samples will be needed to clean it up.
Since you're trying to read DC, I'd low-pass it as much as you can stand,
and start there.
Where's dave? http://www.findu.com/cgi-bin/find.cgi?kc6ete-9
http://www.piclist.com hint: PICList Posts must start with ONE topic:
"[PIC]:","[SX]:","[AVR]:" =uP ONLY! "[EE]:","[OT]:" =Other "[BUY]:","[AD]:" =Ads
In reply to: <Pine.LNX.email@example.com ain>
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the