I was trying to make a sort of UPS circuit with a 12V DC 5Ah power supply and a 12V 5Ah seal-lead battery.
My question is that I don't know how to switch quickly from line supply to battery. I've tried a relay but while switching, power goes down and then up.
The load on this line consists of a microcontroller and an LCD display (1Ah 5V DC). What can I use instead of the relay?
Here is the schematic: