So, I'm working on a clock project that uses the DS1337 (simply because I have one on hand). What I need to know is is there any way to power the DS1337 off of the arduino's 5 volts when the arduino has power and off the <3 volts of the backup battery when the arduino loses power? Would putting diodes in between the + terminals of the two voltage supplies and the RTC VCC allow the arduino to power the device when it's on and the battery to power it the rest of the time? My biggest concern is blowing up the lithium battery, my second biggest concern is the arduino leeching power off the lithium cell...
Thanks!
edit:
Also, as an alternative, I could just run the RTC off a 2200uf cap (from a guitar amp, in case they use high-self-discharge caps or something) that would get charged up when the arduino turns on. How long do you think this would this last? I calculated a decent amount of time (a few hours IIRC) a while ago but I don't really do capacitor math that much, so if anyone could confirm...