• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

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

Scheduled Pinned Locked Moved
Duet Hardware and wiring
4
13
3.3k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    AndreS
    last edited by 2 Jun 2018, 11:13

    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.

    undefined 1 Reply Last reply 2 Jun 2018, 14:13 Reply Quote 0
    • undefined
      Hergonoway @AndreS
      last edited by Hergonoway 6 Feb 2018, 14:16 2 Jun 2018, 14:13

      @andres

      So after further research on the web, I ended by drawing this (schema per led) :
      alt text

      I'm not a specialist in mosfet but I came by these 2 refs, should they do the job ? (based on your previous comment) :

      • https://www.conrad.com/ce/en/product/156110/MOSFET----STMicroelectronics----STP16NF06L----1----Canal-N----45
      • https://www.conrad.com/ce/en/product/161166/MOSFET----Infineon-Technologies----IRLB8721PBF----1----Canal-N

      Delta goes BrrrRRRRrrrrrRRRRrrr

      1 Reply Last reply Reply Quote 0
      • undefined
        AndreS
        last edited by 3 Jun 2018, 12:41

        I think the 2nd one will be more than adequate.

        1 Reply Last reply Reply Quote 1
        • undefined
          Hergonoway
          last edited by 3 Jun 2018, 17:51

          Thanks I'll give a shot and I'll post results there.

          Delta goes BrrrRRRRrrrrrRRRRrrr

          1 Reply Last reply Reply Quote 0
          • undefined
            dc42 administrators
            last edited by 6 Jun 2018, 10:25

            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.

            Duet WiFi hardware designer and firmware engineer
            Please do not ask me for Duet support via PM or email, use the forum
            http://www.escher3d.com, https://miscsolutions.wordpress.com

            undefined 1 Reply Last reply 6 Jun 2018, 21:32 Reply Quote 0
            • undefined
              Hergonoway @dc42
              last edited by 6 Jun 2018, 21:32

              @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?

              Delta goes BrrrRRRRrrrrrRRRRrrr

              1 Reply Last reply Reply Quote 0
              • undefined
                dc42 administrators
                last edited by 7 Jun 2018, 12:42

                How much current will the LED strip draw?

                Duet WiFi hardware designer and firmware engineer
                Please do not ask me for Duet support via PM or email, use the forum
                http://www.escher3d.com, https://miscsolutions.wordpress.com

                1 Reply Last reply Reply Quote 0
                • undefined
                  Hergonoway
                  last edited by Hergonoway 6 Jul 2018, 20:12 7 Jun 2018, 19:33

                  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

                  Delta goes BrrrRRRRrrrrrRRRRrrr

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by dc42 6 Jul 2018, 20:44 7 Jun 2018, 20:43

                    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.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    undefined 1 Reply Last reply 7 Jun 2018, 21:32 Reply Quote 0
                    • undefined
                      Hergonoway @dc42
                      last edited by 7 Jun 2018, 21:32

                      @dc42

                      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!

                      Delta goes BrrrRRRRrrrrrRRRRrrr

                      1 Reply Last reply Reply Quote 1
                      13 out of 13
                      • First post
                        13/13
                        Last post
                      Unless otherwise noted, all forum content is licensed under CC-BY-SA