Electrical – Best power transistor for a high PWM output from ESP32

darlingtonesp32infraredmosfettransistors

I need your advice whether to use a Tip122 Darlington transistor or a BD137 medium-power transistor Or a IRL3705 MOSFET to drive 10 Parallel infrared LEDs.

Each LED has a forward voltage of almost 1.2-1.5 V and takes 40mA of current. This makes the total current required to be 400mA. I am using a 5 V power supply which can give 2 amperes continuous current that I will apply to source/collector.

I will be using an ESP32 to generate 38 kHz pulses to the base/gate of the transistor. Keep in mind that ESP32 can provide 3.3V and very low GPIO source current (some say 12mA and others 40mA max.)

Can you tell me which one will be optimal from my usage?
I will be connecting these LEDs to the source/collector.

As from my research Tip122 may not work properly at 38Khz switching frequency, the BD137 only has a gain of 10 that means that if I am giving 40mA or 12mA of base current I may either get 400mA or 120mA (extra doesn't hurt but having less definitely does).

IRL3705 is expensive and also has Vgs(th) of 2V maximum, meaning that either it may not work correctly or it would have a high Rds(on).

enter image description here

P.S. You can see the picture attached for 4 of these LEDs and you can imagine the rest of 10 of these. The picture would be same if I am using a n-channel enhancement MOSFET.

Best Answer

You can use a small logic-level MOSFET to switch 400mA, eg. AO3400A. The IRL3705 will probably work too, but it is not characterized for 3.3V drive and has a lot more gate charge (more than 10x) so it will switch more slowly.

Related Topic