Battery monitoring - ever tried AN1072?


Closed Thread
Results 1 to 40 of 57

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    This is how I made it for now

    Vbatt is 6VDC (4x AAA batteries) and VREG is 5VDC (hence, VREG is the reference voltage).

    To measure the batteries, I draw 10mA; this seems to be okay to me - if not okay, please suggest another current I should have.

    Name:  CookTimer_R-Divider-control.png
Views: 4146
Size:  7.1 KB
    Last edited by flotulopex; - 22nd September 2015 at 23:16.
    Roger

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Roger, as I stated earlier, when the FET is OFF you supply +6 to the PIC pin. This is dangerous!

    Ioannis

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Wow! I missed that!

    What's the solution then? Shall I go with P-channel MOSFET?
    Last edited by flotulopex; - 23rd September 2015 at 18:44.
    Roger

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    How about move the MOSFET above the junction of ADC_IN. Voltage drop across the MOSFET?

    George

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    George's idea maybe feasible but FET's specs should be examined in detail.

    A P-channel I thing is best with the aid of second NPN transistor that will be driven from the PIC enable output.

    If you need more help with the circuit, please ask.

    Ioannis

  6. #6
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Is this an "acceptable" solution?

    6V is battery voltage
    5V is from PIC

    Battery check is OFF:
    Name:  OFF Circuit Simulator Applet.png
Views: 3949
Size:  7.6 KB

    Battery check is ON:
    Name:  ON Circuit Simulator Applet.png
Views: 4112
Size:  11.5 KB
    Roger

  7. #7
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Yes it is. In fact exactly what I was thinking to suggest you!

    Only objection the values of the voltage divider. These are low and you will have much current drain. Since PIC ADC has a nominal input impedance of 10K you can increase by a factor of 10 the values. Say at 1k8 and 5k6.

    Ioannis

  8. #8
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    952


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    Thanks Ioannis.

    By choosing the 180 and 560 values, I was thinking about drawing "enough" current out the batteries to get an as accurate as possible voltage reading (load = +/- 10mA).

    10mA is "only" 1% of the batterie's capacity added to the few mA from the circuit, I think this is already low - but I'm not a battery expert, just knowing for sure that three minutes are okay for eggs

    What do you think?
    Roger

  9. #9


    Did you find this post helpful? Yes | No

    Default Re: Battery monitoring - ever tried AN1072?

    for low battery draw, use high value r's and wait 5RC , that's 5 time constants between readings which allows 1 micro farad cap to charge to full divider value. That's 180K times 1X10to minus 6 which is about .2 seconds. The 1 micro farad is many times the cap value in the pic so it is an accurate reflection of the voltage and high r's draw micro amps from battery...... no switching on/off stuffName:  ad.JPG
Views: 3639
Size:  30.6 KB

Similar Threads

  1. Battery voltage monitoring for use on 16F1825
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 23rd April 2013, 15:57
  2. Replies: 13
    Last Post: - 22nd January 2012, 05:48
  3. ADCIN car battery monitoring
    By mitchf14 in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 29th June 2008, 09:04
  4. 12v car battery monitoring
    By oldcarguy85 in forum Schematics
    Replies: 2
    Last Post: - 10th December 2007, 01:26
  5. Using the A/D for Monitoring a Solor Cell and Battery
    By chuck.sieveking in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 13th July 2004, 20:27

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