+ Reply to Thread
Results 1 to 4 of 4

Thread: How accurate is the ADC on PIC18?

  1. #1
    chris414 Good chris414 Good chris414 Good
    Join Date
    Apr 2009
    Posts
    113

    Default How accurate is the ADC on PIC18?

    How much accuracy can I expect with a PIC18F2550? I'm using the example code from microchip for some simple ADC and compared with my multimeter (it's a good multimeter, not a cheap supermarket special) it's reading about 0.2V higher than the actual reading (the error is less at lower voltages). Is this normal?
    Last edited by chris414; 15th December 2009 at 06:35 PM.


  2. #2
    eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent eng1 Excellent
    Join Date
    Apr 2006
    Location
    Italy
    Posts
    938

    Default

    Quote Originally Posted by chris414 View Post
    How much accuracy can I expect with a PIC18F2550? I'm using the example code from microchip for some simple ADC and compared with my multimeter (it's a good multimeter, not a cheap supermarket special) it's reading about 0.2V higher than the actual reading (the error is less at lower voltages). Is this normal?
    How good is your reference voltage? Did you choose Vdd as the reference for the ADC or are you using a precise external reference?
    What is the source feeding the ADC?

  3. #3
    Oznog Excellent Oznog Excellent Oznog Excellent Oznog Excellent Oznog Excellent
    Join Date
    Apr 2004
    Location
    Austin, Tx
    Posts
    2,765

    Default

    Assuming you used a voltage divider, the divider resistors' accuracy makes an enormous difference. As much as +5% on one and -5% on the other (worst case) is a lot of error!

    The PIC18F's ADC is just as accurate as the spec sheet (and errata sheet) says.
    Last edited by Oznog; 15th December 2009 at 11:26 PM.
    I thought what I'd do was I'd pretend I was one of those deaf-mutes.

  4. #4
    spindrah Newbie
    Join Date
    May 2004
    Posts
    113

    Default

    Quote Originally Posted by chris414 View Post
    How much accuracy can I expect with a PIC18F2550? I'm using the example code from microchip for some simple ADC and compared with my multimeter (it's a good multimeter, not a cheap supermarket special) it's reading about 0.2V higher than the actual reading (the error is less at lower voltages). Is this normal?
    if you had it set up right you should be within 0.01volts of actual

+ Reply to Thread

Similar Threads

  1. Accurate Temperature Sensor
    By Soda Ant in forum General Electronics Chat
    Replies: 8
    Latest: 19th May 2009, 11:29 PM
  2. satnavs - how accurate ?
    By Thunderchild in forum Chit-Chat
    Replies: 23
    Latest: 28th July 2008, 12:17 PM
  3. Which is better for accurate clocking
    By RetiredHAL in forum General Electronics Chat
    Replies: 17
    Latest: 5th November 2007, 06:33 PM
  4. accurate control
    By alexmcsheffrey in forum Electronic Projects Design/Ideas/Reviews
    Replies: 3
    Latest: 14th December 2003, 11:41 AM
  5. RE: 1 Second Time Base (ACCURATE)
    By D'COUNCILOR in forum Electronic Projects Design/Ideas/Reviews
    Replies: 12
    Latest: 21st November 2003, 03:31 PM

Tags for this Thread