ADCIN VRef


Closed Thread
Results 1 to 4 of 4

Thread: ADCIN VRef

  1. #1

    Default ADCIN VRef

    I have a PIC16F876A. On pin A.5 I want to monitor a 0-5v signal. I am not too sure about what to do with the VREF+ pin. Can I just hook up 5V from the power regulator? Do I need to connect VREF- to ground? Is a cap suggested on the A.5 line? I looked over the site for a schematic and struck out.
    Thanks
    Toby

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Tobias View Post
    I have a PIC16F876A. On pin A.5 I want to monitor a 0-5v signal. I am not too sure about what to do with the VREF+ pin. Can I just hook up 5V from the power regulator? Do I need to connect VREF- to ground? Is a cap suggested on the A.5 line? I looked over the site for a schematic and struck out.
    Thanks
    Toby
    Depending on how you have your A/D converter registers set up. Either they can both be internally referenced (Vref+ = Vdd, Vref- = Vss), or one or the other or both can be externally referenced. It's in the analog section of the datasheet.

  3. #3
    Join Date
    Mar 2005
    Location
    Iowa, USA
    Posts
    216


    Did you find this post helpful? Yes | No

    Default

    Toby -
    Check out Bruce's site for some good write ups on how to use A/D converters.... http://www.rentron.com/PicBasic1.htm
    That will show you a couple of different ways of doing it.
    Wisdom is knowing what path to take next... Integrity is taking it.
    Ryan Miller

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Thanks guys

Similar Threads

  1. ADCIN and PIC18F4331 Arghhhhh !
    By GrandPa in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 6th December 2010, 20:27
  2. MPXA4115A ADC vref set_up
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2009, 19:04
  3. help using adcin
    By harryweb in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st January 2006, 07:46
  4. Using VREF with 16F88
    By jpeakall in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th May 2005, 19:06
  5. switching external vref+ and vdd vref
    By alejandro_halon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th February 2005, 20:13

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