I'm designing a system that can be powered both at 12V and 5V. The circuit works at 5V, so a voltage regulator is used when the power is at 12V. A jumper (or several jumpers, given your answers) will route the power lines accordingly. My idea is to use a single jumper that:
- in position A (12V input) connects the power supply to the voltage regulator's input; voltage regulator's output goes to the circuit
- in position B (5V input) connects the power supply to the voltage regulator's output, so the main power goes to the circuit; voltage regulator's input is floating
Here is a reference schematic:
Is it safe to do so? Will the voltage regulator be harmed if I drive its output when the input is floating? (in that case, I need 2 jumpers, so I can disconnect the output line)
Thanks!