ESP32-HUB75-MatrixPanel-DMA/examples/ChainedPanels
2022-11-09 00:18:49 +00:00
..
ChainedPanels.ino Documentation updates 2021-04-12 13:02:47 +01:00
README.md Update to 2.0.0 2021-02-10 15:49:19 +00:00
VirtualMatrixPanel.odp Close #331 2022-11-09 00:18:49 +00:00
VirtualMatrixPanel.pdf Close #331 2022-11-09 00:18:49 +00:00

Chained Panels example - Chaining individual LED matrix panels to make a larger panel

This is the PatternPlasma Demo adopted for use with multiple LED Matrix Panel displays arranged in a non standard order (i.e. a grid) to make a bigger display.

What do we mean by 'non standard order'?

When you link / chain multiple panels together, the ESP32-HUB75-MatrixPanel-I2S-DMA library treats as one wide horizontal panel. This would be a 'standard' (default) order.

Non-standard order is essentially the creation of a non-horizontal-only display that you can draw to in the same way you would any other display, with VirtualDisplay library looking after the pixel mapping to the physical chained panels.

For example: You bought four (4) 64x32px panels, and wanted to use them to create a 128x64pixel display. You would use the VirtualMatrixPanel class.

Refer to this document for an explanation and refer to this example on how to use.

Steps to Use

  1. Refer to this document for an explanation and refer to this example on how to use.

  2. In your Arduino sketch, configure these defines accordingly:

#define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module. 
#define PANEL_RES_Y 32 // Number of pixels tall of each INDIVIDUAL panel module.

#define NUM_ROWS 2 // Number of rows of chained INDIVIDUAL PANELS
#define NUM_COLS 2 // Number of INDIVIDUAL PANELS per ROW
  1. In your Arduino sketch, use the 'VirtualMatrixPanel' class instance (virtualDisp) to draw to the display (i.e. drawPixel), instead of the underling MatrixPanel_I2S_DMA class instance (dma_display).

Thanks to

  • Brian Lough for the Virtual to Real pixel co-ordinate code.

YouTube: https://www.youtube.com/brianlough

Tindie: https://www.tindie.com/stores/brianlough/

Twitter: https://twitter.com/witnessmenow

  • Galaxy-Man for the donation of hardware for testing.