Electronic – 5V output switching with WEMOS D1 mini + MOSFET

esp8266mosfet

I have a WEMOS D1 mini board which I power with a 5V power supply. I need to switch 5V outputs with a few hundred mA load, so I use AO3400 N-channel MOSFET-s. My schematics are the following:

enter image description here

However, when I power the circuit, my outputs are all powered, their voltages are between 4-500mV and 4-5V, despite the fact that the gate-source voltage of the MOSFET-s are 0V.

What could be the problem?

Best Answer

Although parts of some of your descriptions have been a little unclear, your recent statement was:

I have output voltage even when the Gate terminal is shorted to ground directly.

This only leaves faulty / damaged (e.g. by ESD) / counterfeit MOSFETs (or perhaps a problem with your PCB or other physical construction) as possible causes.

You could edit the question to add photos of your physical hardware, in case that shows something of interest. But the first thing I would do, is to get a suitable working, and known genuine MOSFET, and repeat your test.

Based on your information, I believe your MOSFETs are either not the type you believe, or are faulty / damaged in some way.

Related Topic