Ok so here's my situation.
I have a custom board with a micro controller that has a 6 pin connector. If I plug in a device to the connector that requires power it should provide somewhere on the order of 200ma @3.7v (from my PSU) to said device. However it's possible (and expected) that the same connector might be used with another device that is sending power @5v and in that case I want to close the circuit and not have any flow in or out.
1) 3.7v —–> Out (To device requiring power)
2) 3.7v —-> X <—- 5Volt (powered device attached shut it all down)
What's the best circuit/solution for this? Some type of diode switch?
Best Answer
Sure, you could directly use a diode.
simulate this circuit – Schematic created using CircuitLab