DS1302 Clock
DShannon
Posts: 26
Hi All,
have a question about the DS1302 clock that Parallax distributes.
Most of the sample code shown sets the clock time at program start up. Will the clock retain the setting, as long as I keep it continuesly powered with +5v? Ie, the stamp loses power but the DS1302 remains powered?
Thanks!
have a question about the DS1302 clock that Parallax distributes.
Most of the sample code shown sets the clock time at program start up. Will the clock retain the setting, as long as I keep it continuesly powered with +5v? Ie, the stamp loses power but the DS1302 remains powered?
Thanks!
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Sid Weaver
NEW! 4 MB EEPROM
http://hometown.aol.com/newzed/page4.html
·
The 'Pin 1' VCC +5 volt pin is the one you power with the BS2 power. The reason most test programs reset the time is because the authors are never sure you've had the 1302 running before, or have a coin cell attached to the chip.
http://hometown.aol.com/newzed/page1.html
Sid
Do you sell the Piggyback with the battery? Would I be able to substitute a DS1302*N* ? The reason I ask is becasue the *N* operates in <0 deg Celcius.....
DS1302N
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
DTQ
-Dan
Another alternative if you just want temporary power backup... i.e. when changing out the main battery,
you could use a Capacitor in place of a 3V lithium. Check out the trickle charging options on pages
3,4 and 7 of the datasheet. The size of the capacitor will determine how long you have to make the
battery exchange.
DS1302 Datasheet
Newzed,
Double check that, the datasheet says Pin 1 is Vcc2, and that Pin 8 is Vcc1
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe - Mask Designer III
National Semiconductor Corporation
(Communication Interface Division)
500 Pinnacle Court, Suite 525
Mail Stop GA1
Norcross,GA 30071
Sid