Electronic – MCU 3.3v to 5v Relay Driver, MOSFET or BJT

drivermicrocontrollermosfetrelaytransistors

I couldn't find a definitive answer.

What's more suitable to drive a 5v relay from a 3.3v MCU, a MOSFET or a BJT Transistor? NPN or PNP?

I will be using a Schottky SS34 as flyback diode. Relay consumes 75mA.
I can use NPN transistor MMBT3904LT1G or N-Channel MOSFET BSS138 for turning on the relay, emmiter/source to ground, would that be ok?

Best Answer

The BSS138 is not characterized for Rds(on) with 3.3V drive, and the MMBT3904 is not characterized for Vce(sat) at 75mA so neither one is great.

There are plenty of better parts such as MMBT4401 or AO3414 that are properly specified to work reliably. Either one will work fine, with the proper choice of base resistor etc.