When building a security system it is handy to use a back up power supply in case the burglars turn off our house electricity. If this happens this circuit quickly switches to backup battery. When mains restore the circuit automatically switches back to mains and charges the backup battery. Circuit is fairly simple with easy [...]