I have an IRF640 N-channel MOSFET that has no protection on the circuit, and heats up my heatsink very fast. I know I need a Zener diode to "protect" the MOSFET, but is there anything else I need, and where do I put it? CLARIFICATION: the circuit does work, but it is killing the mosfet, it heats up a 1/2” x 2” x 2” aluminum heat sink to 104 F(40 Celsius) in 30 seconds. I don’t understand what I need to protect and improve the circuit
Wiring diagram below:
Wiring diagram below: