Trouble with DS1307 battery backup


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Ok, mystery solved.

    It appears that noise, capacitance, or competing residual signal on the breadboard was causing issue. Running the voltage supply directly to the circuit board resolves all issues. Thanks all - and you particularly you Dave, for putting me on the right track.

  2. #2
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Ok, after further research, it appears related to battery voltage. The "new" battery I purchased reads over 4 volts. Just a head-up to others: something to look at if you're getting wonky readings from your DS RTC. I clipped a high draw LED to it for a bit - works flawlessly now. Sorry for the "Much ado about nothing."

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Quote Originally Posted by Amoque View Post
    Sorry for the "Much ado about nothing."
    NOTHING, Really?
    If it gave you pain, it was not NOTHING. Someone WILL encounter this situation again, AND see this thread, AND it will help them. Keep posting!
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    Feb 2011
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Very interesting. I did not know about DS1370 battery voltage sensitivity. I used long-life CR 1620 for 10 year clock service and never checked battery voltages with a meter. Something to consider in the future.

  5. #5
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    966


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    I've seen this problem before. The resolution is in the data sheet section regarding Vbat. This is what it says
    From http://datasheets.maximintegrated.com/en/ds/DS1307.pdf page 6

    Backup Supply Input for Any Standard 3V Lithium Cell or Other Energy Source. Battery voltage must be held between the minimum and maximum limits for proper operation.
    Diodes in series between the battery and the VBAT pin may prevent proper operation. If a backup supply is not required, VBAT must be grounded. The nominal power-fail trip point (VPF) voltage at which access to the RTC and user RAM is denied is set by the internal circuitry as 1.25 x VBAT nominal. A lithium battery with 48mAh or greater will back up the DS1307 for more than 10 years in the absence of power at +25°C
    Hope that helps

  6. #6
    Join Date
    Apr 2011
    Location
    Welches, Oregon
    Posts
    198


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Yes, I read the warning and it eventually came back to me as a possibility - it just took too long for me to question that a brand new, off the shelf part would be the problem. FAR more often it is some errant wire or lack of understanding... in my case anyway.

    If I've learned anything it is that those weird intermittent problems that come and go are most often related to power supply. Wires don't move and semiconductors don't magically heal - only to fail again - in a random pattern. Well, here's to posterity and "Good Luck" to the next guy.


    Cheers,

  7. #7
    Join Date
    May 2012
    Location
    Merseyside, UK
    Posts
    237


    Did you find this post helpful? Yes | No

    Default Re: Trouble with DS1307 battery backup

    Quote Originally Posted by Archangel View Post
    NOTHING, Really?
    If it gave you pain, it was not NOTHING. Someone WILL encounter this situation again, AND see this thread, AND it will help them. Keep posting!
    If this was Facebook …. Deserves a like


    I have had a wealth of help and advice from here…. By asking Questions

    Thank you all of you !!!!

Similar Threads

  1. Replies: 13
    Last Post: - 22nd January 2012, 04:48
  2. Without resetting....Switching PIC over to Backup Battery
    By financecatalyst in forum Schematics
    Replies: 5
    Last Post: - 29th December 2010, 14:23
  3. Sampling A/C with battery backup.
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th April 2004, 20:39
  4. Battery backup with long delay
    By Dwayne in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 6th January 2004, 20:38
  5. Battery Backup with PIC controlling switch
    By Dwayne in forum Schematics
    Replies: 1
    Last Post: - 27th December 2003, 13:16

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