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

    6XD I/O >> Issue solved

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    121
    5.2k
    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.
    • tecnoundefined
      tecno @droftarts
      last edited by

      @droftarts

      No need for enable as I see it. 6XD is a very nice controller.

      Now I have to sort out further I/O

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

        @tecno you only need the Enable connections to the drivers if you want the Duet to be able to turn off the motor current. If you leave them disconnected, the motors will be energized whenever power is applied to the drivers.

        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

        tecnoundefined 1 Reply Last reply Reply Quote 0
        • tecnoundefined
          tecno @dc42
          last edited by

          @dc42
          @droftarts

          Just finished cable from 8 LED circular strip from
          Ali DC5V WS2812B Led Ring 5050 RGB Individul AddressabIe Round Lights Module 3Pin Black White PCB 8 16 24 35 45 Pixels BuiIt-in IC

          Only one led lights up so my question is my settings OK?

          M950 E0 C"led" Q3000000
          M150 E0 R255 P128 S20 F1

          Cheers
          Bengt

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @tecno
            last edited by

            @tecno In M150, the F parameter tells the firmware what to do next:

            Fn Following command action. F0 (default) means this is the last command for the LED strip, so the next M150 command starts at the beginning of the strip. F1 means further M150 commands for the remainder of the strip follow this one.

            So you need F0 to finish and send the command, eg:
            M150 E0 R255 P128 S20 F0
            This should set LED string 0 (E0) to 255 Red (R255) at brightness 128 (P128), 20 LEDs (S20 you only have 8 but doesn't matter) and no more commands (F0).

            If the first LED is getting stuck on red or another colour, or you can't control any of the LEDs, what firmware version are you using?

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            tecnoundefined 1 Reply Last reply Reply Quote 0
            • tecnoundefined
              tecno @droftarts
              last edited by

              @droftarts
              Duet Web Control 3.5.1

              Yes it is stuck on one LED no color change

              droftartsundefined 1 Reply Last reply Reply Quote 0
              • droftartsundefined
                droftarts administrators @tecno
                last edited by

                @tecno RepRapFirmware 3.5.1 as well? Please update to 3.5.3 (RRF and DWC) and test, there have been some fixes for LEDs. https://github.com/Duet3D/RepRapFirmware/releases/tag/3.5.3

                This was a fix in 3.5.2:

                [Duet 3 MB6HC] [Duet 3 MB6XD] When a Neopixel LED strip was configured on a part other than the LED port, the first LED in the strip sometimes had the wrong colour (issue 996). This was a new bug in RRF 3.5.0.

                It could also be the M950 Q parameter. We say:

                The Qnn parameter sets the LED clock frequency. This is 4x the bit rate. Most datasheets for LEDs (at least SK6812 and WS2812B based LEDs) suggest a maximum data rate of 800Kbps, so 800000 * 4 = 3200000. The default of 3000000 appears to work well with most LEDs.

                So try M950 E0 C"led" Q3200000, and M950 E0 C"led" Q2800000, but after you have updated the firmware.

                Also, check your wiring!

                Ian

                Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                tecnoundefined 1 Reply Last reply Reply Quote 0
                • tecnoundefined
                  tecno @droftarts
                  last edited by

                  @droftarts

                  Wires OK

                  Same lonly LED

                  Sanity check

                  PXL_20240926_153206096.jpg PXL_20240926_153147366.jpg

                  droftartsundefined 1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @tecno
                    last edited by

                    @tecno I've just tested it on a 6HC, on RRF 3.5.1, and it's working for a 7-segment LED strip. All light up correctly. The fix in 3.5.2 was if you were using IO ports for LEDs. I don't have a 6XD to test, but it should be exactly the same as 6HC.

                    Can you send M115 and post the response?
                    Can you post a picture of the other side of the neopixel ring?
                    Also, I'm not sure using the uninsulated wire as the high frequency data line is a good idea! Most likely it has higher resistance than a 'normal' wire, and may not be transmitting the signal effectively. Use a different wire.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    tecnoundefined 1 Reply Last reply Reply Quote 0
                    • tecnoundefined
                      tecno @droftarts
                      last edited by

                      @droftarts

                      m115
                      FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6XD FIRMWARE_VERSION: 3.5.3 ELECTRONICS: Duet 3 MB6XD v1.01 FIRMWARE_DATE: 2024-09-18 11:27:56

                      PXL_20240926_160729457.jpg

                      This cable is a HQ Audio twisted pair with foil shield. Change White to shield.

                      droftartsundefined 1 Reply Last reply Reply Quote 0
                      • droftartsundefined
                        droftarts administrators @tecno
                        last edited by

                        @tecno Ah, that looks like an RGBW ring. Try

                        M950 E0 C"led" Q3000000 T2
                        M150 E0 R255 P128 S20 F0
                        

                        M950 T2 tells RRF that it's RGBW, not RGB.

                        Ian

                        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                        tecnoundefined 1 Reply Last reply Reply Quote 0
                        • tecnoundefined
                          tecno @droftarts
                          last edited by tecno

                          @droftarts

                          Same same

                          Will change LED ring to one with black PCB board. This a job for torrow ๐Ÿ˜‰

                          tecnoundefined 1 Reply Last reply Reply Quote 0
                          • tecnoundefined
                            tecno @tecno
                            last edited by

                            @droftarts

                            Morning Ian,

                            Changed LED strip and only 1 of 8 is working on this one too.

                            M950 E0 C"led" Q3000000 T2
                            M150 E0 R255 P128 S20 F0

                            Any suggestions?

                            Cheers
                            Bengt

                            droftartsundefined 1 Reply Last reply Reply Quote 0
                            • droftartsundefined
                              droftarts administrators @tecno
                              last edited by

                              @tecno I've just tested both RGB and RGBW LEDs on my 6HC, both worked without issue. I've asked someone with a 6XD to test.

                              Can you post a link to the white LED ring you bought? And post a picture of the current wiring?

                              Ian

                              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                              tecnoundefined 1 Reply Last reply Reply Quote 0
                              • tecnoundefined
                                tecno @droftarts
                                last edited by

                                @droftarts

                                https://vi.aliexpress.com/item/1005002313192735.html?spm=a2g0o.order_list.order_list_main.11.364b1802NFG3VP&gatewayAdapt=glo2vnm

                                Both white and ยดblach PCB 8 LEDS

                                Wiring https://forum.duet3d.com/post/345489

                                gloomyandyundefined droftartsundefined 2 Replies Last reply Reply Quote 0
                                • gloomyandyundefined
                                  gloomyandy @tecno
                                  last edited by

                                  @tecno Shouldn't the control signal be going to d0 and not to d1?

                                  tecnoundefined 1 Reply Last reply Reply Quote 0
                                  • tecnoundefined
                                    tecno @gloomyandy
                                    last edited by

                                    @gloomyandy

                                    As I understand is 6XD D0 out goes to Di in.

                                    gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                    • droftartsundefined
                                      droftarts administrators @tecno
                                      last edited by droftarts

                                      @tecno Those do look like RGB LEDs, looking closer. Though they should light up, just with the wrong colours, if you put the wrong T parameter in M950.

                                      I thought you said you had changed the wire over? @tecno said in 6XD I/O >> Issue solved:

                                      Change White to shield.

                                      On each LED, there is a corner 'notch' to indicate which pin is GND. Can you check continuity of GND, DI and 5V from the LED pins to the connector?
                                      7174cb7c-7d74-4af1-ad7f-e8ec910e7952-image.png

                                      @gloomyandy It's DI for Digital In, DO is Digital Out, where it passes the signal on to the next one. Mine are labelled and wired like that.

                                      Ian

                                      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                                      1 Reply Last reply Reply Quote 0
                                      • gloomyandyundefined
                                        gloomyandy @tecno
                                        last edited by

                                        @tecno This has nothing to do with the 6XD I'm talking about the pads on the LED ring, there is a D0 and a D1. Your wiring here: https://forum.duet3d.com/post/345489 shows it going to D1 I think it should go to D0. It seems very odd to me to have the input labelled D1 and the output labelled D0.

                                        gloomyandyundefined 1 Reply Last reply Reply Quote 0
                                        • gloomyandyundefined
                                          gloomyandy @gloomyandy
                                          last edited by

                                          Ah yes that may be Din and Dout I suppose. Oh well good luck!

                                          tecnoundefined 1 Reply Last reply Reply Quote 0
                                          • tecnoundefined
                                            tecno @gloomyandy
                                            last edited by

                                            @droftarts
                                            So now I changed White to signal and Shield is now 5V

                                            PXL_20240927_114529176.jpg

                                            So now we are getting closer ๐Ÿ™‚

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