Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat]Anyone used the ADC before?

2004-07-29 by Mark Jordan

On 29 Jul 2004 at 10:48, Alexandre Guimaraes wrote:

>     Could you post the schematic and program snippet that you used ? When I
> tried to use the ADC it seemed to be very bad. I probably made something
> quite wrong but did not have the time and incentive ($$) to find out what it
> was...

	No electronic voodoo here, just two 100k resistors from the ADC 
channel input pin, one to GND and the other to VREF pin. The audio signal 
goes through a 200nF capacitor. The ADC conversion is started by a timer 
interrupt doing the sample rate of my 1200bps AFSK demodulator (DSP).


 
> > You can go up to 1MHz if you only need 8 bit precision.
> 
>     That makes it even more interesting.... Have you used it at that speed
> and got real 8 bit's precision ???

	Yes, not a problem. As stated in the datasheet.

	Mark Jordan

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.