From HarrisonTek KL lighting Store on AliExpress. Comes in various pixel desities. Initially I went with the 5V stuff but as its for an Automotive application seemed silly to have to muck around with 12-5v converters. Full White output is 2.3A per panel (254 LEDs). So glad I jumped to 12V. The grid density is 2.5cm in this case.
Great , i just wanted to double check if those are fixed address and they seem not
Nope. Brought as one long length and have been chopping away to make up each panel. Another 5 to go, the joys of a hot glue gun.
Not correct!
It will just use LED with index between 13 and 15, and that does not necessarily mean index 14, but not paint it.
With ledmaps, if you have a pixel that falls within matrix dimensions but has no physical LED attached then you assign -1. If the physical LED does not fall within matrix dimensions then you just not include it in a ledmap file.
Not correct ! what i have listed is correct as i have tested that
You can read my post here where i used a ledmap to make the smiley face
And now show the physical LED set up.
If there is no physical LED at physical location [X,Y] then you put -1 at [X,Y] but it would be just as ok to put in a value > physical LED count.
Whereas the request above had physical LED with index 14 which was not part of the matrix, hence no need to include it in ledmap. As @garym999 showed in his successful implementation.
To put it he other way: total LED count in the above example was larger than a matrix size (X*Y) and only portion of that total LED count participated in matrix panel. And since with 2D set up with ledmap only the LEDs in ledmap are taken into account everything else is discarded.
I am glad the op issue got solved , you just need to stop saying incorrect and say you do not like it or it is not optimal as i have showed it is correct
garym999, i have a similar task. I need the bottom and top LEDs to be ignored (19,39,59,79,99,119,139,159,179,199,219,239,259,279,299,319,339,359,379). Only I have a 20x19 matrix.
The distance between the LEDs is 5 cm. I made a zhsion file in Notepad++ (is it correct to use “Enter” at the end of each line?).
Downloaded it from the link http://192.168.0.108/edit.
I set up the matrix in 2D.
I don’t know what to do next (I’m a complete beginner)?
How can I make sure that every time the device is turned on, it understands that it needs to use the ledmap1.jsion file in its work. I looked at the instructions at Mapping - WLED Project, but nothing is written there about it, and my knowledge is not enough)). Could you tell me step by step what needs to be done next (step1…, step2…, step3… step n)? Or maybe I can read about this in detail somewhere? Maybe someone else on the forum can give me some advice?
ledmap.json is loaded at boot.
Where does it load?
How to launch it?
If I send the finished device to another person who does not understand anything about technology, will he be able to run this configuration?
Will the ledmap configuration be saved in the device, or should the new user go to https://my-led-device.local/edit and download the ledmap.json file?
I ask this because I’m not sure that the average user can do this on their own.
Like you I’m learning my way around WLED and although very capable there is quite a bit that is not that clearly documented. Its that age old thing, the product develops faster than the documentation. Luckily there are forums like this.
As blazoncek says ledmap.json is loaded at boot. And /edit is where you can create,load and edit it if you want. But what I have noticed is that you do not have that file on your device, you have ledmap1/2.json. I think you can use those maps but they would have to get called within the API. For now just rename the one that you think is correct and get testing.
I changed the file name to ledmap.json.
But nothing has been updated in the interface. There is no new file.
“Default” ledmap is the ledmap loaded at boot: ledmap.json
There is no feedback in UI which ledmap is loaded as that information is not retained in the system.
If the ledmap is not applied but JSON is vaild, check if you uploaded ASCII encoded ledmap file. Some editors will encode files in UTF8.
blazoncek, thanks for the answer. A file in the format you specify. but the information is not updated. I’ve already tried everything. And I turned it on and off, and the controller was overloaded, but the information is not updated. I tried to completely delete the ledmap.json file in Edit. The information is still not updated.
What version of WLED are you using? I’m on the latest, 0.14.0 and I dont see the Ledmap: option unless I have missed a setting somewhere.
Also before diving into the matrix side of things I verified that the ledmap file applied my LEDs as expected in one long string. I started with a small string so I did not have to keep editing a big file, too easy to make a typo.
I’m also using version 14.0. I turned the power on and off several times. Somehow, information about ledmap.json disappeared in the interface. The bad thing is that I don’t understand the logic of her appearance or disappearance.
Ah OK there is something I have learned. If you have multiple Ledmap files then the dialogue box appears in the segment section.
Also remember to reboot (x.x.x.x/reset) when making changes to the 2D matrix and ledmap files. I found the results unpredicatble if I dont because the pixels do not get repainted/cleared and it justs add to the confusion.
Thank you! I’ll definitely try it tomorrow. We have night already!
I didn’t know about the “reset” command!
I tried using the “reset” command. Everything began to work normally. The logic became clear. garym999, thank you very much!