ADC Load


Closed Thread
Results 1 to 4 of 4

Thread: ADC Load

  1. #1

    Default ADC Load

    Just wondering if there is a way to minimize the loading down of the I/O. I have a 22uF capacitor attached to the AN0 pin on a F452 and it works great until I remove the signal. The capacitor will hope and release the charge over a great period of time which is not what I want. If I put in a load resistor to discharge the capacitor is drops my voltage being measured on the I/O by about 1V at 3V, I'm using a 10k but this is having a major affect in the readings. I can probably adjust the scale to compensate for the increased load if I have too. Is there something that I'm missing?

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Must use a buffer made with an operational amplifier. TTL inputs are low impedance this is why the voltage across capacitor drop fast.

    regards
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jul 2003
    Location
    Sweden
    Posts
    237


    Did you find this post helpful? Yes | No

    Post

    Ok i admit it, i can't really understand what you want to do. When i read you message it sounds like you want the capacitor to be discharged as quickly as possible. If this is what you want, you could make the pin low output, wait a short time and then switch it back to an input. This will release the charge in a controlled manner. If, on the other hand, you want the capacitor to keep the charge longer you should make an OPampbuffer as suggested.

    /Ingvar

  4. #4


    Did you find this post helpful? Yes | No

    Default

    Actually I'm just using the cap to help smooth the input which seems to be working really good and stable. I have now looked at all the numbers being read and compared them and have determined that vin = vin / 2 + vin + 2. This seems to work very good.

Similar Threads

  1. Stable Adc Reading Routine
    By gebillpap in forum General
    Replies: 27
    Last Post: - 13th May 2015, 02:18
  2. 10 bit ADC display on LCD using 16f873
    By pr2don in forum mel PIC BASIC
    Replies: 3
    Last Post: - 6th March 2010, 18:29
  3. Can't get ADC to loop
    By TravisM in forum mel PIC BASIC
    Replies: 2
    Last Post: - 11th October 2009, 15:33
  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