Hello,
i'm trying to design a circuit so that in the event of a power outage, the atmega will be powered by a battery back up. What is the maximum amount of time that an atmega64 can be ON (without turning off / resetting) if its power supply is interrupted?
I was thinking of the 2nd circuit attached, but i think that in this configuration the circuit will be always drawing some current from the battery even if there is external power. So i'm thinking of another circuit with a switch (maybe a single pole, double throw switch) -- sthing similar to the 1st circuit attached but with DC power and w/o the inverter --- so that if there's a power outage, then the switch would connect to the battery to power the chip... is this even possible? would the switch be fast enough to avoid the atmega to reset?
any other thoughts / advice about how others have solved a similar problem are welcomed and appreciated!
thank you!
EDIT. sorry, i should have posted this general post on the avr forum...
- Eric