Hi everyone. I'm a somewhat newbie with circuits, did well in school though :) Have been programming for a couple of years with different languages, so I'm comfortable with code.
Anyway, I have this idea for setting up an power outage detector. I've read a number of threads on the topic, but never seen a solution like mine. I think the image provided will explain most of it.
Would this work or am I getting something wrong? Very grateful for any advice :)
Short explanation: The three power inlets from the house would naturally die at a power outage, leaving the battery to power the arduino. The charger is a normal one from any store, keeping the batteries constantly charged. About logic: A very short log would be saved to the EEPROM, like if power is coming from batteries or from mains (+ time). This way I don't have to care about the board resetting by the switch, and could send appropriate SMS anyway.