PIC self supply measurement


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    What I've done is power a LP2980-4.5 LDO regulator from a PIC pin and read its output with an ADC pin. As long as the PIC supply is >4.5 the ADC reading is less than MAX. Once the PIC supply drops to 4.5 or lower the ADC reading is MAX.

    I use this with BR type coin cells, which have a fairly flat discharge curve and then drop rapidly, to signal when the batteries need replacing.

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


    Did you find this post helpful? Yes | No

    Default

    If you meant 'I want to monitor the Battery voltage' it will never work @4.6V

    If you meant 'i want to monitor the PIC 5Volts rail' you MUST have a accurate and stable ref point somewhere. Zener will work but need too much current, voltage reference are great.

    But there's certainely something i miss here. Usually i'll monitor the PSU before the regulator with high value resistor R2R network. The internal comparator allow that.

    Something to try i guess Mr tomskk?
    Steve

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

Similar Threads

  1. Switch mode power supply Pic Micro
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th July 2009, 14:11
  2. PIC backup power supply: switchover ???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 18th April 2008, 18:05
  3. Decent 24 volt Pic power supply
    By rwskinner in forum Schematics
    Replies: 7
    Last Post: - 18th December 2006, 13:27
  4. backup supply for pic
    By PoTeToJB in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th May 2006, 18:24
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 12th March 2005, 00:14

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