piclist 2001\01\19\160203a >
Thread: Help 16c71 a/d displays 256 with half Vref supply.
www.piclist.com/techref/microchip/ios.htm?key=a%2Fd
flavicon
face BY : Dwayne Reid email (remove spam text)



At 09:16 PM 1/18/01 -0700, Rene Chauvet wrote:
>I Was Playing around with the A/D on the 16c71 and I found that with a
>supply of 5.11V the a/d indicates 256 at 2.55V then loops.
>
>So at 0V it displays 0 at 2.55 it displays 256, at 2.6 it displays 0V and at
>5.11 it displays 256.
>
>Does anyone know why this it happening and how to get it to display 0 at 0V,
>128 at 2.55V and 256 at 5.11V like it's suppose to. I tried it with both the
>internal Vref and RA3ref(external)

How are you displaying the result?  It sure looks as if you have dropped
the MSB of the a/d result somewhere and are actually only using the lower 7
bits.

dwayne




Dwayne Reid   <RemoveMEdwaynerTakeThisOuTspamplanet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 17 years of Engineering Innovation (1984 - 2001)

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

--
http://www.piclist.com hint: The PICList is archived three different
ways.  See http://www.piclist.com/#archives for details.


<4.3.2.7.2.20010119132455.00adaf00@pop.telusplanet.net>

In reply to: <F127BH49KOlAQ7Zg6CT00001f65@hotmail.com>
See also: www.piclist.com/techref/microchip/ios.htm?key=a%2Fd
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) Help 16c71 a/d displays 256 with half Vref supply.

month overview.

new search...