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

    Neopixels running off Duet 2 or 3 + sbc.

    Scheduled Pinned Locked Moved
    General Discussion
    4
    11
    700
    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.
    • carcamerarigundefined
      carcamerarig
      last edited by carcamerarig

      Does anyone have an elegant solution for running Neopixels from a sbc with duet sending printer state status updates?

      Cheers J

      keyz182undefined 1 Reply Last reply Reply Quote 0
      • keyz182undefined
        keyz182 @carcamerarig
        last edited by

        @carcamerarig https://github.com/keyz182/DuetLEDProgress

        I wrote this for my needs. It's limited in functionality, basically progress, and a couple of status LEDs at the end of the strip. That said, if you can at all code, it should be trivial to modify to your own needs. Its got the code for interacting with DSF on the SBC, and code for driving the LEDs, all you need to do is add the glue/logic.

        If you can't code, feel free to make a request for a new feature, but I can't promise I'll have time to implement any time soon I'm afraid.

        carcamerarigundefined Nuramoriundefined 2 Replies Last reply Reply Quote 2
        • carcamerarigundefined
          carcamerarig @keyz182
          last edited by

          @keyz182 said in Neopixels running off sbc.:

          @carcamerarig https://github.com/keyz182/DuetLEDProgress

          I wrote this for my needs. It's limited in functionality, basically progress, and a couple of status LEDs at the end of the strip. That said, if you can at all code, it should be trivial to modify to your own needs. Its got the code for interacting with DSF on the SBC, and code for driving the LEDs, all you need to do is add the glue/logic.

          If you can't code, feel free to make a request for a new feature, but I can't promise I'll have time to implement any time soon I'm afraid.

          Amazing, ill go check it out. Thanks.

          1 Reply Last reply Reply Quote 0
          • Nuramoriundefined
            Nuramori @keyz182
            last edited by

            @keyz182 said in Neopixels running off sbc.:

            @carcamerarig https://github.com/keyz182/DuetLEDProgress

            I wrote this for my needs. It's limited in functionality, basically progress, and a couple of status LEDs at the end of the strip. That said, if you can at all code, it should be trivial to modify to your own needs. Its got the code for interacting with DSF on the SBC, and code for driving the LEDs, all you need to do is add the glue/logic.

            If you can't code, feel free to make a request for a new feature, but I can't promise I'll have time to implement any time soon I'm afraid.

            Is this code for a RPi? It didn’t look like it, but love the idea. I have been looking for this kind of project, to also drive neopixel rings to visually indicate hotend temp and bed temp.

            keyz182undefined 1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by Phaedrux

              There are a few other third part software and hardware projects here: https://duet3d.dozuki.com/c/Community_Projects

              I'll have to add DuetLEDProgress. @keyz182

              https://github.com/keyz182/DuetLEDProgress

              Z-Bot CoreXY Build | Thingiverse Profile

              carcamerarigundefined 2 Replies Last reply Reply Quote 1
              • carcamerarigundefined
                carcamerarig @Phaedrux
                last edited by

                @Phaedrux said in Neopixels running off sbc.:

                There are a few other third part software and hardware projects here: https://duet3d.dozuki.com/c/Community_Projects

                I'll have to add DuetLEDProgress. @keyz182

                https://github.com/keyz182/DuetLEDProgress

                Will this drive my 178 RGBW neopixel strip?

                1 Reply Last reply Reply Quote 0
                • carcamerarigundefined
                  carcamerarig @Phaedrux
                  last edited by

                  @Phaedrux said in Neopixels running off sbc.:

                  There are a few other third part software and hardware projects here: https://duet3d.dozuki.com/c/Community_Projects

                  I'll have to add DuetLEDProgress. @keyz182

                  https://github.com/keyz182/DuetLEDProgress

                  Sorry jumped the gun there didn’t read the link just thought you’d created something also.

                  1 Reply Last reply Reply Quote 0
                  • keyz182undefined
                    keyz182 @Nuramori
                    last edited by

                    @Nuramori Yup, I have it running on an RPi. The primary SDK for DSF (from what I can tell) is DotNet, so just went with C# as that's what I knew.

                    I believe the instructions should work on a standard SBC build on a pi, but as I wrote this purely for my needs (well, wants, I dont need an led strip progress indicator 😛 ) it's only tested on my specific setup. So YMMV.

                    Nuramoriundefined 1 Reply Last reply Reply Quote 1
                    • Nuramoriundefined
                      Nuramori @keyz182
                      last edited by

                      @keyz182 thanks for the info. Perhaps I’m just being my normal dumb self, but could you briefly describe how to install it on an RPi? I would love to tinker with it.

                      keyz182undefined 1 Reply Last reply Reply Quote 0
                      • keyz182undefined
                        keyz182 @Nuramori
                        last edited by

                        @Nuramori

                        Download the zip from here - https://github.com/keyz182/DuetLEDProgress/releases
                        Extract to /opt/LEDProgress.
                        Test with /opt/LEDProgress/LEDProgress --help
                        Figure out the arguments that work for you. Important ones are -p to say which GPIO the LEDs are on. I think only 12 is supported though by the underlying library, as the Pi uses the other pin it can use. -c to specify the number of LEDs you have. --status will set aside the last few LEDs to show statuses.

                        Copy /opt/LEDProgress/ledprogress.service to /etc/systemd/service/. Edit it with the appropriate arguments.
                        Run these to make it start at boot:

                        sudo systemctl daemon-reload
                        sudo systemctl enable ledprogress
                        sudo systemctl start ledprogress
                        
                        1 Reply Last reply Reply Quote 1
                        • carcamerarigundefined
                          carcamerarig
                          last edited by

                          @dc42 Could you give me a path to follow on what I need to do make the Neopixels run off the sbc, ill find a local coder to do the job for me.

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