Floating Analog Signal in
Gerhard Fiedler email (remove spam text)
Michael Rigby-Jones wrote:
>> I am trying to take an analog signal (out of an MP3 player) and
>> determine its signal amplitude with the PIC's A2D input. I would like
>> to keep the sampling frequency down (to reduce the clock speed and save
>> power) so I thought of adding a large cap outside the PIC in parallel
>> with a resistor to ground to hold the level.
> Google for "peak detector"
It depends on what you mean by "signal amplitude". If you mean the peak
amplitude, then a peak detector is exactly your thing. If you mean the
equivalent of audible volume in the signal, a peak detector probably won't
give you what you want. In that case you'd need to rectify (small-signal
rectifier) and average (low pass filter) for an approximation.
In reply to: <23075D38FE1C8144847DFAECA3565F2704E54F5C@pai-smx-01.europe.bkhm.net>
See also: www.piclist.com/techref/io/atod.htm?key=analog
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the