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

    How to wire / setup Neopixel on the Duet 2 Wifi?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    7
    22
    2.4k
    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.
    • dc42undefined
      dc42 administrators @TheBasedDoge
      last edited by

      @thebaseddoge said in How to wire / setup Neopixel on the Duet 2 Wifi?:

      @dc42 Thanks, I see it now. i will try it out 🙂 Is the limit 80 LEDs on the Duet 2? With external power?

      The limit on Duet 2 is currently 60 RGB LEDs or 45 RGBW LEDs.

      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

      TheBasedDogeundefined zaptaundefined 2 Replies Last reply Reply Quote 0
      • TheBasedDogeundefined
        TheBasedDoge @dc42
        last edited by

        @dc42 So i tried today to wire it up, but no luck. I use this level shifter: https://www.amazon.com/gp/product/B07LG646VS/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1

        is this incompatible?

        alankilianundefined 1 Reply Last reply Reply Quote 0
        • alankilianundefined
          alankilian @TheBasedDoge
          last edited by

          @thebaseddoge How did you wire up that level shifter?

          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

          TheBasedDogeundefined 1 Reply Last reply Reply Quote 0
          • TheBasedDogeundefined
            TheBasedDoge @alankilian
            last edited by

            @alankilian

            GND from pin 2 on CONN_LCD > GND on the level shifter > into the GND on the neopixel
            Pin 5 on CONN LCD > LV3 on level shifter > DI on neopixel
            5v from duet > into 5v on neopixel

            alankilianundefined 1 Reply Last reply Reply Quote 0
            • alankilianundefined
              alankilian @TheBasedDoge
              last edited by

              @thebaseddoge I think you have to run 3.3 Volts to the LV pin on the level shifter.

              Also, connect the HV ground to the LV ground.

              There's a schematic in the comments section at: https://www.amazon.com/gp/product/B07LG646VS/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1

              Also, people have said they couldn't get Neopixels running using this.

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              TheBasedDogeundefined 1 Reply Last reply Reply Quote 0
              • TheBasedDogeundefined
                TheBasedDoge @alankilian
                last edited by

                @alankilian i went through the comments but I don't see a schematic

                are you saying i need to put both 3.3v and pin 5 into the LV pin on the level shifter? because i currently have pin 5 > lv > hv> LEDs

                The ground goes from the duet > ground on the level shifter > ground on the strip

                alankilianundefined 1 Reply Last reply Reply Quote 0
                • alankilianundefined
                  alankilian @TheBasedDoge
                  last edited by

                  @thebaseddoge Here's a picture from your link showing how to connect 3.3 Volt, 5 Volts, Ground, your signal from the Duet and your signal to the LED string.

                  However, people in the comments say this device does not work with their LED strings, so you might not be able to get it working either.

                  Capture.PNG

                  SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                  dc42undefined TheBasedDogeundefined 2 Replies Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @alankilian
                    last edited by

                    A faster level shifter would be one quarter of a 74HCT08 quad gate. Connect both the inputs of the gate to the Duet output, and connect the gate output to the Neopixels. Power the 74HCT08 from +5V and ground. It's good practice to connect the unused inputs the other 3 gates to ground.

                    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

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • TheBasedDogeundefined
                      TheBasedDoge @alankilian
                      last edited by

                      @alankilian Yeah it didn't work. I will order the 74HCT08 and try again

                      1 Reply Last reply Reply Quote 0
                      • tekstyleundefined
                        tekstyle @TheBasedDoge
                        last edited by

                        @thebaseddoge
                        Can you Share the source of the sketch you used for your arduino?

                        A Former User? 1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User @tekstyle
                          last edited by

                          @tekstyle said in How to wire / setup Neopixel on the Duet 2 Wifi?:

                          @thebaseddoge
                          Can you Share the source of the sketch you used for your arduino?

                          I'm interested too!

                          1 Reply Last reply Reply Quote 0
                          • A Former User?
                            A Former User @dc42
                            last edited by A Former User

                            @dc42 said in How to wire / setup Neopixel on the Duet 2 Wifi?:

                            74HCT08

                            Just for confimation, you mean that I have to connect the AND input to the Duet and the related AND out to adafruit, right? It's not clear for me if an Arduino is needed or not....in case how to interface it with the Duet?

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • dc42undefined
                              dc42 administrators @A Former User
                              last edited by

                              @thedragonlord you don't need the Arduino if you use firmware 3.3 and the level shifter. However, there is the limitation that on Duet 2 the print will be suspended for small fraction of a second whenever you use M150 to change the colours. So if you change the colours frequently while the machine is printing, then print quality could be affected.

                              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

                              A Former User? 1 Reply Last reply Reply Quote 0
                              • A Former User?
                                A Former User @dc42
                                last edited by A Former User

                                @dc42 said in How to wire / setup Neopixel on the Duet 2 Wifi?:

                                @thedragonlord you don't need the Arduino if you use firmware 3.3 and the level shifter. However, there is the limitation that on Duet 2 the print will be suspended for small fraction of a second whenever you use M150 to change the colours. So if you change the colours frequently while the machine is printing, then print quality could be affected.

                                Uh ok....well, for now I wanted to use the RGBW ring (not strip) just to make a sort of "progress bar" for the heating before printing...I was als thinking to use it during the print to make always a sort of progress bar for the printing process but I have to study the object browser to see what information are available...I was thinking to base the progress on the actual layer number/total layers number but I still don't know if and where those informations are available...in any case I'll change colors only once per layer group..My rgbw ring has 24 LEDs so any LED would represent the 4,17% of the whole...

                                dc42undefined 1 Reply Last reply Reply Quote 0
                                • dc42undefined
                                  dc42 administrators @A Former User
                                  last edited by

                                  @thedragonlord if you can arrange to change the colours while the filament is retracted, perhaps in a layer change script, then there should be no impact on print quality.

                                  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

                                  A Former User? 1 Reply Last reply Reply Quote 0
                                  • A Former User?
                                    A Former User @dc42
                                    last edited by

                                    @dc42 said in How to wire / setup Neopixel on the Duet 2 Wifi?:

                                    @thedragonlord if you can arrange to change the colours while the filament is retracted, perhaps in a layer change script, then there should be no impact on print quality.

                                    yes, that's exactly what I meant to do, thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • zaptaundefined
                                      zapta @dc42
                                      last edited by

                                      @dc42, is it OK to Have two 60 led stripes fed in parallel from the duet signal out? Or any other serial / parallel "tree"?

                                      dc42undefined 1 Reply Last reply Reply Quote 0
                                      • mattyoundefined
                                        mattyo
                                        last edited by

                                        Would some one be able to give me a simple diagram on how to wire a 74HCT08 I am a noob with electronics at this level. I would really appreciate some guidance. I won’t to hook up some neo pixels to a duet wifi. But I have no idea how to use a level shifter. Thanks very much Matt.

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

                                          @zapta said in How to wire / setup Neopixel on the Duet 2 Wifi?:

                                          @dc42, is it OK to Have two 60 led stripes fed in parallel from the duet signal out? Or any other serial / parallel "tree"?

                                          Yes, assuming your have sufficient 5V power to run both strips.

                                          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
                                          • First post
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA