Tried doing it earlier today.
Didn't use a breadboard because i was scared of the large amount of current that would go through it and that i would end up starting a fire again.
i am at most a beginner in electronics, I have only done very basic programs in python and arduino (C++) as for hardware, also no experience. i did however learn ohms law (V = IR). I haven't really applied it before now.
My 12V power supply (12V 30A DC Power Supply Driver - Universal Regulated Nigeria | Ubuy) is similar to the one in this picture. I got mine from an open market.
did you mean 5v?
I put the black probe on the ground of the esp32 and the red on the pin 25, i moved the red probe across the resistor to the gate of the mosfet also 3.3v.
i put the black probe on the -12v coming from the power supply and the drain 8.5v, and after the resistor it was 12v, it remained at 12v after the diode, the positive leg and the negative leg (of the terminal the heater is connected to).
that was the only one I tried with an Arduino UNO. All the test were performed with the ESP32 including that one. I used the Arduino so I could use the onboard LED.
Well you should have said so, no problem.
I think the simplist solution for you would be to find a 20A (or more) relay that can work with the ESP32 3.3V I/O
I got it by the way, a 4 channel one since that was the only one available on short notice, and i managed to get the arduino turn the heater on and off.
So now you need a 12V supply for the heater and a 5V supply for the relay. I was trying to simplify things by using a 12V relay so you only needed a 12V supply.