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

    Setup Duex2

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    14
    1.6k
    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.
    • DK90undefined
      DK90
      last edited by

      Hello,
      I have the duet Wifi + the duex 2 and i would like to controll RGB LED over the LED/Fan Port.

      When i add „M106 P3“ for example in the Config, there is No reaction.

      The led is still of. I have also connected an Fan on Fan-Port3, at the duex. But the Fan dosen‘t work, too.

      In the DWC, the duex is recognized.

      Can someone help me ?
      Thanks.

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

        M106 P3 Sxxx where xxx is the value between 0 and 256 or 0.00 and 1.00

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M106_Fan_On

        www.duet3d.com

        1 Reply Last reply Reply Quote 0
        • DK90undefined
          DK90
          last edited by

          Thank your for your replay, with "M106 P3 S1 or S255" it also dosent work. Do i have to edit something els in the config, for steup the duex?

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

            There is a VFAN jumper block on the DueX. What position do you have the jumper in? If your LEDs are 12V and your VIN is also 12V, put it in the VIN position. If your LEDs are 12V and your VIN is 24V, put it in the 12V position and also put a jumper on the separate 12V_EN pins.

            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

            DK90undefined 1 Reply Last reply Reply Quote 0
            • DK90undefined
              DK90
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • DK90undefined
                DK90 @dc42
                last edited by

                @dc42
                Ok, the Jumper was one Problem, with a fan on the port it works sometimes. In my config i have ";Duex fan/LED
                M106 P3 S1" but why i works sometimes after a reboot and sometime not?

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

                  try sending control signals for the console as a test to see how your led array responds to being turned on and off with M106

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • DK90undefined
                    DK90
                    last edited by DK90

                    Okay, but how can i do this ? And it is also by an installed fan not only by the led. Sometimes the fan and the led works and sometimes not. Than i have to restart the board 2 or 3 times and the it works until the next start

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

                      @dk90 i mean with either a FAN or LED plugged in go to the console page and enter:

                      M106 P3 S1
                      M106 P3 S0
                      M106 P3 S0.5

                      etc to see what happens and confirm that its working as expected, before putting it into your config.g

                      www.duet3d.com

                      DK90undefined 1 Reply Last reply Reply Quote 0
                      • DK90undefined
                        DK90 @T3P3Tony
                        last edited by

                        @t3p3tony Ah ok, but with the commands in the console, if have the same problem. Somtimes it works and sometimes it dosen´t works, than i have to restart the duet and then it works, until the next restart.

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

                          It sounds like the I2C initialisation of the DueX2 after reset may not always be working. Do you have a short thick ground wire between the VIN- terminal of the Duet and VIN- on the DueX2, as described in the instructions on the wiki?

                          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

                          DK90undefined 1 Reply Last reply Reply Quote 0
                          • DK90undefined
                            DK90 @dc42
                            last edited by DK90

                            @dc42 Do you mean an extra ground wire? I have VIN- and Vin +, connected to the Duet WIFI and Duex2. VIN+ and VIN - are from the same power supply.

                            I have change the wiring. I thing now it is ok.Thank you

                            I have an other question.

                            I want to iluminate the printer, with the led´s. Eg, the hotend is on, Led ->red, the hotend is cold-> LED blue. Can i make this with M106 and thermostatic control or shoud i use the M42 command?

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

                              @dk90 said in Setup Duex2:

                              @dc42 Do you mean an extra ground wire? I have VIN- and Vin +, connected to the Duet WIFI and Duex2. VIN+ and VIN - are from the same power supply.

                              I have change the wiring. I thing now it is ok.Thank you

                              I have an other question.

                              I want to iluminate the printer, with the led´s. Eg, the hotend is on, Led ->red, the hotend is cold-> LED blue. Can i make this with M106 and thermostatic control or shoud i use the M42 command?

                              Yes you could do it using thermostatic control. Use one fan output to drive the blue LEDs and set it to normal thermostatic control over a range of temperatures. Do the same for the fan channel driving the red LEDs but use the I1 parameter to invert the PWM.

                              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

                              DK90undefined 1 Reply Last reply Reply Quote 0
                              • DK90undefined
                                DK90 @dc42
                                last edited by

                                @dc42 Thank you, now it works 😉

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