Monochrome 32*16 P10 HUB12 LED matrix control with ESP32

I finally had a chance to hook up the panel @BodoMinea was kind enough to send me (it’s been a busy year…) and MultiRowRefreshMapping in testing mode works for me with these changed settings, and an ESP32 with level shifting buffers:

#define SKETCH_MODE   MODE_MAP_TESTING
const uint16_t kMatrixHeight = 32;
const uint8_t kPanelType = SM_PANELTYPE_HUB12_16ROW_32COL_MOD4SCAN;
const uint32_t kMatrixOptions = (SM_HUB75_OPTIONS_HUB12_MODE);

If I use the same sketch on an ESP32 without level shifting buffers, the pixels jump around quite a bit instead of going from left to right across one row.

Hi everyone, I am trying to achieve same thing. I got esp 32 and P10 display. Currently nothing is visible on my display. Can you guys please help me . Thanks in advance.

If using ESP32 is not mandatory for you, I can suggest to test my library DMD_STM32 that supports HUB12 monochrome and HUB75 RGB panels on STM32 and RP2040 boards.

Hi, currently i am working with P10 single color. and i try the library you try, and i facing a noise with the showing text. not stable. can you gimme any advice? how your result is good like the video you share.

i use esp-32S espressif wroom, p10 module single color. and the power for led module is from 5v adaptor. while the esp32 got the power from USB laptop.


hey everyone ,
i am trying to acheive the same thing in this discussion ,i.e to drive a P10 led hub12 led module with an esp32 .even with using dmd32 library , i was not able to light up the panel. but the panel works fine with an arduino uno . Is it a problem of voltage level shifter ,becuase i didnt use any …Any inputs would be appreciated ! thanks …

yes, it could indeed be a problem with level shifters missing depending on what minimal voltage that panel expects. You are supposed to give it 5V logic, not 3.3V logic

For anyone reading this, problem was not voltage level, but this:

, hope this saves you some headache.

Hi dude
Could u please give it to me for ST processors like STM32F4?
The one that I have now seams to be V2 and I have the same problem like the others have.
thanks

thanks for your help, but not working on a discovery F4.
I have one library which is working now, but showing the text perfectly

2

Discovery is not tested
The library works on F401 and F411 “blackpill” boards, and on stm32f407vet6

what’s the library?

PS I am wonder what the problem with displaying text - all HUB12 panels has the same pixel mapping…

I mean, I think there is a problem with filling the LEDs with suitable command.
I think the library makes the printing queue badly and there is no problem with panel itself; that’s the reason I’m trying to find a good library

Again, what the library you talking about? DMD_STM32 or SmartMatrix?

By the way - I see in the net that the “F4 Discovery” has a STM32F407 mcu.
It means that your board should work on DMD_STM32.
if you’re interested, I could help you get it running

It is another library which is adapted by DMD_STM32 with no any arduino library

If you can, it would be my pleasure bro.
how can I get it?

Do you have a link?

I think it is an offtopic here.
Could you please open an issue on

OK. I will
In case of need, you can email it
mohammadmahdibayat88@gmail.com

STM32F407VGT6 + 32*16 (hub12) mono LED panel · Issue #109 · board707/DMD_STM32 (github.com)