Giter Club home page Giter Club logo

Comments (9)

andytheengineerguy avatar andytheengineerguy commented on August 16, 2024

Update: Fixed it. Turns out the mapper required for this panel was a form of the ZnMirrorZStripe multiplexing pattern, just with a larger tile_height.

Marking this as closed.

from rpi-rgb-led-matrix.

bsparacino avatar bsparacino commented on August 16, 2024

@andytheengineerguy Can you share what you did to make this panel work? I believe I have the same panel and am struggling to get it to display properly.

from rpi-rgb-led-matrix.

andytheengineerguy avatar andytheengineerguy commented on August 16, 2024

hi @bsparacino, sure, happy to help.

I found out (with no help from the suppliers or the non-existant datasheet.. ๐Ÿ˜‚!) that the panel almost worked with a ZStripeMultiplexMapper configuration, with even- and odd- block offsets set to 4. But the height was still funky (as shown in the screenshot of my original message).

To fix this, the tile_height needs to be 13 (not 4, which is the original value), as shown:
image

So...

  1. Change height to 13
  2. Register a new multiplexer mapper image
  3. Re-make the codebase
  4. Run the rotating square demo using --led-multiplexing=19

Once you've confirmed this solution actually works, I'd recommend modifying the ZStripeMultiplexMapper class in order to preserve the existing mappings that depend on it. I achieved this by adding the width and height as variables that you pass into the constructor. So then we can pass our new height of 13 while still utilizing the existing ZStripeMultiplexMapper class.
image

When you do this, don't forget to update all the other registrations with their default tile sizes (8 and 4)
image

Come to think of it I will probably do a PR for this change.

Good luck, lmk how you go.

from rpi-rgb-led-matrix.

bsparacino avatar bsparacino commented on August 16, 2024

What parameters are you using to run the demo? When I run it with multiplexing 5 it is similar to your initial image. But with your code added I am not ending up with the corrected image.

./examples-api-use/demo -D 0 --led-gpio-mapping=adafruit-hat --led-cols=104 --led-rows=52 --led-row-addr-type=0 --led-multiplexing=19
image

./examples-api-use/demo -D 0 --led-gpio-mapping=adafruit-hat --led-cols=104 --led-rows=52 --led-row-addr-type=0 --led-multiplexing=5
image

from rpi-rgb-led-matrix.

andytheengineerguy avatar andytheengineerguy commented on August 16, 2024

Hmm. Strange. Your panel looks the same in terms of specs (resolution, scan rate, size) but the physical construction is definitely different than mine. Different locations of the IDC connector (maybe different LED driver chips?) etc.

We are using different electronics. I'm using an RPi4 with an active-3 hat from electrodragon.

I just ran the demo with the following and it worked ./demo -D 0 --led-gpio-mapping=regular --led-cols=104 --led-rows=52 --led-slowdown-gpio=4 --led-row-addr-type=0 --led-multiplexing=19
375021560_779879780574895_5363056622137742043_n

Just re-ran the 5 pattern, we are definitely getting similar results for 5 ./demo -D 0 --led-gpio-mapping=regular --led-cols=104 --led-rows=52 --led-row-addr-type=0 --led-multiplexing=5 --led-slowdown-gpio=4
375019634_252345181098337_3195114032820448922_n

from rpi-rgb-led-matrix.

andytheengineerguy avatar andytheengineerguy commented on August 16, 2024

I have not used the adafruit hat before. The only other thing I can think of right now is the connector type - is it HUB75 or HUB75E? If it's E, you might need to enable the E line with some soldering/jumpers on the hat (I needed to do that with different 128*64 panels I brought up using this library)

But for these 104*52s specifically, they are regular HUB75s, so I didn't need to worry about it.

from rpi-rgb-led-matrix.

bsparacino avatar bsparacino commented on August 16, 2024

About 20min ago I actually soldered the E line on the hat which resulted in the photos I posted, before I did that it was a total mess.

from rpi-rgb-led-matrix.

bsparacino avatar bsparacino commented on August 16, 2024

Well I must have different modules, this function solved it for me
#1499 (comment)

from rpi-rgb-led-matrix.

andytheengineerguy avatar andytheengineerguy commented on August 16, 2024

Out of curiosity I just tried the mapper from #1499 (comment) and got a similar vertically-jumbled pattern to what you started with. So, yep, different panels indeed. At least its consistent:
image

Well, glad you got yours working, and good to know that if I ever need an alternative for these 1/13, 104*52 panels, I know which mapping to use ๐Ÿ’ช

from rpi-rgb-led-matrix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.