hello guys. Im making a semester project on an auto-switch using 3 sources of power. i.e. solar panel (60W), battery 12v (1.2Ah) and 220v AC supply (45W).
using a charge controller for regulating solar INPUT.
the Load is a 45W LED strip
also we have converted the AC supply into DC. because we have connected a DC load.
I have figured out rest of the working but having problem in coding the arduino for:-
1). detecting Voltage from 2 sources. (the battery should be giving output of 12v) 2). making sure that if the supply from battery falls below 9v then it should switch onto the 2nd supply.