How to use 3.3V gate MOSFET to drive two loads with common ground

mosfet-driver

I have two gpio pins (3.3V logic high) to control an LED indicator (includes 2 LEDs and one common ground). The supply voltage to turn the LEDs on is +12V. Is it possible to simple drive (3.3V logic from uController) the common ground device with two seperate P MOSFETs? If not, what circuits sequence I should follow?

Best Answer

It's a pity they are not common anode because then it would be easily done with two ground referenced n ch mosfets.

To do it with a common cathode circuit will work with two p ch mosfets but, for each mosfet you'll need a transistor to pull the gate down to 0v. This is because a gpio pin that is high will still keep the p ch mosfet turned on.

Basically an n channel fet and pull-up resistor can fully activate the p channel fet's gate.

There is another option of a zener level shifter but component values and selection may be tricky with only a 3.3 volt gpio drive signal. Still do able though.

Using bjts can work too.