To drive a MOSFET requires more than merely a logic ... It’s a simple enough circuit, the threshold pin is pulled high so the output goes high, and the PWM drive from an Arduino is hooked ...