ADC with reference voltage


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    My reference voltage is 12 volts
    Come again.... 12V, that's way to high. Maximum voltage on the Vref pin is whatever the supply voltage for the chip is currently. If there's a "." missing in there and it shoudl read 1.2V then that won't work either as the low limit for Vref is 2.2V. See table 15-9 in the datasheet.

    It also seems that for AN0 when I apply a voltage above VDD the pic limits the voltage to VDD
    Yes, naturally because the inputs have protection diode from the input to both Vss and Vdd so they'll clamp the voltage to one diode-drop above or below Vdd and Vss respectively.

    /Henrik.

  2. #2
    Join Date
    May 2009
    Location
    USA
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    You know I was just reading the absolute maximum ratings for each pin and it says 0.3+Vdd for any pin other than VPP/MCLR. So the mystery is solved then? The pic ADC doesnt work for voltages higher than VDD?
    Why is the email address verification case sensitive?

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default

    Correct, you'll need to scale down the voltage so it gets within the specs of the chip in general as well as the ADC.

    And those 0.3V is the voltage drop across the protection diodes on the pins. As soon as the voltage on the pin goes above Vdd+0.3V the diode gets forward biased and "shorts" the input to Vdd - basically.

    /Henrik.

  4. #4
    Join Date
    May 2009
    Location
    USA
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    More and more I work with the PIC I am having more respect for it. They are designed very well especially for newcomers and people who don't read the manual unless it doesnt work. I will redesign my analog inputs then to spec then.
    Why is the email address verification case sensitive?

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts