Neopixels running off Duet 2 or 3 + 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.
-
@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.
-
@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.
-
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
-
@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
Will this drive my 178 RGBW neopixel strip?
-
@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
Sorry jumped the gun there didn’t read the link just thought you’d created something also.
-
@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.
-
@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.
-
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
-
@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.