piclist 2005\08\09\170033a >
Thread: Floating Analog Signal in
www.piclist.com/techref/io/atod.htm?key=analog
picon face BY : 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.

Gerhard
<13uhjn8hodnfq$.5yyrmdn3trz6$.dlg@40tude.net> 7bit

In reply to: <23075D38FE1C8144847DFAECA3565F2704E54F5C@pai-smx-01.europe.bkhm.net>
See also: www.piclist.com/techref/io/atod.htm?key=analog
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Floating Analog Signal in

month overview.

new search...