DS1307 automotive application


Closed Thread
Results 1 to 11 of 11
  1. #1
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382

    Default DS1307 automotive application

    I'm using the DS1307 in an automotive application. In the datasheet the RTC backup is a 3V coin battery. Since the vehicle as a battery would it make sense to use it in place of the coin battery? If so all I should need to do is swap out the battery for a voltage regulator?

  2. #2
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    I would still use a coin cell.

    The voltage regulator will use far more current than the RTC itself and if the car battery gets disconnected then the RTC will stop.
    Keith

    www.diyha.co.uk
    www.kat5.tv

  3. #3
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    My concern is more space related. The coin cell holder eats up valuable board space.
    Last edited by DynamoBen; - 30th August 2006 at 03:48.

  4. #4
    Join Date
    Nov 2005
    Location
    Bombay, India
    Posts
    947


    Did you find this post helpful? Yes | No

    Default

    How about using an electrolytic backup instead of the coin cell. Thus, even if the battery is disconnected for a few minutes, the RTC still works. You could work out the value of the capacitor based on the amount of time you need it to hold while the car battery is disconnected. Of course, you still need to charge the cap while the battery is connected.

    Jerson

  5. #5
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    I’m not worried about losing the time when the battery is removed. If you remove the battery in your personal vehicle, you have to reset all the clocks. People are used to this fact, I think.

  6. #6
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    A voltage Regulator is probably overkill. A 3.3v Zener in series with a Resistor should suffice. Zeners are noisy, so a small Capacitor across it would keep the RTC happy, but you might not even need it. Actually, if you made it something like a 1uF, it probably would have enough charge to keep the RTC Backed-Up for an hour or more.

  7. #7
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    "A 3.3v Zener in series with a Resistor should suffice."

    In series?

  8. #8
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    You should want to put it in parallel? A 3.3v Zener directly across a 12v car Battery is something you will only try once - Don't hold the Zener in your fingers when you do it!

  9. #9
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    So to recap:

    12V (battery) --> Resistor --> Zener K--> 1uF Cap --> DS1307

    Both the Zener Anode and Cap get tied to Common.

  10. #10
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Yes, I think you've got it...
    Attached Images Attached Images  

  11. #11
    Join Date
    Jun 2005
    Location
    Wisconsin
    Posts
    382


    Did you find this post helpful? Yes | No

    Default

    Oh sure one up me with a picture.

    Yeah thats what I had, we are both on the same page.

Similar Threads

  1. Unusual Interrupts Application Problem
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 8th May 2009, 11:55
  2. DS1307 12-hour mode with AM/PM divisor
    By JNOR07 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 30th August 2007, 13:26
  3. DS1307 on fire
    By brid0030 in forum General
    Replies: 6
    Last Post: - 25th November 2006, 02:44
  4. Connecting DS1307 to PIC16F877A
    By amindzo in forum General
    Replies: 4
    Last Post: - 8th September 2006, 14:11
  5. ds1307 from f877 to f452 not work
    By microkam in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th July 2005, 00:02

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