-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Control matrix 64x32 with mbi5153 (icn2053) led driver ic #466
Comments
I have not seen such panels yet. Do you have a link to a source ? |
I can make photo pcb of this matrix. |
Photo of new P5 64x32 module Here is some datasheets Comments Updated this post (upload datasheet ICN2053 led driver chip) |
Hi @kbateam this is off topic but I would like to know if the old p5 display you bought was this one or an equivalent? This is because I want to buy this one. The drivers are the same so I think they are the same but I am not sure. Also, what does only "transform passed" mean in your first post? I am sorry this is off topic but I could not find your email or any other way of contacting you :| Thank you for your help in advance |
To @raphy1234
It means for right working this led matrix module on project which wrote hzeller need wrtie Here is my transform for modules that i have P5 64x32 1/8scan outdoor based on icn2038 ic led driver (MBI5038) |
Countinue for my theme |
Interestingly, on this document http://pmod86499.pic35.websiteonline.cn/upload/Q4F32V1.pdf there is a Can someone who has such a panel try to pull 16 high, by connecting that pin with 5V ? |
@birdtechstep can you try if changing the logic level on Pin 16 changes anything ? |
@hzeller chip select (cs pin) active low |
@hzeller My friend dev. on stm32 said SetBits strobe hi on columns_-4 (led_width-4) |
can you elaborate? The only place where things are strobed is already high logic. |
add lib/framebuffer.cc (line 587 ) work.
|
Interesting. This looks like it requires further digging in the datasheet what they actually need there because it looks like if it works that it is by accident. If we have decoded the full thing we can recreate it by making a new RowAddressSetter for this kind of panel. Can others confirm that this improves the situation ? |
Is there a place where I an buy a panel with that chip, so that I can look into supporting it with the library ? |
Great! @hzeller and @birdtechstep : i did a quick check and above patch seems to work with mine (same 2038s led driver). shall perform more test and let you know the result! |
@hzeller : you can find the P3 that has ICN2038s led driver as following link, |
@hzeller : I have just quicked check all demo example from your library, and it seems working well with my board mentioned in #539. color display as expected, no flickering (i using gpio slow = 1) what i'm curious is some body on the top comment of this topic, said with P5 64x32 the same code works with the same chip (2038s), however some others with 64x64 says its not. apart from that, what is the meaning of the patch as @birdtechstep shared? (sorry i'm still on the way to study your library). |
Yes it's works without any modification
|
Without further datasheets that explain the protocol to the displays it is hart to tell, maybe what is happening underneath is that the strobe pulse actually is negative logic, not positive logic, so pulling up the signal before the strobe will create that situation. |
In that case, swapping the lines in from
to
would help as well. Can someone who has such a display try if this works as well ? I need to get to the bottom of this so that we can support this in the standard library; the columns-specific thing looks very specific and probably not necessary. Also, I still would like to know where to buy such a panel to do experiments with. @hoangphan the ali-express shop you mentioned: their minimum order is 40 items which I don't have the money for. |
@hzeller : i checked your mentioned patch but unfortunately the panel is not lighted up. stay dark without the line from the datasheet as link http://www.xlix.ru/datasheet/icn2038s.pdf I'm trying to map it with the way you programmed software. |
@kbateam : how did you get the datasheet for these led drivers? i looked into the icn2038s datasheet, but it seems too many typo and confusion. is it possible to get the official datasheet from the Chinese company (i.e. Chipone)? |
@hzeller : i think i know the reason why with the attached snapshot of datasheet, the STROBE pin of panel (that has ICN2038s led driver) - is not simply a STROBE pin, it serves as a command parser, which also cover the LATCH data in. as you can see, in order to latch a data out, we need to pulse the strobe pin high in the 3rd clk pulse OR the 12th pulse. that's why the patch above works. let me know if you agree with this. and if yes, kindly share your thought about how to make this patch generic into your standard library. |
@hzeller, here are some panels that have icn2038 make sure to pick the icn2038 option though https://m.aliexpress.com/item/32784851966.html?trace=wwwdetail2mobilesitedetail&productId=32784851966&productSubject=P5-led-video-panel-nationstar-rgb-full-color-320mm-160mm-1-8-scan-outdoor-SMD-3in1&spm=a2g0s.9042311.0.0.ZfkLbb |
I got it form china reseller
|
I see there is a key of similarity between the icn2038s (pay attention to the S) and icn2053: they have LE pin functions as a command parser, as below snapshot. If LE is raised after 12 CLK pulse, it means enable all output channels. The same for icn2038S, if LE is raised after 12 CLK pulses, data is copy to reg2 - which relevant to the dual latch feature of the ASIC |
@Jan1503: not speaking for him directly, but watching from the outside, Henner has been busy with other things in the last year+ and hasn't had much (any?) time to work on this project, so it may be for someone else to do if they are interested. |
@marcmerlin Yeah, I know. No pressure here. |
I found this archive on a chinese document website. it contains application notes, registers, and timing information for a bunch of different driver chips. The docs are all in chinese, but should be translatable with google translate. The text along with it translates to: "Common LED control driver chips with register setting information: such as icn2038s, icn2053, mbi5151, mbi5152, mbi5153, mbi5169, mbi5170, mbi5224, mbi5324, mbi6023, etc." I'm poring over it right now, hopefully the data will be useful for others, too. |
@wata-net This is very useful. I am working on a self-made ESP32 card. Right now I am trying to add support for the ICND2069 but so far I get absolutely nothing out of it. Which commercial control card did you use to get the trace for the ICND2153? I am planning on buying a commercial card that support the ICND2069 and probe it myself for reverse engineering purpose but its hard to see which one does support it. Any help would be appreciated. |
Hi @wata-net You wrote:
What does it mean? What should be the frequency of the DCLK signal comparing to GCLK ? How many signals per single row? I tried to work with FM6363 as FM6353 - with DCLK running during greyscale data uploading only. I can see a picture on the panel, but with low brightness and some artefacts on it.
Can you tell what the problems were? |
Hi @wata-net
I done it that way: I got an image on the FM6363 panel. My hardware: MCU: STM32F103C8 @72MHz |
So I found out a company was going to bin hundereds of LED modules (weird 78x78 pixels resolution) from an large install, and managed to save most of them just at the right time. From a rough count, I have around 240 of them in boxes but am struggling to get them to work with ESP32 or Raspberry Pi. They are MBI5153 drivers which is why I am posting it here. |
I can post the source code if you want. |
That'll be amazing @PhantomRay !!! |
Will do it tomorrow. Now it's 3am here. |
@drvkmr |
I have seen it working with Novastar MRV-210 cards, trying to get one of them to try out. |
Source code for ESP32. No support will be provided. https://github.com/PhantomRay/stm-led-esp32 Raspberry Pi Version: |
@PhantomRay thanks for providing source code. I am willing to compensate you for your time to solve this issue. |
i was not the person who wrote it. Check the commits. The author used to work for my project. He is a pro in this area and willing to take paid work for a fee. |
@PhantomRay hi ray, I can pay please contact me. +17865304247 telegram |
denissra is interested. He did the work. |
How I contact him? @PhantomRay @denissra |
Hi. hugojgl. If you want my help, please send a mail. |
I wrote a proof of concept code for mbi5153 panels https://github.com/mrfaptastic/ESP32S3-MBI5153-DMG1075 I can't give support for this. |
Hi @pryankster It’s a long shot, bought a panel with the same pixelcount/dimensions. The seller claims that the driver chips work identical to FM6363’s although they are SM16380SC’s. It has the same amount of chips, also the 74HC245KA‘s. Did you ever manage to get them to work? I have the arduino pi hat, the joy-it matrix ctrl and the dragon hat on the way.
|
At least the MBI5252 datasheet is pretty clear: https://www.lcsc.com/datasheet/lcsc_datasheet_1809031521_MBI-MBI5252GP-A_C261127.pdf Will be doing experiments with these soon as I have aquired a stack of modules with minor defects. |
And app note: https://www.neumueller.com/download/MBI5051%20MBI5052%20MBI5053%20Anwendungshinweis%20-%20Application%20Note.pdf apparently these are quite different from the traditional hub75 modules. |
Get a cheap ESP32-S2 or S3 and try with this: https://github.com/mrcodetastic/MBI5153-DMG1075-MatrixPanel-DMA |
Does anybody sucessfull make control led matrix 64x32 with mbi5153 (icn2053) led driver ic
New matrix P5 64x32 comes with new IC led driver (Same as P2.5 matrix)
P5 Matrix with mbi5038 (icn2038) ic led driver works fine on this project (only transform passed)
Any idea ?
Thanks.
The text was updated successfully, but these errors were encountered: