If you're just crazy about lights and you want both fur lights and matrix lights on your coat, that is possible too! WLED has the ability to run multiple strips on different GPIO pins.
I added two JST connectors to my Feather: one on GPIO 12 and one on GPIO 13. Here's a quick overview of my setup. I'm not gonna lie, this was pretty tricky to set up and I nearly gave up on running both strands at once, but here is how I finally made it work.
LED Settings
I added the matrix panels first, on pin 13. I checked the "Make a segment for each output" box down below, then added the fur trim strand on pin 12.
2D Configuration
This stayed the same - I have one panel set up in a 10x17 grid. WLED will append any lights that aren't included in the panel as a strip or a second matrix.
LED Map Setup
Your ledmap.json file wants to see every single LED accounted for. Here's how I modified my map file to include both strips.
The matrix panels are set up as strip 1, so those go in first, mapped in the order I want WLED to "see" them. There are 154 LEDs, so the map includes every number between 0-153.
The Fur trim strip has 280 lights, so I appended 280 more numbers to the end of my ledmap.json file, starting with number 154 and counting up to 433, which is 1 less than my total number of LEDs (434), because we started with 0 instead of 1.
I used ChatGPT to help me with this by asking it to type a comma-delimited list of every number between 154-443 with no spaces, and then I could copy/paste it right in.
{"map":[ 153,134,133,-1,-1,102,101,82,81,62,61,42,-1,-1,21,22,41, 152,135,132,-1,-1,103,100,83,80,63,60,43,-1,-1,20,23,40, 151,136,131,-1,-1,104,99,84,79,64,59,44,-1,-1,19,24,39, 150,137,130,-1,-1,105,98,85,78,65,58,45,-1,-1,18,25,38, 149,138,129,118,117,106,97,86,77,66,57,46,5,6,17,26,37, 148,139,128,119,116,107,96,87,76,67,56,47,4,7,16,27,36, 147,140,127,120,115,108,95,88,75,68,55,48,3,8,15,28,35, 146,141,126,121,114,109,94,89,74,69,54,49,2,9,14,29,34, 145,142,125,122,113,110,93,90,73,70,53,50,1,10,13,30,33, 144,143,123,123,112,111,92,91,72,71,52,51,0,11,12,31,32, 154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433]}
Head to the main interface and find your Segments tab. You should see two segments already set up: the first one in a matrix and the second one.. well, the second one will likely want to be a matrix too. Let's change this back to a strip.
Select "pixels" from the dropdown in the first segment to change the second segment from a matrix back to a 1-d strip.
Note: I had a lot of trouble getting this dropdown to appear consistently... it's there sometimes and not there sometimes. I found that opening the 2d configuration control panel seemed to make it appear the next time I clicked back to Segments.
Now you can run matrix animations on the matrix by selecting the checkbox for Segment 0, and run 1-d animations on the fur trim by selecting Segment 1. You can also select both segments and run the same animation on both sections at once.
I made my presets using a naming convention where the name started with M for a matrix pattern, F for a fur pattern, or B for both. I could then set up playlists using whichever patterns I wanted to focus on.
Having both on at once looks AMAZING but it really sucks my battery dry quickly, so it's nice to program in some variation in my playlists.
Page last edited August 02, 2024
Text editor powered by tinymce.