hi, i'm doing a project which involve 2 supply of 12v to a programmer circuit. Difference is in day, the power is supply from battery with solar panel as charger, while at night, the power is supply from an AC to DC power supply.
Problem is I'm using a LDR with relay to switch the supply depending on day or night, but when in the process of switching where the relay switch from normally close to normally open, there is a delay gap where NO power is supply to the programmer circuit.
to overcome this matter, i plan to combining both supply to the circuit with adding diode on each supply so that the current would not reverse or effect to each other.
BUT this things is I'm not sure if i using this method, the input to circuit will become 24v or still remain 12v. Because the circuit needs only 5v which i used 7805 to convert it.
Ques: will the voltage become 24v or remain 12v? if not to combine both power supply, what kind of connection i should use?
Problem is I'm using a LDR with relay to switch the supply depending on day or night, but when in the process of switching where the relay switch from normally close to normally open, there is a delay gap where NO power is supply to the programmer circuit.
to overcome this matter, i plan to combining both supply to the circuit with adding diode on each supply so that the current would not reverse or effect to each other.
BUT this things is I'm not sure if i using this method, the input to circuit will become 24v or still remain 12v. Because the circuit needs only 5v which i used 7805 to convert it.
Ques: will the voltage become 24v or remain 12v? if not to combine both power supply, what kind of connection i should use?