PDA

View Full Version : DS1307 automotive application



DynamoBen
- 8th August 2006, 22:02
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?

keithdoxey
- 8th August 2006, 23:04
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.

DynamoBen
- 30th August 2006, 04:34
My concern is more space related. The coin cell holder eats up valuable board space.

Jerson
- 30th August 2006, 07:01
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

DynamoBen
- 30th August 2006, 16:24
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.

Melanie
- 30th August 2006, 17:41
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.

DynamoBen
- 31st August 2006, 01:01
"A 3.3v Zener in series with a Resistor should suffice."

In series?

Melanie
- 31st August 2006, 01:06
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!

DynamoBen
- 31st August 2006, 01:10
So to recap:

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

Both the Zener Anode and Cap get tied to Common.

Melanie
- 31st August 2006, 01:31
Yes, I think you've got it...

DynamoBen
- 31st August 2006, 01:33
Oh sure one up me with a picture. ;)

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