I have a buck regulator that takes 4.4-36V input voltage, and gives 3,3V 1A output. It will have two voltage sources, one potentially 25V and one 5V. Do I need a mosfet circuit to make only one source active at a time? OR Can I use two diodes in this way to protect the sources? The buck regulator should be able to handle the total voltage of the two sources put together so I don't think that is a problem.
simulate this circuit – Schematic created using CircuitLab