ADC Conversions


Results 1 to 7 of 7

Thread: ADC Conversions

Threaded View

  1. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Measuring the input Cap discharging is not the greatest way to do it. By the time you've detected a significant voltage drop to determine you've a power failure (taking into account the dips and peaks of your various loads), that failure has been around perhaps for several tens of milliseconds.

    Consider the attached schematic. Here the failure is detected the moment it happens. C1 has not yet started to discharge and you've got those extra tens of mS to play with... one extra Diode is all it takes...

    R1/R2 are just a voltage divider to ensure the PIC's ADC doesn't get more than +5v at it's input. Adjust the values to suit.
    Attached Images Attached Images  

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 : 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