RBGW Led + Duet Wifi (PWM pin or alternative board)

I'm currently searching a way to use a RGBW led strip on my Duet Wifi and playing with it using M42. But after reading multiple posts on the forum, I'm not sur Ill be able to just with a Duet Wifi.

From what I understood on the Duet Wifi there's only 6 PWM pin/port capable :

Heater Bed

Heater E0

Heater E1

PWM FAN0

PWM FAN1

PWM FAN2

In my config which is quite standard, 2 PWM fan port are unavailable (one is for the heatsink fan, one is for cooling the hot end), and Heater Bed and E0 are used. So from my point of view it seems there's only one PWM fan port left, and Heater E1 that could be used (with M307)

I suppose I should search for an N-channel mofset that handle 30v of voltage and 1amp of current (not sure but 30-50 leds at 24v shouldn't eat more than that) but what about the gate? What the signal voltage coming from these heater pin?

I also recommend connecting a 1K resistor in series with the gate of the mosfet, to give the Duet some protection if the mosfet fails. The 10K resistor should be on the Duet side of that new resistor.

The IRLB8721 mosfet isn't really designed for 3.3V gate operation and would be a bad choice for a production board; but in practice for a 1-off it's likely to work, especially if the current drawn by the LED strip isn't very high.

I've got an RGB+W so there one led dedicated for white and a led module for RGB. 60 led (30 for white and 30 for RGB) per meter for 24v.

I've tested a portion of 10 led (My multimeter is in chinesium so it won't go further than 200mA in dc) on my multimeter set on 200m and I've got 58.7mA for white and around 19.7mA for each other color (so times 3 we're around 60mA, like the white one). So rounded up each led seems to draw 0.012Amp @24vdc. At 60 led per meter I've got 0,72Amp per meter so 3.6 Amp for the whole 5meter strip. I put the details in case of someone want to point out something I've missed

Since the white led draw the most I should consider that each mosfet (so for each R, G, B and W) should handle 1.8 Amp MAX for the whole led strip

If I understand you correctly, the white LEDs take 180mA per 1m and the other colours about 1/3 of that each. So to drive a 5m strip, each MOSFET will carry up to 0.9A for white and 0.3A for the others. The PMV40UN2 that we use to drive fans on the Duet would suffice. But they are SMD devices. If you want through hole MOSFETs, I suggest you stick with the IRLB8721.