Welcome! Log In Create A New Profile

Advanced

Third Neopixel LED strip

Posted by galmiklos 
Third Neopixel LED strip
August 17, 2025 05:14PM
Is it not possible to configure three Neopixel LED strips? Or did I just miss something?

I am running my Voron 2.4 with Marlin, and just upgraded my toolhead to Stealthburner, that has three RGB LEDs in it, forming a strip. I already use the first LED strip as case light, and the second for the display (FYSETC_MINI_12864_2_1).
Re: Third Neopixel LED strip
August 18, 2025 07:35AM
no. Marlin only supports two strips at this time.
Re: Third Neopixel LED strip
August 18, 2025 09:03AM
These neopixels are actually a PITA in the current implementation (ie bit banged), they have strict timing requirement that is in conficts with the primary function of the controller, ie to produce percision step and direction pulses for a number of stepper drivers...

More neopixel strips compounds the conflicts.

Edited 4 time(s). Last edit at 08/18/2025 10:29AM by Dust.
VDX
Re: Third Neopixel LED strip
August 18, 2025 09:03AM
... I was using 3-colour-RGB's with "button" macros, switching 3 I/O-pins with the "M42" command (set pin state).

Here all the possible colors with symply ON/OFF of the specific colors and the corresponding macro-buttons:




Edited 1 time(s). Last edit at 08/18/2025 09:04AM by VDX.


Viktor
--------
Aufruf zum Projekt "Müll-freie Meere" - [reprap.org] -- Deutsche Facebook-Gruppe - [www.facebook.com]

Call for the project "garbage-free seas" - [reprap.org]
Re: Third Neopixel LED strip
August 18, 2025 11:03AM
I was also thinking about just chaining the third strip to the end of the second, and control the LEDs with M150 individually.

However, I took up on the task of adding a third strip to the code, it looks like it works.Just had to edit a few files: neopixel.h, neopixel.cpp, leds.h, leds.cpp, menu_led.cpp, language_en.h, M150.cpp, MarlinCore.cpp. :-)

A bit messy, because it took me a few back and fros (working on the firmware in the garage on one computer connected to the printer, and another one at my desk, committing and synching), but here's the repo containing the addition (forked from release-2.1.3-beta2), if anyone's interested.

[github.com]

Edited 1 time(s). Last edit at 08/18/2025 11:35AM by galmiklos.
Sorry, only registered users may post in this forum.

Click here to login