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

    5v to power my Neopixel from Duet 2 wifi

    Scheduled Pinned Locked Moved
    General Discussion
    5
    24
    1.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.
    • Karimundefined
      Karim
      last edited by Karim

      Hey guys how do I get 5v from my duet 2 wifi or duex5 to power my 5v led light for my stealthburner . Below is the led it has three wire.

      9447DC68-12E5-4F48-975C-5CBFDDAB0359.webp

      T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
      • T3P3Tonyundefined
        T3P3Tony administrators @Karim
        last edited by

        @Karim what are specs of the LEDs - do you have any more information about the setup?

        www.duet3d.com

        Karimundefined 1 Reply Last reply Reply Quote 0
        • Karimundefined
          Karim @T3P3Tony
          last edited by

          @T3P3Tony Here is a photo of wiring.

          led wiring.jpg

          cosmowaveundefined T3P3Tonyundefined 2 Replies Last reply Reply Quote 0
          • cosmowaveundefined
            cosmowave @Karim
            last edited by cosmowave

            @Karim Do you know how much current the LED's needs?

            According to the docu, the limit is:
            5V current limit 2.0A total on 5V and 3.3v, including the internal current consumption (around 200-300mA), any PanelDue or other display, and any endstops/Z probes that draw significant power.

            Mankati FSXT+, DeltaTowerV2, E3D MS/TC

            1 Reply Last reply Reply Quote 0
            • T3P3Tonyundefined
              T3P3Tony administrators @Karim
              last edited by

              @Karim look like neopixels. The Duet3 mainboards have built in support for Neopixels. The Duet 2 boards need a level shifter for the data line:

              https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_Neopixel_DotStar

              www.duet3d.com

              Karimundefined 1 Reply Last reply Reply Quote 0
              • Karimundefined
                Karim @T3P3Tony
                last edited by Karim

                @T3P3Tony Support for NeoPixel strips on Duet 2 WiFi/Ethernet was added in RRF 3.3.

                A signal for controlling Neopixel strips can be output on pin 5 of the CONN_LCD connector provided that you do not have external stepper drivers connected to CONN_LCD. The signal level is 3.3V so you need to level shift it to 5V. A non-inverting 74HCT series gate or buffer such as 74HCT08 can be used to do this.

                RGB NeoPixels draw up to 60mA per LED. RGBW ones draw up to 80mA per LED. Therefore the Duet cannot provide enough power for an LED strip unless the number of LEDs in the strip is small (for example 16 RGB or 12 RGBW LEDs). For longer strips you must provide external 5V power to the strip.

                In firmware 3.3 the maximum supported number of Neopixel LEDs in a strip is 60 RGB LEDs. Firmware 3.4 and later support up to 60 RGBW LEDs or 80 RGB LEDs.

                What does this means.
                The signal level is 3.3V so you need to level shift it to 5V. A non-inverting 74HCT series gate or buffer such as 74HCT08 can be used to do this.

                cosmowaveundefined 1 Reply Last reply Reply Quote 0
                • cosmowaveundefined
                  cosmowave @Karim
                  last edited by

                  @Karim said in 5v to power my led from Duet.:

                  What does this means.
                  The signal level is 3.3V so you need to level shift it to 5V. A non-inverting 74HCT series gate or buffer such as 74HCT08 can be used to do this.

                  This means that the Duet has an output voltage of 3.3V, but neopixels needs 5V.
                  You need a level shifter to "adapt" the voltage between the two systems.

                  Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                  Karimundefined 1 Reply Last reply Reply Quote 0
                  • Karimundefined
                    Karim @cosmowave
                    last edited by Karim

                    @cosmowave is this what I need to get it working.
                    https://www.amazon.com/Fairchild-MM74HCT08N-74HCT08N-74HCT08-2-Input/dp/B07GQ5CJ2M/ref=sr_1_1_sspa?crid=2NZD4HLSWP0L9&keywords=74HCT08+quad+gate&qid=1666533478&sprefix=74hct08+quad+gate%2Caps%2C91&sr=8-1-spons&psc=1

                    cosmowaveundefined 1 Reply Last reply Reply Quote 0
                    • cosmowaveundefined
                      cosmowave @Karim
                      last edited by

                      @Karim Yes. I think this should work.

                      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                      Karimundefined 1 Reply Last reply Reply Quote 0
                      • Karimundefined
                        Karim @cosmowave
                        last edited by

                        @cosmowave ok how did I connect this, is there a diagrams for this .

                        cosmowaveundefined 1 Reply Last reply Reply Quote 0
                        • cosmowaveundefined
                          cosmowave @Karim
                          last edited by

                          @Karim Not a diagram, but some infos. Eventually it makes sense to read the infos about the duet3 connection and then the special infos about the Duet2...
                          https://docs.duet3d.com/en/User_manual/Connecting_hardware/IO_Neopixel_DotStar

                          Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                          Karimundefined 1 Reply Last reply Reply Quote 0
                          • Karimundefined
                            Karim @cosmowave
                            last edited by Karim

                            @cosmowave
                            Connecting NeoPixel strips to Duet 2 Wifi or Ethernet
                            Support for NeoPixel strips on Duet 2 WiFi/Ethernet was added in RRF 3.3.

                            A signal for controlling Neopixel strips can be output on pin 5 of the CONN_LCD connector provided that you do not have external stepper drivers connected to CONN_LCD. The signal level is 3.3V so you need to level shift it to 5V. A non-inverting 74HCT series gate or buffer such as 74HCT08 can be used to do this.

                            RGB NeoPixels draw up to 60mA per LED. RGBW ones draw up to 80mA per LED. Therefore the Duet cannot provide enough power for an LED strip unless the number of LEDs in the strip is small (for example 16 RGB or 12 RGBW LEDs). For longer strips you must provide external 5V power to the strip.

                            So Can I use the pin 5 of the CONN_LCD connector and the have a 5v external power supply.

                            cosmowaveundefined 1 Reply Last reply Reply Quote 0
                            • cosmowaveundefined
                              cosmowave @Karim
                              last edited by

                              @Karim Yes, that should work.
                              Pin5 of CONN_LCD is only the signal. For the signal you should insert your level shifter.
                              Don't forget to connect the GND's of your Duet and external power supply, else they are not on the same "level".

                              Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                              Karimundefined 1 Reply Last reply Reply Quote 0
                              • Karimundefined
                                Karim @cosmowave
                                last edited by Karim

                                @cosmowave Look at this photo .
                                Screenshot 2022-10-24 101641.jpg

                                cosmowaveundefined 1 Reply Last reply Reply Quote 0
                                • cosmowaveundefined
                                  cosmowave @Karim
                                  last edited by

                                  @Karim If your LED's don't need to much current it is ok to wire them directly on the CONN_LCD.
                                  Else you should use your external power supply.

                                  Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                  Karimundefined 1 Reply Last reply Reply Quote 0
                                  • Karimundefined
                                    Karim @cosmowave
                                    last edited by Karim

                                    @cosmowave it's just 3 neopixel for my tool head light.

                                    cosmowaveundefined 1 Reply Last reply Reply Quote 0
                                    • cosmowaveundefined
                                      cosmowave @Karim
                                      last edited by cosmowave

                                      @Karim said in 5v to power my led from Duet.:

                                      @cosmowave it's just 3 neopixel for my tool head light.

                                      Should be no problem...
                                      Don't forget the level shifter!

                                      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                      Karimundefined 1 Reply Last reply Reply Quote 0
                                      • Karimundefined
                                        Karim @cosmowave
                                        last edited by Karim

                                        @cosmowave this is where I am confuse, do I still need the level shifter. I am getting 5v +- and signal from the duet 2 Wi-Fi.

                                        cosmowaveundefined 1 Reply Last reply Reply Quote 0
                                        • cosmowaveundefined
                                          cosmowave @Karim
                                          last edited by

                                          @Karim The signal port has only 3.3V!

                                          Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                                          Karimundefined 1 Reply Last reply Reply Quote 0
                                          • Karimundefined
                                            Karim @cosmowave
                                            last edited by

                                            @cosmowave Thank you . I am waiting for the part.

                                            Karimundefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA