I'm driving an IRFZ44N MOSFET from an Arduino Uno (pin D2) via a 220 Ω resistor.
On the drain, I have an LED with a protection resistor to +12 V, and the source straight to ground. The Arduino is getting 5 V via a buck convertor. The code just flips D2 between high and low every second. My issue is with the pull-down resistor.
If I use a 10 kΩ pull-down resistor and pull the gate straight to +12 V or +5 V, everything works as you'd expect. When I have the gate connected to my Arduino D2, the gate does not hit its threshold - it only gets about 1 V, even though the Arduino is putting out 5 V at the pin. I don't understand this behaviour.
I also noticed that when I put my multimeter between gate and ground (without a pull-down) it started working as expected. I swapped out the 10 kΩ resistor for 1 MΩ to match the meter's impedance and now it works just fine, and gets about 4 V at the gate.
If I move the pull-down to the other side of the 220 Ω to avoid it being a voltage divider, there's no change in behaviour irrespective of the pull-down's value.
I'm really confused and I feel like I must be missing something obvious.