Brettucci
Posts: 3
Joined: Thu Mar 12, 2020 3:34 am

Connecting multiple chains of matrix displays

Thu Mar 12, 2020 3:50 am

I am extremely new to electronics projects like the one I'm doing with a Raspberry Pi, so I apologize if I do not even know the correct questions to ask. I am trying to connect multiple matrix displays to my Raspberry Pi 4. I have been following the help from the following repo.

https://github.com/hzeller/rpi-rgb-led-matrix

I think I have things hooked up correctly for one chain of displays. I really want to be able to hook up more chains, but have no idea how that is actually done. I've been looking at the following page for some help with how to wire everything.

https://github.com/hzeller/rpi-rgb-led- ... /wiring.md

That wiring page says some things for each chain like the RGB values need to be connected to their own pins on the Pi. Other things like GND, strobe, clock, OE-, A, B, C, D are said to need to be connected to the same pins on the Pi. Am I understanding that correctly? If I have 3 chains, I need to connect the strobe from all 3 to the same pin on the Pi? If so, how do you go about doing that? (Sorry. I really did mean that I was new to electronics)

I have another general question. How should I even find out the correct way to wire the pins to these external devices whether it be a display or a camera? How do I know which pins do what and where they should be hooked up on the Pi? The displays I bought have no apparent documentation included or online from what I can tell. I would have absolutely no clue where to start if it wasn't for that GitHub repository that I mentioned.

I have been a software developer for over a decade and am confident that I can write the code once I have the hardware more figured out. I just really do not know where to start with a lot of this. Thanks for taking the time to read this.

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Connecting multiple chains of matrix displays

Thu Mar 12, 2020 10:32 am

You are proving my point ,as I have said on the forum before , That you can only wright code for a project if you know how it works
The lack of understanding electronics is holding you back if you if you concentrate to much on coding and ignoring the
hardware side, If you are a software developer you should find basic electronics easy to learn All the basic electronics to learn
you will find on the Web. We don't want to have future were there more software engineers than hardware engineers.

Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

Brettucci
Posts: 3
Joined: Thu Mar 12, 2020 3:34 am

Re: Connecting multiple chains of matrix displays

Fri Mar 13, 2020 1:47 am

So in my post asking for help with learning electronics and hardware, your response is basically "learn more electronics and hardware". The point of my question is that I know so little that I don't even know where to start looking to help me learn. I looked to this forum as one of those "places you will find on the web" as you mentioned.

Not every software developer needs to know the hardware side very in-depth. That's why OSs and the APIs and frameworks they use exist. The hardware is abstracted away on purpose to make software development more efficient. If you're making a Windows application, for example, you really should not need to know how the individual pins on your boards are working. You ideally should not even need to know which specific hardware is in the computer unless you're dealing with some highly specialized software. I literally would never need this in-depth knowledge of hardware in my software development career. I'm attempting to learn this because I'm interested.

Thanks for the response, but it really does not address the question at all.

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Connecting multiple chains of matrix displays

Fri Mar 13, 2020 10:05 am

You are given the option of setting the GPIO I/P
To a impedance level that the processor can
Respond to. In its high impedance state floating
It will not sink or source a working level signal
This being a logic level 0 low or 1 high, So you
MUST set it to a working impedance level by
Setting the internal resistance 50k or using a
External resister of 10k . If you want it to respond
To a logic 1 high you connect it to the 0v rail
If you want it to respond to a logic 0 low you
Connect it to the 3.3v rail
One point is if you have the pull-up resistor
To low a value this will set the IN/Put impedance
To low , Ok for noise suppression ,but will degrade
The low input signal, ( Impedance = Resistance )
Regards BoyOh

Digest this ,It might give you some idea of what you will want to know ,when interfacing with the Pi
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

User avatar
neilgl
Posts: 2111
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: Connecting multiple chains of matrix displays

Fri Mar 13, 2020 10:19 am

Welcome to the forums. For ...find out the correct way to wire the pins to these external devices..., usually the device seller/manufacturer will have a specification for the interface, or a data sheet, or examples. A good resource for The pi GPIO is here https://pinout.xyz/. The link to github mentions custom interface boards to all three displays to be attached. Might be worth it?

Brettucci
Posts: 3
Joined: Thu Mar 12, 2020 3:34 am

Re: Connecting multiple chains of matrix displays

Fri Mar 13, 2020 2:12 pm

Thank you for the responses. I'm not going to pretend to understand everything that you have suggested, but it definitely gives me specific things to look into and learn about. Thanks! I'll post here if I have any updates on how I approach things.

Of course, any other feedback or help is appreciated if anyone else has any.

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Connecting multiple chains of matrix displays

Sat Mar 14, 2020 11:59 pm

Brettucci wrote:
Fri Mar 13, 2020 2:12 pm
Thank you for the responses. I'm not going to pretend to understand everything that you have suggested, but it definitely gives me specific things to look into and learn about. Thanks! I'll post here if I have any updates on how I approach things.

Of course, any other feedback or help is appreciated if anyone else has any.
From BoyOh
Getting Started in Electronics by Forrest.M.Mims. “One of the best books to start in Electronics” –

You will find this book very good lots of circuits to build and learn from

You will find the Forum very help full, But you must do the research your self The Forum will only point you in the right direction
and NOT designee the project for you.
Regards BoyOh I'm 88yrs and have not finished learning Retired Electrical / Electronics Technician
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5590
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Connecting multiple chains of matrix displays

Sun Mar 15, 2020 3:03 pm

@Brettucci, given that RGB matrix displays require more "work" than "single" colour devices you might find "taking a step back" and try out some of these I2C or SPI interfaced device examples which are somewhat simpler to chain (or, as I call it, cascade):
https://www.cpmspectrepi.uk/raspberry_p ... odule.html
https://www.cpmspectrepi.uk/raspberry_p ... odule.html
Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

Return to “Beginners”