-
Notifications
You must be signed in to change notification settings - Fork 207
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
P4 64x32 matrix chain 2x2 problem #624
Comments
try to change it that way:
|
@board707 I tried the method you suggested. |
Yes, I forget to change the condition:
|
I apologize for forcing you to test many options. Unfortunately, this can only be checked on your matrices.
|
Before
After
I didn't expect this would be a problem. Thanks to you, the problem has been solved!! Thanks to you @board707 |
@ki865564 |
Can you share the working code for 2x2? |
@ogul |
@slawek19926 |
@board707 |
Sorry, I don't understand. What is the panel pixel dimensions - 64x32? Or 32x32? BTW - why did you posted this to the old thread? Open a new one. |
@slawek19926 |
Ok the physical size of the panel is 64x32 pixels. |
@slawek19926 The only problem is a pixel pattern. |
@board707 20240606_165733.mp4 |
This code takes care of the issue of displaying pixels, but for that there is now a problem when connecting a 2x2 matrix.
The red line is how to connect |
Before connecting 4 panels, you need to configure the display of points on one panel Please show the code that you used when generate the last video. |
I'm using this code `#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h" // Panel configuration #define NUM_ROWS 1 // Number of rows of chained INDIVIDUAL PANELS #define SERPENT true // placeholder for the matrix object // placeholder for the virtual display object void setup() { Serial.begin(115200); HUB75_I2S_CFG mxconfig( mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right. //mxconfig.driver = HUB75_I2S_CFG::FM6126A; // in case that we use panels based on FM6126A chip, we can set it here before creating MatrixPanel_I2S_DMA object // Create our matrix object // Adjust default brightness to about 75% // Allocate memory and start DMA display dma_display->clearScreen(); // Create FourScanPanel object based on our newly created dma_display object // THE IMPORTANT BIT BELOW! } void loop() { for (int i = 0; i < FourScanPanel->height(); i++) delay(2000); } // end loop` |
This line is incorrect:
Your panel is 64x32, so you need to use
|
I'm sorry I made a mistake. I was using |
Are you sure that you made the mistake when showing the code, but not when uploading it? The residual code looks correct for me. |
Yes. I checked several times and it was on this code that I made my library fix. Do you happen to have Discord? It will be easier and faster for us to talk that way. |
Did you use your revised library when run the test? - if so, please return to standard code and test again. |
When recording the video, I used the original freshly downloaded library version 3.0.10 |
Ok, I watched your video again - now on the big screen and I think everything is fine there. Two facts initially confused me - the fact that you are testing the code on a screen of several panels and the fact that you shot the video carelessly - part of the panel on the right is covered by some kind of shadow. Could you separate one panel for testing - so that the edges of the panel can be clearly seen in the video? |
I can do it, but only tomorrow because today is quite late. As for the shadow it's a few pixels behind the monitor. Anyway, my fix solved the subject of setting pixels on the matrix. Now the only problem I have is that with a 2x2 matrix and the connection as in the picture I attached earlier, the lower half of the matrix does not work. |
This most likely means that your fix is only partial - for example it only works for one row of panels. |
If you wish to continue, tomorrow test the code below and show the video.
|
Ok. Tomorrow I will isolate 1 panel, upload the code and send a video of how it works |
As for displaying single lines, the code works great, while there is still a problem when connecting a 2x2 matrix |
I'm not going to impose my help. If you think the code works, I won't argue. Good luck. |
No need to be offended. I appreciate your help. I didn't take a video of how the pixels are displayed because they started displaying from point 0,0 in sequence until the end of the panel. Since I noticed that your way works I started to go further because I thought that the problem with the single panel was solved, but as it turns out, however, not. |
it just photo strobe effect! sorry for the late reply |
What about the picture, better, the video? |
Thank you for clarification. |
Thanks a lot.... |
Hello.
I am successfully using the p4 electronic display board using your project. The p4 indoor type was successful, but the outdoor type was not working well...
i try to single panel. it work.
Outdoor P4-1921-64x32-8s-s1
Esp32-WROOM-32UE
Now I've connected a total of four panels and tried it in a 2x2 shape. Among the connected panels, the top two panels are output normally, but the bottom panel is not output normally.
I've referred to the following post for improvement. It has fixed the header file and checked the output as follows.
#578 (comment)
When I checked the output, it was determined that the order of output was mixed as shown in the image below.
The panels were divided into quarters and numbered for each part.
I changed the position to draw the output I wanted. If so, it will be placed like this.
I need to correct this part, but I didn't know what to do...
Here is my Code
And part of the changed header file code.
The text was updated successfully, but these errors were encountered: