18F4585 adc-in Pull-up ????


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289

    Default 18F4585 adc-in Pull-up ????

    Hello,
    I have a problem !

    I use 2 adc-ports AN0 and AN1
    On AN0 there is an table signal 1,27V.
    On AN1 there is a stable signal 2,7V.

    At each port I use a resistor (22k or 10k) to protect the port and 10nF in order to filter any spikes.

    I measured the signals and found out:
    At port AN0 the signal has 1,27V and "in front of" the resistor 1,27V too.
    But at AN1 i measure 2,8V at the port-pin and "in front of" the resistor 2,7V.
    AN1 seems to have an pull-up....

    what the f... ?
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  2. #2
    Join Date
    Feb 2005
    Location
    Kolkata-India
    Posts
    563


    Did you find this post helpful? Yes | No

    Default Highly Unlikely

    Hi,

    Please note that the ADC results are dependent on the supply accuracy. Since your Vref is derived from VDD (I hope). If you require accurate results try using a temperature compensated Vref. May be a TL434.
    Also since you are using a low pass assure you have enough sampling time.
    Regards

    Sougata

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Use smaller resistor values on your input filter. Recommended max is 2.5K.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

Similar Threads

  1. Stable Adc Reading Routine
    By gebillpap in forum General
    Replies: 27
    Last Post: - 13th May 2015, 02:18
  2. Can't get ADC to loop
    By TravisM in forum mel PIC BASIC
    Replies: 2
    Last Post: - 11th October 2009, 15:33
  3. PIC18F2423, ADC problem
    By mistergh in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 17th March 2009, 01:31
  4. ADC value with 2 decimals on an LCD
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2005, 15:54
  5. 12F675 ADC 'Issues'
    By harrisondp in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2005, 01:55

Members who have read this thread : 1

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