IRL520 Thermal control

No i would simply just turn it fully on with the arduino output. The gate would be fully saturated. Im using it just as a switch for an 8 amp load from an led strip.

Im trying to stay away from using a relay because i want to save as much space as possible. Im going to put the enclosure on my bike and want it to be water resistant, thats where i got the idea to resin print an enclosure and fill it with epoxy. I've never used the epoxy before so i didn't know what to expect.

I found some cheap aluminum fin heatsinks that i could partialy expose the fins through the epoxy but they still wouldn't get much airflow if any. I was hoping to find a mosfet i could just use in the epoxy filled enclosure without it thermally running away.

These are the cheap heatsink i speak of,

60 Pcs 20x15x10mm Black Aluminum Heatsink for TO-220 Transistor https://a.co/d/eHma4B3

I could see how the epoxy could insulate the heat around the mosfet.

This is the epoxy i was looking at

Epoxyseal 9000 Electronic Grade Potting Epoxy, Epoxy Resin PCB Coating, Electronic Potting Epoxy, Casting Epoxy - 48oz KIT. https://a.co/d/htm8qlW