ESP32-HUB75-MatrixPanel-DMA
ESP32-HUB75-MatrixPanel-DMA copied to clipboard
Outdoor panel with 16207S driver low brightness
Hi,
I have one 64x64 panel with 16207S, for the most part the library works and i tried with the setup below:
in the first image - when the panel is filled with blue, everything is connected and working as expected.
In the second image - However, one time i accidentally unplug my ESP32 MCU from the power source, i noticed, the 4 lines (in blue) but they happened to be brighter (this is the brightness i am trying to achieve) - works good under sunlight
Any explanation or solution to achieve the (right) brightness with four lines?
Some things I have tried:
- decrease increase brightness - works as expected
- increase refresh_rate to 100 - no effect
- define PIXEL_COLOR_DEPTH_BITS 12
Appreciate your help and thanks
` HUB75_I2S_CFG::i2s_pins _pins={R1_PIN, G1_PIN, B1_PIN, R2_PIN, G2_PIN, B2_PIN, A_PIN, B_PIN, C_PIN, D_PIN, E_PIN, LAT_PIN, OE_PIN, CLK_PIN};
HUB75_I2S_CFG mxconfig(
PANEL_RES_X*2,
PANEL_RES_Y/2,
NUM_ROWS * NUM_COLS,
_pins, // Uncomment to enable custom pins
HUB75_I2S_CFG::ICN2038S
);
mxconfig.i2sspeed = mxconfig.HZ_20M; / mxconfig.min_refresh_rate = 10; mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right.
dma_display = new MatrixPanel_I2S_DMA(mxconfig); if( not dma_display->begin() ) Serial.println("****** !KABOOM! I2S memory allocation failed ***********");
dma_display->setBrightness8(255); // range is 0-255, 0 - 0%, 255 - 100% dma_display->clearScreen(); delay(500);
virtualDisp = new VirtualMatrixPanel((*dma_display), NUM_ROWS, NUM_COLS, PANEL_RES_X, PANEL_RES_Y); virtualDisp->setPhysicalPanelScanRate(FOUR_SCAN_64PX_HIGH);
virtualDisp->fillScreen(virtualDisp->color565(0, 0, 255)); `