Monitor supply voltage of chip?


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    I think a fixed Vdd to the PIC set below the "low battery" level is your only recourse with this one.
    Then a simple voltage divider to monitor the battery level with the A/D to trigger sleep mode after that.

    If you're not sourcing much through the 12F1683, a small 2.?V zener is all you'll need for Vdd.
    Louie

  2. #2
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    The datasheet for the 12f683 shows that it has an internal Fixed Voltage Reference that can be used to compare against the supply voltage.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  3. #3
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    Quote Originally Posted by Heckler View Post
    The datasheet for the 12f683 shows that it has an internal Fixed Voltage Reference that can be used to compare against the supply voltage.
    hi, Dwight,

    not really a reference for the 683 ...


    - Programmable on-chip voltage reference
    (CVREF) module (% of VDD)
    so, here it is not possible to reach the goal ...

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  4. #4
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    There is more than one way to to this. All you need is fixed reference voltage.
    Eg 0,6V from diode(if you can tolerate drift about 2mV/degC), some pic have built in diode for temp. monitoring, or pic fixed reference(FVR), or voltage from some blinking LED(Do battery check when LED is on).
    So you can feed fixed voltage on ADC pin, and use Vdd as reference for ADC. If Vdd is lower than ADC result are higher and reverse.
    Some pic have FVR on ADC multiplexer(or internal diode), so there is convenient way to do that, without loosing io pins.
    If you are using external fixed reference, you can use IO pin to turn on/off reference to minimize current draw.

  5. #5
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    Hey Robbo,

    If you decide to use the internal Fixed Voltage Reference you might want to take a look at my second post in this tread... http://www.picbasic.co.uk/forum/showthread.php?t=19035

    and read this thread also... http://www.picbasic.co.uk/forum/showthread.php?t=17321

    sorry that my post about the FVR earlier was so short but I was at work.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  6. #6


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    have a look at AN1072. Darrel wrote a piece about the subject.

  7. #7
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: Monitor supply voltage of chip?

    Heckler
    According to microchip's datasheet( http://ww1.microchip.com/downloads/e...oc/41211D_.pdf ) PIC12F683 doesn't have Fixed Voltage Reference.
    Last edited by pedja089; - 25th February 2016 at 08:50.

Similar Threads

  1. How to use the HLVD module as a low voltage monitor
    By jellis00 in forum Code Examples
    Replies: 2
    Last Post: - 11th March 2013, 19:31
  2. Voltage monitor and PWM control
    By StoneColdFuzzy in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 11th May 2009, 16:11
  3. Voltage monitor for car battery
    By passion1 in forum mel PIC BASIC Pro
    Replies: 50
    Last Post: - 23rd April 2008, 21:47
  4. voltage monitor
    By aftab in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 17th August 2007, 09:57
  5. Help with DS2436 Voltage monitor
    By vladimir059@hot in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th October 2006, 16:39

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