-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sm16208s+sm5166 panel, ICN2037BP+RUC7258D panel #702
Comments
true, sm5166 chip is a "type138" line decoder
It's impossible to say for sure. |
I can manage fixing the order of pixels - if that's the only problem. The main thing I'm afraid of is if I can display anything at all, I don't want to end up with the same problem as with this panel, where absolutely nothing is displayed (maybe chips there can't process 3.3V signal? Idk). |
This Aliexpress link does not indicate which drivers are used on the panel, so I can't say what is the reason why the panel did not work. Unfortunately, matrices with unsupported drivers are increasingly common on the market and the probability of getting such a panel is quite high. |
I will probably buy few different models and test which one works best. |
The first option should work, the second definitely won't, LS9930CS - unsupported driver |
Ok so seller informed me that they have two versions of the 80x40 outdoor module I talked about in the first comment. One is ICN2037BP+RUC7258D and the second one is LS9930CS+RUC7258D, and you get a random one... They sent me pictures of ICN2037BP module and it has slightly different pcb layout so it makes sense that mine must be LS9930CS, and that's why it doesn't display anything... |
Got the ICN2037BP+RUC7258D panel - it works but as expected, the order of pixels is messed up. Was such order observed before (might save me some time)? I will try to configure it. The module is 80x40, it goes by 16-wide lines, two at the time, renders half of the screen, then stops (probably renders off-screen), then proceeds to re-render the top side (Idk if you can see it on video, but pixels get a bit brighter), then it proceeds to do the same to lower half. IMG_2787_480p-2.mp4 |
please show the code that produced this video |
I drew it with such function:
Screen init part:
panel_x = 80 |
Please show a full code |
No, it is not correct. You must use a VirtualMatrixPanel even for a single panel if you have a i.e. QuarterScanPanel type. What is the scan factor of your 80x40 matrix? |
I know, what I meant is for now it doesn't do anything, doesn't change what is rendered. Panel is 1/10 scan, so a "quarter-scan". It's part of larger code so I think I will make a minimal example instead of sharing that, tested and produces the same output:
|
In mxconfig I changed panel_y to panel_y/2 - now it render continously, doesn't go "off-screen" half way through as before. Still renders in two places at the same time. |
Could you show the video after the change? |
Here: mxconfig set to panel_x, panel_y/2. Only other change is delay 100->10. IMG_2816_480p.movI also tried to set set mxconfig to panel_x*2, panel_y/2, now it renders only one pixel at a time as it should, but only left side (with masonry shape in the middle) was rendered.
It left unrendered horizontal strips. |
Here is the change I mentioned above:
Change in library code, after FOUR_SCAN_16PX_HIGH code:
Result: img_2817_480p.mov |
OK! I'm close now, had to change math a bit, since the resolution is not in powers of 2.
IMG_2818_480p.mp4 |
I've set the pixel base to 16.
Almost there: IMG_2819_480p.mov |
Amazing results :) |
Yeah, I fixed that and then tried to display some multicolor image and realised that the shift is different on different color channels, which is very weird. |
Could you explain how did you fixed it? Show the code? |
According to the video, it's seems that the data is lagging by one pixel, as if the first CLK edge or first data pulse was lost.
May be @mrcodetastic could help |
clkphase setting? |
sorry, I don't know. |
Update on power - for some reason my PSU outputs 5.7V on lowest V adj. setting. Maybe this is too far from the 5V? |
Do you have a 3.3->5v logic level shifter between the ESP32 and the panel? Sorry if this has been asked before. |
No, I asked if it would have any benefit in #703 |
In your case we need to test everything, so it could be worth to test a using of level shifter... .... although I see a little chances that it will help, judging by the picture. |
I'm almost certain it is the power, when I turn the voltage ajdustment potentiometer, the pixels shift, but I can't turn it lower than 5.7V. I will have a new power supply tomorrow. |
I need to buy an outdoor panel and want it to work with the library.
I asked sellers and sent them list of supported ICs asking for panels that use the same ones or similar and got recommended this panel, seller says it uses sm16208s and sm5166. They also say that "Equivalent to 138 lines decoding It is the most commonly used line decoding".
Will it work? If not, can I get a recommendation on some 160mm high outdoor screen that is tested and will work?
I also can report on some other panels I already tested:
This 80x40 flex screen does work well (I have a chain of two) with
mxconfig.driver = HUB75_I2S_CFG::DP3246_SM5368;
setting. I would use it but I need outdoor version...This 80x40 outdoor screen doesn't work at all, it's all black no matter what settings I use. Can't tell what ICs it uses as the board is waterproofed.
Edit:
Chips on the working (flex, indoor 80x40) panel:
DP245D
DP5125D
3018SDP
It works with DP3246_SM5368 driver config.
You can safely add these to the supported ICs section.
The text was updated successfully, but these errors were encountered: