Hi.
I want to select between two 5V power sources. One of the sources is 12V from a battery and a LM2596 regulator. The other source is direct from an USB port. I think a solution is the circuit I have attached. The circuit gives preference to the 12V+LM2596 option, so when both are present, the system is powered from this option. It seems to work ok, but I have a doubt about the reverse voltage on the LM2596 regulator. When only the USB 5V are present, the regulator is reverse biased, as 5V are present at its output and the input is grounded via the PNP base resistor. Is this a problem or the LM2596 will not be damaged?
The circuit schematic is attached as a Word file. Thank you in advance.