Battery Life Calculation???


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    44

    Question Battery Life Calculation???

    Hi. My name is Manuel, and I am building a project around the PIC16F628A and a piezo. It is supposed to make 10 one second BEEPs everyday at a specified hour (spaced around 10 mins). I am using TMR1 as a RTC with a 32 kHz osc, and a 4MHz main oscillator. The PIC sleepts between TMR1 interrupts, so as to save power, so the main oscillator would only be active for about:
    10 beeps * 1 sec each = 10 sec. Lets add 10 more sec to process the RTC routine (serious overkill!! i guess) so thats leaves us 20 seconds per day.
    The piezo draws about one mAh, and the PIC about 800 - 1000 uAh.
    The TMR1 oscillator will be on all day long. I want to calculate how long can a small 100 or 200 mAh lithium battery would last. This is what I have already done:


    2 mAh * 20 secs/day = 0.0111 mAh per day
    60 uAh * 24 HS = 1.4400 mAh per day
    ---------------------
    1.4511 mAh per day



    With 200 mAh battery = around 137 days.

    Is 60 uAh correct for TMR1 on with OSC???

    By the way, the pic will be powered from about 5 volts. (Two batteries in series and one diode so as to keep the voltage below 5.5V)

    Can you guys tell me if this calculation is ok please???? Thanks for your work!!!!!!!!!!!!!!!!!!!!!!!! Sorry for my english!!!

    Manuel
    Last edited by manumenzella; - 23rd February 2007 at 03:02.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manumenzella View Post
    Hi. My name is Manuel, and I am building a project around the PIC16F628A and a piezo. It is supposed to make 10 one second BEEPs everyday at a specified hour (spaced around 10 mins). I am using TMR1 as a RTC with a 32 kHz osc, and a 4MHz main oscillator. The PIC sleepts between TMR1 interrupts, so as to save power, so the main oscillator would only be active for about:
    10 beeps * 1 sec each = 10 sec. Lets add 10 more sec to process the RTC routine (serious overkill!! i guess) so thats leaves us 20 seconds per day.
    The piezo draws about one mAh, and the PIC about 800 - 1000 uAh.
    The TMR1 oscillator will be on all day long. I want to calculate how long can a small 100 or 200 mAh lithium battery would last. This is what I have already done:


    2 mAh * 20 secs/day = 0.0111 mAh per day
    60 uAh * 24 HS = 1.4400 mAh per day
    ---------------------
    1.4511 mAh per day



    With 200 mAh battery = around 137 days.

    Is 60 uAh correct for TMR1 on with OSC???

    By the way, the pic will be powered from about 5 volts. (Two batteries in series and one diode so as to keep the voltage below 5.5V)

    Can you guys tell me if this calculation is ok please???? Thanks for your work!!!!!!!!!!!!!!!!!!!!!!!! Sorry for my english!!!

    Manuel
    As I've found out, I'd doubt you'll get the full '137 days' from a set of coin cell batteries.
    If you look at the datasheets for the batteries, you'll see that their mAh rating is based on a steady current much lower than 1ma, more like .1mA.
    A draw of 1mA from a coin cell is more like a 'surge current' far above a steady draw. It's a lot like the current draw from an engine starter from a car battery, sure you can do it a lot, but you'll get a lot longer run time just running a dome light.
    In short, the more you draw, the less you'll pull...
    Last edited by skimask; - 23rd February 2007 at 03:37. Reason: Edited current draw example

  3. #3
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Hey. Thanks for your answer. I have just checked the Energizer datasheet for the con cell CR2032. It is rated at 240 mAh, and with a pulsed drain (2 seconds, 12 times/day, 6.8 mAh), it should give about 225 mAh.
    Thats very little difference for such a big current (for a coin cell, I mean).
    I think I would perhaps not be able to get the full 137 days, but perhaps about 3 months??? Please correct me if im wrong!!! Thanks again.
    Manuel

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by manumenzella View Post
    Hey. Thanks for your answer. I have just checked the Energizer datasheet for the con cell CR2032. It is rated at 240 mAh, and with a pulsed drain (2 seconds, 12 times/day, 6.8 mAh), it should give about 225 mAh.
    Thats very little difference for such a big current (for a coin cell, I mean).
    I think I would perhaps not be able to get the full 137 days, but perhaps about 3 months??? Please correct me if im wrong!!! Thanks again.
    Manuel
    As far as I can tell, probably not the full 137 days, probably not even 3 months. Surge currents kill coin cells. My experience says you might get a couple months at most. Maybe my coin cells were old, maybe my calculations weren't corrent. Who knows. These types of things are crap shoots, you never know until you try it...so...

    Try it out and get back to me in April

  5. #5
    Join Date
    Jan 2007
    Posts
    44


    Did you find this post helpful? Yes | No

    Default

    Hey. Thanks for all your help.
    I dont have any experience with this tiny lithium con cells, so i hink that you must be right!
    Anyway, this project is supposed to beep in the classes of a teacher (she is really rude, and everybody hates her!!!) I ehink I saw another post on a similar project, but i cant seem to fin it. If you know the addres, can you post it please???
    Thanks again, and sorry for my english!!!
    Manuel

Similar Threads

  1. Of battery discharge curves
    By ardhuru in forum General
    Replies: 0
    Last Post: - 21st January 2009, 16:24
  2. Low battery signal from an RTC
    By ardhuru in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th March 2008, 17:13
  3. Battery pack cell reader
    By steiner in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 9th March 2008, 06:41
  4. Replies: 1
    Last Post: - 20th December 2005, 03:56
  5. Battery backup with long delay
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th January 2004, 20:38

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