I need to switch on/off a cooler system that draws 20A at 12V using an ESP32 GPIO pin.
The ESP32 GPIO pins work at 3.3V logic with maximum 40mA of current.
Do you have a simple and safe solution to solve this problem?
I thought of using a MOSFET (e.g IRL540) with a resistor of 1k between the GPIO pin and the MOSFET gate:
Could it be a good solution?
Editing afters some comments
The cooler system is composed by three Peltier Cells that drains maximum 20A. It is attached to a power supply that transform 220AC to 12V DC - 20A max.
Diode between Drain and 12V to protect the MOSFET
I've updated the schema with the diode between drain and 12V, Can you please confirm is it mounted in the right way? Thanks