Abacus
November 28, 2019, 9:30pm
1
Hi all!
I’m using ESP32 and P10 HUB12 panel. I want to use SmartMatrix library for my project.
I already connected everything to my ESP32 board and using multi row refreshing mapping example i got something shown.
I’m using only A and B pins so look’s like when example code goes to height above 2 nothing is shown.
So before going to deep by my own i would like to ask some help figuring how to use this library with this type of panels.
Thanks.
https://youtu.be/DXFlJaDSEjQ
I don’t think SmartMatrix supports AB panels, so you’d have to write your own mapping function
Louis
November 29, 2019, 3:52pm
3
Can you share a picture of the back of your panel? Do you have a link to where you bought the panel?
Abacus
November 29, 2019, 4:49pm
5
Sorry but I don’t have a link because I just bought it in local store.
Louis
November 29, 2019, 5:20pm
6
It’s a HUB12 (not HUB75) pinout. You can search Google Images for what a HUB12 pinout looks like.
I added limited support for HUB12 panels, with some brief info here:
Thanks to a generous donation from Martin Welford (@viking ), I’m happy to say that the teensylc branch now has support for panels with non-linear pixel mapping, including multi-row-mapping, like the 1/4 scan panels mentioned above. I added this support to both the ESP32 and Teensy on that branch. Adding support for new panels requires some code changes, but it’s mostly copy/paste and modifying numbers, not actual coding from scratch, so it’s accessible to more people.
There’s documentation in…
Some more details are in the ESP32 branch README:
Abacus
November 29, 2019, 6:50pm
7
Great. Thanks a lot for your help. Works fine but there some ghost effect around numbers. How I can fix this?
Louis
December 3, 2019, 2:50pm
8
I’m not exactly sure what’s going on here, but it looks like some kind of issue with clock timing or polarity.
I may have broken something on the ESP32 branch with this commit, can you reverse this commit locally and see if it works better?
committed 10:16AM - 30 Sep 19 UTC
Abacus
January 9, 2020, 10:43am
9
Sorry for late response. After i revert commit suggested above whole screen just lit and nothing works. i revert it back and it still inverted.
I slightly change example code. Just inverted colors.
void loop() {
for(int j=0; j<kMatrixHeight; j++) {
rgb24 colorByHeight;
colorByHeight.red = 0;
if(j & 0x01)
colorByHeight.green = 0xff;
if(j & 0x02)
colorByHeight.blue = 0xff;
for(int i=0; i<kMatrixWidth; i++) {
backgroundLayer.drawPixel(i,j,colorByHeight);
backgroundLayer.swapBuffers();
delay(250);
backgroundLayer.fillScreen({0xff,0xff,0xff});
}
}
}
Then i decrease brightness to 5.
I’m not sure how signals should look like but seems like something is wrong hire.
Louis
January 11, 2020, 9:52pm
14
That vertical ghosting effect that’s obvious in the picture 2nd from the bottom is unfortunately a common problem when refreshing HUB12 (And some HUB75 panels) quickly. I don’t have a solution for it.
jvlopez
January 23, 2020, 11:59pm
15
Hi any news in slowing down the refresh for HUB12?