ESP32-P3RGB64x32MatrixPanel icon indicating copy to clipboard operation
ESP32-P3RGB64x32MatrixPanel copied to clipboard

Can I connect multiple panel?

Open metingul opened this issue 7 years ago • 6 comments

Hello, Can I use two or more panels , I need a bigger size than 1 panel.

Thank you.

metingul avatar Oct 26 '18 11:10 metingul

No, this library does not support panel sizes other than 64x32 as the size is hard-coded.

However, you can daisy-chain dual 64x32 panels and modify the library to use them as a 128x32 panel. Check out https://github.com/NeoCat/ESP32-P3RGB64x32MatrixPanel/tree/128x32 branch please.

img_0553 img_0554

NeoCat avatar Oct 31 '18 18:10 NeoCat

Hi @NeoCat , I am going to check that branch, actually I need to run 4 panel so I need 256 X 32 , the PxMatrix library support chaining but it works only with 2 panels. If there is any possibility to work with 4 panels it would be great, if not I am going to try with two ESP32 cards and share data, this solution is not to easy way. thank you and please advice.

metingul avatar Nov 01 '18 10:11 metingul

I use your 128X32 branch and it works well with 2 panel. And I tried to change values 128 to 256 but id did not work with 4 panels, ESP32 reboting. Does esp32 speed capable to work 4 panel? or did I mistake with codes.

metingul avatar Nov 01 '18 15:11 metingul

That is because the timer interrupt routine is using too much time. You need also reduce the frequency of the timer interrupt here: https://github.com/NeoCat/ESP32-P3RGB64x32MatrixPanel/blob/128x32/P3RGB64x32MatrixPanel.cpp#L42

This is currently invoking the routine every 60 microsecond, so please change this to maybe 120 or so.

Please note that slower drawing means that the panels would flicker more.

NeoCat avatar Nov 03 '18 02:11 NeoCat

I have modified 128x32 to 64x64 with inserting "if (y >= 32) { y -= 32; x += 64; }" like that

https://imgur.com/YUzBILj

in the file of ESP32-P3RGB64x32MatrixPanel-64x64\P3RGB64x32MatrixPanel.cpp .

kntkimura avatar Dec 20 '21 12:12 kntkimura

https://imgur.com/YUzBILj

I believe you intend to point here: :) https://github.com/NeoCat/ESP32-P3RGB64x32MatrixPanel/blob/128x32/P3RGB64x32MatrixPanel.cpp#L83

NeoCat avatar Dec 20 '21 14:12 NeoCat