16F886 and Voltage reference


Results 1 to 4 of 4

Threaded View

  1. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: 16F886 and Voltage reference

    Hi, Peter

    may we understand your board design is already done and can't be altered ?

    If so ... see Hendrik's answer.

    another solution could be, if your board current draw is quite constant, to add a little calibration routine in your program : @ first power up, you use a known reference voltage on one ADC pin ... then the routine calculates a correction coeff to use in your ADC measurements ...

    say, IF the EEPROM cal value is $FF or $ FFFF ( generally is with newly programmed components ) , THEN you enter the cal. routine @ power-up ...

    Alain
    Last edited by Acetronics2; - 25th August 2013 at 14:28.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Similar Threads

  1. Fixed Voltage Reference
    By kduck63 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 20th April 2012, 11:27
  2. ADC with reference voltage
    By GoldStar in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 20th May 2010, 21:01
  3. ADC - 2 channels but not same voltage reference - how to?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 25th November 2007, 19:03
  4. COMPARATOR - Voltage Reference settings
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 9th October 2007, 07:06
  5. AD Negative Voltage reference
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 28th June 2007, 15:01

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