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

    Problem with LED STRIP APA102 on DUET 6HC

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    15
    296
    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.
    • jay_s_ukundefined
      jay_s_uk @Makoaaaa
      last edited by

      @Makoaaaa update to 3.5.4. this was fixed in 3.5.2

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

      Makoaaaaundefined 1 Reply Last reply Reply Quote 0
      • Makoaaaaundefined
        Makoaaaa @jay_s_uk
        last edited by

        @jay_s_uk Thanks, I will try tomorow.

        Makoaaaaundefined 1 Reply Last reply Reply Quote 0
        • Makoaaaaundefined
          Makoaaaa @Makoaaaa
          last edited by

          @jay_s_uk I've tried, but it doesn't work. I don't understand why, can I try with other pins to find out if the problem is with the duet motherboard or the led strip?

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @Makoaaaa
            last edited by jay_s_uk

            @Makoaaaa ok, looking at this again your config is wrong

            M950 E0 C"led" T1 Q3000000

            T1 is incorrect for a dotstar strip, it should be T0. See here https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m950-create-heater-fan-spindle-led-strip-or-gpioservo-pin

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            Makoaaaaundefined 2 Replies Last reply Reply Quote 1
            • Makoaaaaundefined
              Makoaaaa @jay_s_uk
              last edited by

              @jay_s_uk oh yes thank you, i will try this.

              1 Reply Last reply Reply Quote 0
              • Makoaaaaundefined
                Makoaaaa @jay_s_uk
                last edited by

                @jay_s_uk I'm reaching out to you again because I've tried many things, but I still can't get this LED strip to work.

                First, I replaced T1 with T0, but it made no difference. Then, I tried powering the 5V only from the Duet and later tried connecting GND only to the Duet and then only to the 5V power supply.

                I also tried swapping the Data and Clock connections, and finally, I repeated all these tests on the other end of the LED strip.

                Additionally, I made sure my board is properly updated to firmware version 3.5.4 using the M115 command.

                At this point, I don’t know what else to try. Any help would be greatly appreciated.

                Thanks in advance!

                jay_s_ukundefined dc42undefined 2 Replies Last reply Reply Quote 0
                • jay_s_ukundefined
                  jay_s_uk @Makoaaaa
                  last edited by

                  @Makoaaaa I don't have a dotstar to try this with.
                  Can you post your latest config again?
                  then we can ask one of the duet team to take a look

                  Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

                    @Makoaaaa for testing you can power the LED strip from the Duet, but don't turn on more than about 10 LEDs at once. That's probably easiest to start with, then you can switch to external PSU when you have it working.

                    If you use an external PSU for the LEDs then you need to connect the grounds (i.e. negative output terminals) of both the Duet PSU and the LED PSU together. To avoid ground noise caused by the stepper motors, best to do this by connecting GND on the LED output to both your LED strip and the negative output terminal of the LED PSU.

                    Please post photos showing how you have connected the LED strip to the DS connector, and post your current config.g file.

                    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

                    Makoaaaaundefined 1 Reply Last reply Reply Quote 0
                    • Makoaaaaundefined
                      Makoaaaa @dc42
                      last edited by

                      @dc42 @jay_s_uk Thank you for your messages.

                      I modified my firmware to light up only the first five LEDs, but unfortunately, it still doesn’t work. I tried this setup both using only the Duet and with the 5V power supply, but neither worked.

                      I am attaching my full machine configuration file, as well as some pictures of the setup, both with only the Duet and with the external 5V power supply.

                      Thanks in advance!

                      1 Reply Last reply Reply Quote 0
                      • Makoaaaaundefined
                        Makoaaaa
                        last edited by

                        config.g IMG_20250219_183559.jpg IMG_20250219_183246.jpg IMG_20250219_183608.jpg

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

                          @Makoaaaa I think the arrows on the LED strip point from the first LED in the chain to the last one. In which case, you are driving the wrong end of the strip.

                          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

                          Makoaaaaundefined 1 Reply Last reply Reply Quote 0
                          • Dad003undefined
                            Dad003
                            last edited by

                            Other option is to wire these directly to the psu . Personally I use similar led strip but I wired mine directly to the psu .

                            Makoaaaaundefined 1 Reply Last reply Reply Quote 0
                            • Makoaaaaundefined
                              Makoaaaa @dc42
                              last edited by

                              @dc42 I tried with the 2 parts of the LED strip

                              1 Reply Last reply Reply Quote 0
                              • Makoaaaaundefined
                                Makoaaaa @Dad003
                                last edited by

                                thanks, but this LED needs data and clock to start. So I can power the LED with the power supply but I also need the clock and data with the duet

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