gnupic: ADC using an RC circuit instead of a ADC port??
Subject:
ADC using an RC circuit instead of a ADC port??
From:
Martin Peach ####@####.####
Date:
30 Aug 2002 14:32:37 -0000
Message-Id: <3D6F81E0.E5DD4F80@vax2.concordia.ca>
Brent Picasso wrote:
>
> Not sure if I saw it on this mailing list before, but
> I'm trying to determine if it's feasable to do
> analog-digital conversion using a RC delay using
> standard IO pins, and a counting routine in the
> software.
>
> I've searched google; didn't find anything good.
>
> I'd like to use a 16F628 for my project as I only need
> one ADC line!
>
> thanks in advance for any help.
> Brent
There's an app note about that on the microchip web site, using a
12c50X:
http://www.microchip.com/download/appnote/devspec/16c5x/00513d.pdf
It works fine for low speed inputs like temperature or potentiometer.
/\/\Martin