mrcodetastic / ESP32-HUB75-MatrixPanel-DMA

An Adafruit GFX Compatible Library for the ESP32, ESP32-S2, ESP32-S3 to drive HUB75 LED matrix panels using DMA for high refresh rates. Supports panel chaining.
MIT License
939 stars 208 forks source link

1/10 scan #553

Closed muthu920 closed 8 months ago

muthu920 commented 9 months ago

Is possible add custom scan to this library, our board is 1/10scan 80x40 led per panel, [ESP32-HUB75-MatrixPanel-DMA] works but 9th and 10th row is not printed for each scan because its printing 1/8s, is possible to convert to 1/10scan IMG-20231230-WA0004

board707 commented 9 months ago

Do you have several such panels? Try another one

muthu920 commented 9 months ago

no i have only one panel, does this library support 1/10scan ?

muthu920 commented 9 months ago

beacuse only 9th and 10th row missing but 8row display perfect

any idea to change coords for 1/10scan

muthu920 commented 9 months ago

driver ic RUC7258D

mrcodetastic commented 9 months ago

I think it's a defective panel.

Can you try with another library like PxMatrix?

muthu920 commented 9 months ago

ok i will check and update

I think it's a defective panel.

Can you try with another library like PxMatrix?

Ok i will check and update

muthu920 commented 9 months ago

IMG-20231230-WA0008

Using VirtualMatrix example

image

untill 8th row data perfect after 8th row data shifted and some junk i think

muthu920 commented 9 months ago

if i use virtualDisp->fillScreen(virtualDisp->color565(100, 0, 0));

The all pixel show perfect

image

muthu920 commented 9 months ago

when i set a pixel at 9th and 10th row but it show at 10th and 11th row

image

image

muthu920 commented 9 months ago

i think need to modify this library to 1/10Scan, any idea? Right now library scanning is 1/8

muthu920 commented 9 months ago

I think it's a defective panel.

Can you try with another library like PxMatrix?

does this library support 1/10scan

board707 commented 9 months ago

What's the second chip aside 7258 on your panel?

If you have a Stm32 bluepill or Rp2040 board, you can test the panel with DMD_Stm32 library.

muthu920 commented 9 months ago

What's the second chip aside 7258 on your panel?

If you have a Stm32 bluepill or Rp2040 board, you can test the panel with DMD_Stm32 library.

DP245D second chip

muthu920 commented 9 months ago

I set to

HUB75_I2S_CFG mxconfig( PANEL_RES_X * 2, // DO NOT CHANGE THIS PANEL_RES_Y / 2, // DO NOT CHANGE THIS PANEL_CHAIN
);

virtualDisp->setPhysicalPanelScanRate(FOUR_SCAN_32PX_HIGH); and changed 8 to 10 in coords.y

image

image

now i get image

image - scrolling so it have some dot shift

board707 commented 9 months ago

DP245d is not a driver, should be yet another one

muthu920 commented 9 months ago

DP245d is not a driver, should be yet another one

DP5125D

board707 commented 9 months ago

Thank you. The good news that it is a standard driver, it should be supported by the library.

It seems to me that the reason is a broken panel or bad connections. Check your board and panel for unsoldered pins.

muthu920 commented 9 months ago

Thank you. The good news that it is a standard driver, it should be supported by the library.

I tried E pin gnd and Valid GPIO too, but same result

ok, i will buy one new board and check and update.

muthu920 commented 9 months ago

Thank you. The good news that it is a standard driver, it should be supported by the library.

It seems to me that the reason is a broken panel or bad connections. Check your board and panel for unsoldered pins.

In my board it mentioned P4-1921-80x40-10S-S2.0

muthu920 commented 9 months ago

Tested with new panel but same result.

Panel not mistake, we test with other driver which comes with board it working perfect.

The problem with our library is it sacn 8 rows perfect but not scanning 9th and 10th row, does we need not modify virtiual to real pixel mapping for 1/10 scan because 1/8 scan working perfect but not 1/10 scan.

mrcodetastic commented 9 months ago

The library only natively supports 1/16 scan panels as outlined in the README, however, with some pixel-remapping (I.e. Virtual Matrix class) we have been able to incorporate support for other random panels.

You'll need to change the virtual matrix class to add the necessary support for this panel.

muthu920 commented 9 months ago

Ok thank you will update

On Tue, 2 Jan 2024, 05:06 mrfaptastic, @.***> wrote:

The library only natively supports 1/16 scan panels as outlined in the README, however, with some pixel-remapping (I.e. Virtual Matrix class) we have been able to incorporate support for other random panels.

You'll need to change the virtual matrix class to add the necessary support for this panel.

— Reply to this email directly, view it on GitHub https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA/issues/553#issuecomment-1873525651, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADGPAFRCBKRM7BOO6F5GQLDYMNCBHAVCNFSM6AAAAABBHLA6FKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGUZDKNRVGE . You are receiving this because you authored the thread.Message ID: @.***>