This could probably go in the embedded forum but since it is a bit more generic question and this subfourm gets more notice I figured I would post it here.
I am building a project involving an RTCC. The project will be powered via a wall wart. The project will run on 3V via an on board regulator. But I want a battery backup for the clock in the event of a power failure. I think I can figure out how to monitor for main power failure and put the pic to sleep. That is not the problem.
Where I need help is how to design the battery backup. Can I simply put the battery in parallel with my 3VDC supply? Or do I need to switch it in somehow during the power failure? If so, how do I do that?
I am building a project involving an RTCC. The project will be powered via a wall wart. The project will run on 3V via an on board regulator. But I want a battery backup for the clock in the event of a power failure. I think I can figure out how to monitor for main power failure and put the pic to sleep. That is not the problem.
Where I need help is how to design the battery backup. Can I simply put the battery in parallel with my 3VDC supply? Or do I need to switch it in somehow during the power failure? If so, how do I do that?


