Electronic – arduino – NPN Transistor For 3 volt base to switch/control 5 volts

arduinomicrocontrollernpntransistors

I have a 3 volt microcontroller that I want to control the power to a 5v microcontroller. What transistor can use a 3 volt base and allow 5 volts through the emitter/collectors. What type of NPN transistor will work for this application? (a MPS222A doesnt work :/ )

schematic

simulate this circuit – Schematic created using CircuitLab

Best Answer

You need a PNP transistor ideally controlled from an NPN transistor.

schematic

simulate this circuit – Schematic created using CircuitLab

The reason why a single NPN emitter follower doesn't work is because the emitter output HAS to be lower than the base (3V) to get any current passing from collector to emitter. So the emitter might be 2.5 V when base is at 3V and collector is 5V (or greater).

You might be able to use one PNP transistor with appropriate potential divider values or maybe a small zener diode and resistor on the base to the GPIO.