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

Departure board on steroids.... #67

Open
Stavrosi opened this issue Mar 2, 2022 · 20 comments
Open

Departure board on steroids.... #67

Stavrosi opened this issue Mar 2, 2022 · 20 comments
Labels
enhancement New feature or request

Comments

@Stavrosi
Copy link

Stavrosi commented Mar 2, 2022

Hey Chris, hope you're keeping well chap.

I stumbled across your awesome Pi train departure board project after a random conversation with a mate over the weekend. It got me thinking that it would be very cool if I could, for his birthday, make him a nice display to go on the wall of his pub to display the train times (his pub is right next to our local station). However, to make this useful, it would need to have a much bigger screen attached to it (something like an 11.9" HDMI connected panel for instance). My fear here is that simply outputting the data to an "normal" screen would mean it would lose all of it's authenticity therefore, a larger matrix style screen would really make it pop!

I've seen (in the comments) someone else asking about this however, with my very limited knowledge, I'd have no chance of getting it working with a different type of display. To this end, I was just wondering if you were aware of anyone who may have already tackled this or, perhaps there's someone you know that could maybe take a look at it?

Kind regards,

Steve.

@chrisys
Copy link
Owner

chrisys commented Mar 2, 2022

Hey Steve, that sounds like an awesome project!

What's your experience like with assembling electronics? Could we use something like this? https://www.amazon.com/Indoor-128x64-Module-256mm128mm-256128mm/dp/B0869P1DCH

I think it would be possible to use 2 of the above to create the same 256x64 matrix as the small OLED screen, and make something pretty awesome to go in the pub. The above would give you a 500mm wide display. If you're up for it I'd be willing to figure out what would be the right panels to get and make sure the software works with them, but of course the assembly and hardware side of things would be up to you. Honestly there may even be a cheaper version as that one is full RGB and we obviously only need one colour.

Using HDMI monitors is possible - you'll note there's an open PR in the repo on GitHub which adds this, but I don't think it looks anywhere near as impactful, and I've been resistant to merge the changes into the project as it adds a lot of bloat to the software.

What I would ask though is that we move the discussion to an issue on the GitHub repo so everything is in the open and other users of the project can see and contribute as well though.

Let me know your thoughts.

@chrisys
Copy link
Owner

chrisys commented Mar 2, 2022

The above is an exchange Steve and I had in direct messages on Hackster, but he very kindly shared it here on my request so we can have the discussion in public.

He confirmed he is handy with electronics and assembly and stuff so maybe we can make the LED matrix version a reality 😁

I've started to do a bit of research and think it would be simplest if we retain the same display dimensions of 256x64 to match the existing OLED screen. To that end I found the following 128x64 panels, of which we'd need two: https://www.aliexpress.com/item/4001243453555.html

It actually seems easier to source RGB panels than single colour panels these days - unnecessary, but at least we'd be able to offer a choice of colour for the sign.

It then seems this library is the de-facto for driving these displays from a Pi: https://github.com/hzeller/rpi-rgb-led-matrix

The next point to consider is how we support driving these matrices given that the current implementation is heavily integrated with Luma.OLED. I'll continue to look into it as and when I get a chance, but I may order a couple of those matrix panels anyway as they are currently giving a delivery date in April.

@chrisys chrisys added the enhancement New feature or request label Mar 2, 2022
@chrisys
Copy link
Owner

chrisys commented Mar 3, 2022

I ended up ordering a couple of those displays, I'll give it a try when they turn up and see how it works out 👍

@Stavrosi
Copy link
Author

Stavrosi commented Mar 3, 2022 via email

@chrisys
Copy link
Owner

chrisys commented Mar 3, 2022

Up to you Steve but no guarantees we can get it working at this stage, I mean to a certain extent it's just software so I am sure we can figure something out, but you may want to hold off.

@chrisys
Copy link
Owner

chrisys commented Mar 3, 2022

Just as an additional bit of info, I was going to get a 5V 12A PSU from Amazon but you can of course get it from AliExpress as well. I'm not sure on what else will be required yet, it will likely be something in the form of a 16p IDC ribbon cable header on a little PCB with a 40p header that plugs into the Pi. Again I'll probably get that stuff from a local supplier once I can get a prototype working.

Since these displays are so huge I'd probably just use a Pi 4B for this. The main reason for using a Zero is that it fits behind the display in the miniature version. We may also benefit from some extra horsepower to drive the matrices.

@chrisys
Copy link
Owner

chrisys commented Mar 23, 2022

Screenshot 2022-03-22 at 20 42 16

Hey @Stavrosi I got a proof of concept going! Will work on polishing it up and making relevant PRs. 👍

@GOTO-GOSUB
Copy link

Now that is looking good.

@Stavrosi
Copy link
Author

Wow.... cracking work Chris, that looks amazing chap!!!

Have you spent many hours swearing at the computer or did it all play nicely?

Steve.

@chrisys
Copy link
Owner

chrisys commented Mar 23, 2022

It looks so good! There's something oddly satisfying about miniaturising something then making a bigger version of it again 😂

It's all relatively simple stuff, the main piece of work is adding support for these displays to the luma.led_matrix library (for which I'm creating a PR), then some minor tweaks to this project to utilise that.

A note for @Stavrosi though, you'll probably need a board like this: https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/adapter/active-3

I've connected the displays directly to the GPIOs on a Pi 3 for testing but get some flickering. I am assuming this will be resolved by one of the above boards, so I have ordered boards and parts to make a few. If they all work OK I'll happily offer any extras to people building this project for parts + shipping costs.

@chrisys
Copy link
Owner

chrisys commented Apr 6, 2022

@Stavrosi my PCBs and parts for the active-3 board are due to arrive within the next few days - do you want me to assemble an extra board and ship it to you for testing?

@chrisys
Copy link
Owner

chrisys commented Apr 18, 2022

PCBs arrived at last! Still waiting on components.

IMG_9394

@chrisys
Copy link
Owner

chrisys commented May 18, 2022

At last my component orders have arrived so will put together some boards and keep testing. Do you need me to send you a completed board if it works OK @Stavrosi ? I have 5 PCBs so much more than I need :)

@mattanorak
Copy link

Hi @chrisys - Just wondering how you're getting on with this. I'd be interested in a kit list and instructions for putting one together if you've got it working.
Is that a colour LCD board? If so, are you planning on multi colour or just the one colour?

@chrisys
Copy link
Owner

chrisys commented Jul 1, 2022

@mattanorak sorry I've not had a chance to push this forward any more yet, but yes it is an RGB LED matrix panel, so in my proof of concept had coded it so you can specify the colour of the display with an environment variable (single colour).

@mattanorak
Copy link

Hi Chris - did you get any further with this? Would love to have this in a larger version after having the mini!

@Stavrosi
Copy link
Author

Wow, it feels like so long ago that we first started chatting about all of this. I had to go away with work for a few months and completely lost the thread on this when I returned. I'd still very much like to get the large format up and running - it seems that stock of Pi Zero 2W's is now levelling out a little so just ordered one too.

@mattanorak
Copy link

mattanorak commented Aug 23, 2023 via email

@christopherpm
Copy link

If the large version works, please post details - I'd love to build it!

@chrisys
Copy link
Owner

chrisys commented Apr 1, 2024

Sorry guys some stuff came up; I still have all the hardware for this and do intend to get back to it one day!

If anyone wants to hack on it though all you need is here: rm-hull/luma.led_matrix#275
And here: https://github.com/hzeller/rpi-rgb-led-matrix/blob/master/wiring.md

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

No branches or pull requests

5 participants