This article is depreciated with the release of WLED 0.12
Alpha Multi-Channel WLED build
WLED supports the ESP32 out of the box but currently does not have official multi-channel output yet for the QuinLED-Dig-Quad. It’s on the roadmap to be incorporated into the 0.12.x release somewhere end Q4 2020!
Until then the multi-output of the QuinLED-Dig-Quad isn’t useless though, it kind of works in ESPhome already but since today there is a new option available. A few people have worked on a fork of WLED which kind of “hacks in” multi-output support in the current WLED 0.1x.x and it’s actually very workable already!
Please check out the Github for it here: https://github.com/peacepenguin/WLED
Before compiling please set the following in the NbpWrapper.h file:
- Amount of LED strips
- Amount of LEDs per LED strip
- GPIOs used for LED strip (please check the pinout article here)
Currently only for RGB, not RGBW(Works in v0.11.0 versions!)
- Default limit set in WLED to max 1500LEDs (can be raised, not a hardware limit!)
Making it easier
To try and make this easier for people to use who don’t want to compile themselves I’ve created a pre-compiled binary you can just flash to your QuinLED-Dig-Quad. This has been pre-configured to 300LEDs per LED channel.
You can flash over OTA in WLED itself or use ESPhome-Flasher
(Do not you NodeMCU PyFlasher or something else)
You can download this binary here: WLED_0.10.2-QuinLED-Dig-Quad-ESP32-multipin-300 (.zip file, please unpack before flashing) 2020-11-30 – Updated version for multi-channel pre-compiled to 300 LEDs per channel with WLED 0.11.0. There are two versions, some ESP32 boards have LED2 and LED3 reversed, try the first one and see if this is the case for you, you can then flash the second one to correct it. All other pins such as Button to GPIO17 and relay to GPIO19 (Q3) have been set. WLED_0.11.0-QuinLED-Dig-Quad-ESP32-multipin300_1-3 WLED_0.11.0-QuinLED-Dig-Quad-ESP32-multipin300_3-1 (Updated with slightly fixed code making all effects and “peek” work!)
2020-12-20 – Updated version again, this time using the Multi-channel mod you can compile! The pre-compiled is set to 4 outputs with 300LEDs each again. I’ve also made the 1-3 and 3-1 versions again to change around LED2 and LED3, depending on the ESP32 board you have. Button to GPIO17 and Relay to GPIO19 (Q3) have been set too!
To use this, there are some rules after that:
- Set LEDs in LED preferences to 1200
- Disable brightness limiter (or set to at least 3000mA+ otherwise LEDs will remain off!)
- Create 4 segments
- Start with segment 0 and edit it to the amount of LEDs connected to the LED1 output channel
- Then for segment 1 there you need to start at 300 and then add up the amount of LEDs connected to LED2
- Then for segment 2 you start at 600 and again end at the amount of LEDs connected to LED3
- And for segment 3 you start at 900 and again add the LEDs you have connected to LED4
- Save configuration to Slot 16 (The only slot that keeps the segment layout saved)
!Sometimes when creating segments the intensity and/or speed of the effects can be set to 0 instead of 50%, but you can set it manually again per segment!
After this it works as 4 individual LED strips that you can set everything for individually by using segments!
If you want to use more LEDs then 300 per channel, you can do this but then you’ll have to custom compile a binary yourself like I mentioned above.
Stream with DrZZs!
When DrZZs and I discovered this mod and started testing it we got so excited that we decided to do a livestream about it. It’s a bit long, but most discussed above is shown and explained!
xLights and E1.31 works!
This mod WLED also works with E1.31! Basically if you don’t use the segment feature mentioned above, WLED treats all the outputs together as one single big LED strip. So in the case of the “300” binary, this is 1200LEDs in total. Or you can custom compile the mod firmware to actually use the amounts per channel that you have.
If you are using the 300 firmware, you’ll have to do some math to setup all the lines to the correct starting channel inside of xLights. If you custom compile with the right amount of LEDs you can just say that it starts at the end of the previous one and it should work automatically.