Setting Vref in 12F675


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Posts
    67

    Question Setting Vref in 12F675

    Hi All.
    When you use the command ADCIN, does this set Vref automatically to Vdd?

    If Not, can someone please advise?

    Thanks.

    Peter
    Pete

  2. #2
    Join Date
    Mar 2005
    Location
    Mandalay,Myanmar
    Posts
    9


    Did you find this post helpful? Yes | No

    Lightbulb

    Hi Peter

    No.
    You must set the bits of ADCON0.
    If bit 6=0 ...Vdd is reference.
    If bit 6=1 ...AN1(GP1) is reference.(To do this you must set GP1 is analog)

    You can find details on page 43 of 132 of Microchip Pic 12F629/675 data sheet.
    (www.microchip.com)

    a.majid
    from_myanmar

Similar Threads

  1. MPXA4115A ADC vref set_up
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th August 2009, 19:04
  2. PICKit2 - warning about configuration words
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 26
    Last Post: - 4th August 2009, 14:01
  3. Problem setting pins on 12f675
    By srnet01 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th February 2009, 15:58
  4. switching external vref+ and vdd vref
    By alejandro_halon in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 16th February 2005, 20:13
  5. How to use Vref
    By d1camero in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 5th April 2004, 11:20

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