With the attached circuit the 12V solenoid activates when the button is manually pushed however when the ESP32 Adafruit Feather microcontroller is attached to the circuit, when the input is sent to the microcontroller the solenoid does not operate even though a voltage reading is shown coming out of the pin. Does this have something to do with the MOSFET or are there missing components with my circuit?
Additional notes: I am using a wi-fi communication with the microcontroller and therefore using the 5V regulator to power the board without the use of the USB cable. The 5V regulator is placed on the BAT pin of the microcontroller. The power supply being used is 12V 5A not 12V 2A as shown in the circuit.
Circuit: https://www.circuito.io/app?components=513,10456,10456,10456,10456,360217
Additional notes: I am using a wi-fi communication with the microcontroller and therefore using the 5V regulator to power the board without the use of the USB cable. The 5V regulator is placed on the BAT pin of the microcontroller. The power supply being used is 12V 5A not 12V 2A as shown in the circuit.
Circuit: https://www.circuito.io/app?components=513,10456,10456,10456,10456,360217