RBGW Led + Duet Wifi (PWM pin or alternative board)
-
Thanks for your reply, so basically there no mofset behind these pins.
So for example for blue Led I should do this : (sorry I'm currently on my mobile :))
[24v source]---[24vMainledpin]---[ledBlueWithR]---[ledBlueGNDpin]---[dpinFET]---[gpinFETtoHeaterPin]---[spinFET]---[GND]
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?
-
Signal voltage is 3,3V.
You need so called 'logic level' mosfets.
Make sure the Rds-on at 3,3V is low enough, so that at your desired current the power dissipation in the mosfet is low enough. -
So after further research on the web, I ended by drawing this (schema per led) :
I'm not a specialist in mosfet but I came by these 2 refs, should they do the job ? (based on your previous comment) :
-
I think the 2nd one will be more than adequate.
-
Thanks I'll give a shot and I'll post results there.
-
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.
-
@dc42 thanks for the input I'll add a 1K has you suggest (sorry for ASCII art :)) :
[duet pin]
|
L__[1K]---[gate]
L__[10K]---[-V]Could you suggest a more suitable mofset in my case?
-
How much current will the LED strip draw?
-
There's no indication on the box...
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.
-
Almost sorry for my awfully dense explanation (I'm French)
White led draw 60mA on 1/6 of a meter (on a strip of 10 led out of 60) so we can say 360mA per meter and as you understood each color draw 1/3 of that so 120mA per color per meter.
So I'll stick with my initial choice with your recommendation about resistor. I'll post a picture once done
Thanks again!