Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] ADC problem!

2004-05-30 by erikc

----- Original Message -----
From: "John Johnson" <johnatl@mac.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Sunday, May 30, 2004 14:53
Subject: Re: [AVR-Chat] ADC problem!


> The sampling frequency must be several times the frequency
you
> want to sample, otherwise, you will see a seemingly random
> sample, or a harmonic of the original frequency. You can
> decide how many points will adequately describe the
> 40Hz sine wave for your project, multiply by 40 and
> use that for the sample frequency. If I were doing it,
> I would use a prime number as the number of samples,
> that way you're guaranteed not to lock onto a
> multiple/harmonic of the frequency you're sampling.
> (The things we learn from Nature :-) Locusts, in
> this case.)
>
> Regards,
>    JJ

What would be the lowest reasonable prime for this?  And why
are prime number sampling rates so great, anyway?

Erikc  - firewevr@airmail.net
///
"An Fhirinne in aghaidh an tSaoil."
"The Truth against the World."
        -- Bardic Motto
/// In theory, there is no difference between theory and
practice, in practice there is.

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.