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



Rene Chauvet <PICLISTspamBeGonespamMITVMA.MIT.EDU> 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)

Rene:

Do you ever see ODD values (1, 3, 5, 7, etc.)?

If not, perhaps you're inadvertently shifting the ADRES value left
one bit.

-Andrew


=== Andrew Warren --- spamaiw@spam@spamcypress.com
=== Staff Systems Engineer, IPD
=== Cypress Semiconductor Corporation
===
=== Opinions expressed above do not
=== necessarily represent those of
=== Cypress Semiconductor Corporation.

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


<3A682A3F.17232.5866E50@localhost> 7BIT

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...