-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1/4, 1/8 scan panels #204
Comments
can this changes be integrated to the main branch? wondering how to re purpose existing virtual class than creating new instance for 1/8. the idea is to reuse existing virtual class but provide different initialization implementation that can be swap by configuration |
Dear @mrfaptastic,
` |
Hi @danieldecesaro, |
Hi @mrfaptastic,
Att. |
Hi @mrfaptastic, |
Implemented changes as proposed by @danieldecesaro in #204
Have you tried changing the Some panels need an inverted (or not inverted) clock... causes stuff to be offset by a pixel on the x-coord. Similar to the common issue raised in: #134 |
Hi @mrfaptastic, |
Hi @mrfaptastic, |
Implemented changes as proposed by @danieldecesaro in mrcodetastic#204
Hi, I am new in this discussion. |
As per @board707's comment, there are so many variants of the four-scan panels that it's probably a new type of panel you have. Post photos and videos of running SimpleTestShapes example etc. |
I have a p8 20*40 pixel rgb led matrix display panel. The driver uses an integrated ICN 2037, and has a scan rate of 1/5. Can you help me with this display. I'm thinking of running it with esp 32. none of the libraries worked. only 1 library worked but it is faulty.. |
I have used that library and found it to work very well on 1/8 and 1/16 scan. 1.5 scan is an odd one and you will find very limited library support. But, how about setting up the library like a 1/8 scan; you will most likely just lose 3 out of the 8 scan lines but that can be mapped out. |
I solved the problem of matrix panel with p8 20x40 pixels 1/5 scan rate. I managed to get it working with library https://github.com/2dom/PxMatrix#shiftreg_abc_bin_de. now i have problem with p10 rgb matrix panel which has 1/4 scan rate. there are only rows A and B. Again the same library ran, but one line works in reverse. |
"p10" is say nothing about type of panel. What is the panel pixel dimensions - 32x16 pixels?
It seems that the panel has BINARY mux type.
It is very strange. Lines on the led matrix ALWAYS paired. so your panel should has at least two reverse lines. |
hi @mrfaptastic , i run to an issue with p10 16X32px 4s RGB panel. i believe this panel is 1/4 panel by the 4s. the ic is 6124B which suppose supported by the library, and my thoughts say this panel each are 1/4 of size 32x64px panel. and assuming this panel will work by combining 4 panel to make up the resolution of 32x64px. i will try to use the basic example and show the result later. at the mean time, do you have suggestion which configuration i could try to make this panel works? Edit: Four_Scan_Panel.zip |
The only way to reverse engineer what is going on is to start with the basics. Draw a single pixel to reach led coordinate and then see what coordinate it actually shows up on. Use excel or something to log this. Only then can one figure out how the panel works. Good thing though is all the LEDs are lit which hopefully means there isn't something else going on. |
Also. If you perform a simple drawPixel(0,0) and get more than one pixel "lighting up" then there is some electrical/ signal issue. |
4s panel can have binary or direct mux. if you confuse the mux type, then when one pixel is outputs in the code, several dots may lighting up on the matrix. |
hi @board707, this is common panel available online. my intention to use this panel is due to p5 are too small for medium hall and i did not satisfies with the p5x3col setup that i use. it look tiny when it was in place. one good potential of having this panel support are we will be able to display larger display with minimum cost increase and open possibility to have more than 20 panels p10 as per resolution to be hookup(1p5 equal to 4p10 in resolution) to the tiny esp32. with the half resolution of p5, it is easier to configure the display by combining panels without having different screen design for p5 and p10. sorry for the long write up, but i was really excited to have this panel to be supported. ok, so there is 3 common p10 panels with 32x16px configuration. this resolution and size, which is same as the original supported panel p5 with 32x64px. all p5 and p10 panels have the same width and height. 16cmx32cm. edit: by this condition. the panel are the same size and it is possible to have the casing/frame to be interchangeable or reuse between p5 and p10 panels. to add, p10 are the most common panels used for led display in the market as it is the cheapest and most cost effective for the usage. 3 common p10 panels (different by SMD led type, not to mention THT)
yup, thats mux thing i am not sure what this panel was and hoping this library to support it. i think, there are people who are able to use the 2727 led with 1/8 scan with this library. but to order/buy that panel will take some time to arrive, with unknown result but yet the best option is to have the 3535 1/4 scan to work with this library. so iam hoping so much that this 3535 panel to be supported. iam not keen to design new board, pcb and new code from 0 for this. it will take years to complete. @mrfaptastic, i will run some test to plot the pixel for this panel. i hope the binary or direct mux would not be the issue, seems someone also using binary libs to make this panel to work. also, you can sent me your address to [email protected] if you require some new panels for testing. thanks |
The geometrical sizes of panels are not matter. The only important parameters are pixel resolution and scan pattern. 32x16 and 64x32 panels has completely different patterns and are not interchangeable.
Ok, I understand. Good luck for your project |
hi @board707, thanks for the reply and your contributions. understand those scan patterns and resolution different. What does matter is what will it will display and is suppose to be the same for any different panels used with the same resolution regardless of panels quantity. |
no, it wrong |
Please use the latest git master version of this library, the four scan example and the VirtualMatrixPanel class has been updated to fix a related issue. |
hi @mrfaptastic here is the test code and the result in excel: chains and scan rates(CHAIN_TOP_RIGHT_DOWN/CHAIN_TOP_LEFT_DOWN) setting does not effecting this test result from the test the draw pixel only effecting half of the set x resolution, and added to 2 different rows this is the result of latest master 4_scan_panel.ino example (with custom pin assignment no other changes): thanks! |
No, I can't.
Please asking the question here... or you prefer to use a private message? |
It's P8-320x160 and has 1/5 scan. The resolution is 40x20. |
write me a message to |
Hello,
|
There are a lot of types 32x16 s4 panels with different scan patterns. You need to configure the mapping to each type separate, the mapping from one do not suits for another. |
Judging by the photo, your panel is simply filling up chaotically. No mapping will help here; first you need to get the panel to fill sequentially |
here, value get from analog pin and generate spectrum chart(not chaotically) |
And what the point to show this picture here? |
i have raised issue regarding this pattern, yes it is the new outdoor p10 with larger led and seems using common driver. but no one comeout with the mapping yet and i just hope someone will able to help |
Nobody will present you a mapping other than youself. To calculate the mapping someone should have the same panel in hands. Another way - record the video filling the matrix with pixel by pixel for at least a quarter of full panel and show the video in the issue - in that case you can hope somebody will develop the mapping from the video. @tsctrl - by the way, I don't see your issue |
this one @board707 , it is 8 months old. with lots of your helping comments. seem others waiting for the same solution for this panel too. i wish i could do it my self like you do.. but seems you didnt care about to support people here with solution rather than implementing the fix on your own library for diffrent mcu. are u being sponsored?what a shame. 😄 |
I know the structure of matrices, but I don’t know this library code very well. Therefore, I help with general advice and do not give ready-made solutions. Hope your understanding :) |
please help... Need fix for that matrix. |
@oldcity83 |
I have two "8 scan panel" (https://www.aliexpress.us/item/1005003238025086.html), and a Huidu WF1 controller (also have a WF2 if necessary).
This works for the two panels daisy chained together. What is the "correct" way to implement the mapping, so that "user code" such as drawing circles, text, etc, "just works"(tm) ? |
More digging surfaced the This seems to work so far:
then
Now all drawing methods operate on "natural coordinates", without having to recalculate anything, and methods such as Thanks for the excellent library. |
Hi @RoganDawes |
Sure, happy to try some variations. I certainly did consider alternatives with unconditional shifting, etc, but that also seemed rather complicated. This is the layout of the blocks (16*8 dimensions)
i.e. if I draw a pixel at (0,0), it shows up in the top left corner of block 1, if I draw a pixel at (16,0), it shows up in block 2, (0,8) shows up in block 5, etc. Observation is that the sequence in the top two rows of the diagram above is repeated in the lower two rows, and blocks 4, 5, 12, 13 are already in the right place. Perhaps some comments will help:
|
Please try this function
and show the video fulfilling the panel pixel by pixel:
Addition - be sure to comment this line at your main code: |
Works perfectly, thank you! Much appreciated! Here is my "bitshifted version":
|
Wf1 How to assign data @RoganDawes |
Not sure what you are asking for? I got most of my information from this discussion: #667, probably most relevant for me was #667 (comment) |
There's one wf4. The processor esp32 s3. How can I assign data to this? The computer sees and goes. How to get boot mode. Can you help me? |
I have no experience with a WF4 |
@selam2 |
Four-scan panels (aka. '1/8' on a 32px high LED matrix) use the same HUB75 connector and can be connected to the ESP32 in the same way as a 'half scan' (aka. '1/16' for a 32px high LED matrix, or '1/32' for a 64px high matrix), but additional software logic (pixel remapping) is required or the display will show garbage.
Four Scan Panel (aka. '1/8' on a 32px high LED matrix ) - Thank you to The Electronic Engineer for a 'four scan' (1/8) panel to get this to work.
For any other panel of a random scan type that doesn't work:
The text was updated successfully, but these errors were encountered: