1

Im making a project to make a pixelArt of 64x64 using two 64x32 RGB ledMatrix and Arduino MEGA

This is the RGB Panel: https://es.aliexpress.com/item/32904852724.html?spm=a2g0s.9042311.0.0.685963c0LrWjF8

I use ADAFruit and RGBMatrixPanel libraries in my arduino Code and if I connect the arduino pins to the RGB panel it works, but the problem is when i try to connect the output of the first panel to the input of the second, i saw the "same image duplicated" but with different brightness, and if i change the lenght of the pannel seems to print random leds.

I know that ada fruit is thinked to get a screen with max of height of 32, but i dont care, because for my purpose y can assign each pixel programatically in order to print the proper image.

I follow this guide: https://learn.sparkfun.com/tutorials/rgb-panel-hookup-guide/all in order to make the conection with a panel of 64x32

I think that i have to change my code and also my physical conections, but i don't know how, can anyone help me?

Other option that i thought was create another matrix2 instance at the same code using different PINS, but this is very weird.

This is the current connections: (I have a power supply of 5v - 10A) enter image description here

This is the result that i have: (duplicated in both screens with a brighness/weird shadow in the second) enter image description here

And this is the final result that im looking for: (this is made with two arduinos Mega) enter image description here

Thanks in advance!

  • please provide a link to the panel datasheet – jsotola Jul 25 '19 at 17:34
  • It looks like a 64x64 will actually be a 128x32. – Majenko Jul 25 '19 at 19:46
  • Hi, I dont have that documentation, i guess that is an standard one? – Jorge Martín Martí Jul 25 '19 at 23:11
1

First off, connecting the 2nd panel to the same output pins as the first one, you are simply sending same data to the 2nd panel, which is why you get the duplicate visuals. I'm guessing you are sending power that same way, which is why you are seeing the brightness dim.

Secondly, it's hard to read on the pics in the AliExpress listing, but the Sparkfun site had a better image, which shows an "Output" connection on the back of the panels. You need to daisy chain the 2nd panel to the first panel through this "Output" connection. This should prevent you from having to create a 2nd matrix2 and use a 2nd set of pins.

Third, having a 2nd set of pins and controlling the 2nd LED matrix can make updating the image faster. It depends on your library as well as how the LED matrix is made, so it really depends on those factors, but some LED systems are designed so there is a maximum amount of pixels that can be displayed before there's a noticeable delay in LED updated. With this amount of LED pixels, you're probably fine, but if you want fast updates and expect to expand your matrix in the future, you might want to consider driving the panels separately. I'm not saying you have to now, but if you're seeing lag, this might be a good option.

| improve this answer | |
  • Hi, I added some pictures of the project, as you c an see i have enought power supply for both screens (is not a brighness change, it has also a weird shadow on each character and changes the color a bit) Thanks for your help!!! I really appreciate it. – Jorge Martín Martí Jul 25 '19 at 23:05
  • @JorgeMartínMartí, are you talking about the diagonal lines on the Link image for the shadows? That could be a slow refresh rate or a mismatch of frame rate between the matrix and your camera. If you're talking about the "fuzz" around the pixel in the letters, that's because you don't have the white screen up against the matrix, allowing the light to bleed a little. It's also likely going to happen anyway, unless it's a polarized sheet. The white sheet will absorb some of the light/wavelengths due it it not being 100% transparent. Hopefully I'm understanding what you're describing. – computercarguy Jul 25 '19 at 23:14
  • BTW, that looks really good already! – computercarguy Jul 25 '19 at 23:15
  • No, i know that these lines is just in the photograph, but not in real view. You can oberve the differences in the image with text (the color is different), but the programing code is just the same, i mean this kind of changes in person you can see a different brightness and different color, and also a small shadow (fuzz), and this only occurs in the second (bottom) screeen that is replicating the stuff of the previous one, so we can discard the issue with the white sheet (it occurs with the isolated panel too) so should be a problem with the program or the wire connections. TY – Jorge Martín Martí Jul 26 '19 at 8:35
  • I think I see the color difference now, but I'm still missing the shadow. The color difference could be a different random color selected for the letter. Since I can't see the code, it's just a WAG. If it was a loose wire, you wouldn't get a coherent image, since it's a digital, not analog, signal. It either works or it doesn't. The color looks good and consistent on the Link image. You might try solid colors across both panels to see if there really is a color difference. Pick specific colors and see what happens. It could be the LEDs are mis-wired. Good luck fixing that though. – computercarguy Jul 26 '19 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.