Here we go, then.
You picked the P4NK60ZFP. Bit higher Ron than most, but... internal zener, and a 30V max Vgs? ? I didn't even know you could get those! Nice part. I might use that myself some day. And a 3V threshold too
Yes, if you are controlling your lights off of 5V logic - ie, most arduinos - that will do the jobs nicely. Nice and simple, one part. It's actually rather overkill, you could just as easily make it work with a more conventional, lower-cost MOSFET, possibly one with lower Ron which would mean you could handle more current and dissipate less heat. So while it may not be the ideal part for the job, it will work. At your worryingly high Ron, you will need a heatsink - that's why it's often a good idea to get power MOSFET rated for far more current than you'll actually use, it means less heat dissipation.
But if you want to use a pi, you have a problem. That part has a threshold voltage of between 3V and 4V. You can't drive that off of the 3.3V logic that a pi uses. You won't find very many power MOSFETs that you can do that with, so you're going to need an alternative. There are two ways around this:
- James_S's suggestion, using a power BJT. This requires only that transistor plus one resistor. The downside is that it's a fair bit less efficient, which means you'll probably need a heatsink.
- The way I'd do it, using a lower-power N-channel MOSFET (BS170 is my usual, but there are tens of suitable parts), plus a100K pull-up resistor. Or a 10K, if you're doing PWM for brightness. This needs your power MOSFET, plus one resistor and one tiny MOSFET. Or JFET, if you prefer. If looks like this:
https://qph.ec.quoracdn.net/main-qimg-0e019b585d33260588d876b365959fc4-c?convert_to_webp=trueYou can get gate driver ICs, but for this application that would be a silly level of overkill. You only need those if you are switching at high frequency for something like a switch mode power supply.