piclist 2005\08\10\075327a >
Thread: Floating Analog Signal in
www.piclist.com/techref/io/atod.htm?key=analog
picon face BY : Gerhard Fiedler email (remove spam text)



Vasile Surducan 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.
>
> The sampling frequency must be in agreement with the Nyquist theorem,
> you must have a bigger sampling frequency than 2x of your maximum analog
> signal frequency.

That's only if you want to sample the original /waveform/. Since the OP
wants to sample the volume, the situation is different.

> Adding a cap will create a crude low pass filter at the AD input, egual
> with loosing your frequency bandwith of the analogic signal

Yes, but that's exactly what e.g. the VU meters on tape recorders do (even
the electronic ones that wouldn't have to do it). They do it because for
certain applications, what you want to know is a running average of the
volume.

Gerhard
<1h8fk9jwp0gn4.16qzxfmedm9w6.dlg@40tude.net> 7bit

In reply to: <5eeda4c20508090342341f1c1a@mail.gmail.com>
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...