I am trying to use IRF520 as a relay driver for ESP32, but by reason unknown it does not works. I have replaced it twice with a new ones, but yet it keep not working. I have 3V on the ESP32 pin when the state is HIGH and 0V when the state is LOW. I am using the circuit below:
- Why the IRF520 never trigger the relay ?