piclist 2005\10\09\085355a >
Thread: Battery backup
face BY : Mike Harrison email (remove spam text)

On Sun, 9 Oct 2005 13:14:20 +0100, you wrote:

>PIC18F8621 on my board stores in memory some counters. I would like to be
>able to preserve these counters even after power loss without saving it in
>Is this possible to have two power sources on one board simultaneously?
>I found round batteries which are 3.3V but I can't find 5V ones and my PIC
>is 5V. Does anybody know such batteries?

..but the PIC does not need 5v just to keep the counter values.
Set it up with a couple of diodes so that when power fails, supply to just PIC  is fed from the
battery source, and have an interrupt or other signal to tell the PIC power has failed so it can
turn off any outputs that drain current and go to sleep mode.

<mp4ik19av0mkipaoqgoht6fgrt06aqlk87@4ax.com> 8bit

In reply to: <200510091213.j99CDIhY020146@pacific-carrier-annex.mit.edu>
See also: techref.massmind.org/techref/power/batterys.htm?key=battery

month overview.

new search...