Skip to content
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

Is it possible to display static image with 128x128 display ? (MBIxxxx driver mapping) #1350

Open
antoine-nedelec opened this issue Oct 19, 2021 · 1 comment

Comments

@antoine-nedelec
Copy link

antoine-nedelec commented Oct 19, 2021

Using:

I would like to display static image on my 128x128 display.

I know that there is a refresh problem for > 64x64 displays, but I would not be bothered by laggy video.

Is it possible ? (what would I need to change in order to make it work (currently i have duplicated horizontal (0 - 63 & 64 - 127), and only displayed on 1/3 or the vertical of the display. Played with all the flags but could't yet correct the problem.

Edit 20/10:

The canvas height and width return 128, so this seems ok.

Here is the current result. I added a custom function lines that draw rectangle (here a square) of canvas with diagonals.

  • Lines 0 to 15 are blue
  • Lines 16 to 31 are green
  • Lines 32 to 47 are red
  • Lines 48 to 47 are white
    -> Rows 16 to 32 are displayed on rows 0 to 15, and rows 48 to 64 are displayed on rows 32 to 47.

Also nothing appear on rows 65 to 128

And here is the command I use for the launch :
sudo examples-api-use/lines --led-gpio-mapping=adafruit-hat-pwm --led-show-refresh --led-slowdown-gpio=2 --led-cols=64 --led-rows=64 --led-limit-refresh=100 --led-chain=4 --led-pixel-mapper="U-mapper"

Edit2:

The LED display have IC driver: MBI5166 or MBI5124 or chipone. This subject seems to have been discussed here.

I have tried both fixes, but nothing changes:

  • if (col == columns_-4) io->SetBits(h.strobe); // ICN2038S : Bird Techstep
  • Swap io->ClearBits(h.strobe); & io->SetBits(h.strobe);.

Edit 21/10:

I discovered my LED display has a HUB75E connector, so I soldered (cf this doc), E pin with 8 pin, which resulted in fixing the error on the top half part. Here is the result.

The thing is I have a 128 x 128 display and the bottom half never lit up. Here is the back of my LED display. I tried to plug the data cable into what I thought was the output for chain display, but when I do I get the exact same output as the other pic, but translated 128 pixels in the bottom.

Does this mean my display do not support chained displays ?
Does this mean I need another type of Adafruit with parallel output, and add the --led-parallel=2 flag in my command ?

@antoine-nedelec antoine-nedelec changed the title Is it possible to display static image with 128x128 display ? Is it possible to display static image with 128x128 display ? (MBIxxxx driver mapping) Oct 20, 2021
@jeroenverspeek
Copy link

@antoine-nedelec : Did you make any progress? I am having a similar problem for a 128x128 panel (issue #1713).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants