Using my ESP32 I am able to switch a MOSFET (IRF510) to blink an externally powered LED but not other things.
E.g. if I connect a brushless fan motor (that does work with as little as 3V) instead of the LED the motor does not spin at all.
Here is my minimal working example of this problem (also see picture):
Gate <-> D25
Drain <-> LED Cathode (-) / motor GND
Source <-> 3V Power supply GND and ESP32 GND
3V Power supply GND <-> LED Anode (+) / motor 3V
What I have tried:
- Switch to IRF1310F: same result
- Switch to IRF Z44N: LED is on all the time
- Switching to another DC motor: same result
- Adding a 10k resistor between Gate and Source: same result
I feel like there is an obvious solution to this. However I just can't see it.
Looking forward to any pointers in the right direction. Thank you!