N-mosfet circuit problem

As for N channel MOSFET the Source should be tied to GND.
See first picture here: Resistor configuration on MOSFET high side/low side switches

Although the used FDD8447L is a logic level MOSFET, 3V3 coming from ESP32 might be not enough. If you look at the datasheet the Vgs threshold voltage can be as high as 3.0V. That is where only 250uA Ids can flow!

Moreover with 3V3 Vgs voltage the MOSFET is below it's ZTC point, thermal instability can occur!

You should really reconsider your circuit!

1 Like