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 @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
                                  • Karimundefined
                                    Karim @Karim
                                    last edited by Karim

                                    Got it working, you don't need a level shifter, 3.3v works for the signal, it's only 3 neopixel

                                    M150 X4
                                    M150 W255 P255
                                    

                                    Screenshot 2022-10-26 100843.jpg

                                    C3DD57B3-8DC1-4601-ADEA-A92359989D82.jpeg

                                    elmoretundefined dc42undefined 2 Replies Last reply Reply Quote 1
                                    • elmoretundefined
                                      elmoret @Karim
                                      last edited by

                                      @Karim

                                      Minimum signal level for a Neopixel is 0.7xVdd, so while you might be getting lucky that it works (in this moment, at least), saying a level shifter is not needed is incorrect.

                                      1 Reply Last reply Reply Quote 0
                                      • dc42undefined
                                        dc42 administrators @Karim
                                        last edited by

                                        @Karim see https://learn.adafruit.com/neopixel-levelshifter for information on Neopixels and 3.3V logic levels.

                                        There is a newer type of Neopixel LED called the WS2812B-V5 which is specified to accept 3.3V signal levels when using a 5V supply, but they are not easy to find yet.

                                        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

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

                                          @dc42 Thank You

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