Hi guys !
I was wondering about the best method to clone 2x 128x32 panels.
I’m trying to build a scoreboard, with 2 panels separated by 5m, on a teensy 4.1 + smartmatrix v5.
The 2 pannels are linked as follow : Teensy → Panel 1 → Panel 2.
The 2nd display clones the first one without any code update, but I have a few columns which remain black at the end of the 2nd pannel, and it seems the 2nd pannel indexedlayer is shifted compared to the 1st pannel :
Here is my config :
#define COLOR_DEPTH 24 // Choose the color depth used for storing pixels in the layers: 24 or 48 (24 is good for most sketches - If the sketch uses type `rgb24` directly, COLOR_DEPTH must be 24) const uint16_t kMatrixWidth = 128; // Set to the width of your display, must be a multiple of 8 const uint16_t kMatrixHeight = 32; // Set to the height of your display const uint8_t kRefreshDepth = 24; // Tradeoff of color quality vs refresh rate, max brightness, and RAM usage. 36 is typically good, drop down to 24 if you need to. On Teensy, multiples of 3, up to 48: 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48. On ESP32: 24, 36, 48 const uint8_t kDmaBufferRows = 4; // known working: 2-4, use 2 to save RAM, more to keep from dropping frames and automatically lowering refresh rate. (This isn't used on ESP32, leave as default) const uint8_t kPanelType = SM_PANELTYPE_HUB75_32ROW_MOD16SCAN; // Choose the configuration that matches your panels. See more details in MatrixCommonHub75.h and the docs: https://github.com/pixelmatix/SmartMatrix/wiki
Are there specific options to clone 2 pannels ?
Or will the second pannel naturally inherits of the pixels drawn on the 1st panel as soon as the limit configured are overpassed (128x32) ?
Shall I rather duplicate the pins at the output of Teensy (parallel cabling)
Teensy → Panel1
Teensy → Panel2
Do you think it’s possible to have a data cable of 5m between the 2 pannels without any amplification or shall I buy some cards to clone and eventually amplify the signal from Teensy ?
Thanks again for your nice support !