I want a circuit diagram for charging 12 V 1600 mAh battery with overcharging protection. Also can anyone provide a circuit through which, I could use the battery as online UPS for my home security module. The AC supply available here is 230 V 50 Hz.