Me and my friends are making a UPS model. So far we have established a battery charger circuit from mains and over charging protection for backup battery. We are working on charging indication using arduino, but we can not figure out a few things - firstly, when mains supply is on the battery supply should be off, second, after power is restored it should go back to power supply, third, if power is low battery supply should start.
We are basically not able design something for this logic. Please guide us!
We are basically not able design something for this logic. Please guide us!