Build a Raspberry Pi powered live train station sign for your desk

Please use the thread below to discuss the related blog post:

1 Like

Hi i need some help here. How do i copy OS From github ?

Hello @gh_deedee2110 ! Thanks for joining our Forums!

If you want the fastest way to get going with balena, I recommend following the build guide closely and using Deploy with balena and your balenaCloud account.

If you’re more interested in downloading a version of balenaOS to check out, you’ll find all our latest ones here: balenaOS - Run Docker containers on embedded IoT devices

Thanks for all the info, I’ve had a quick go at making this departure board with the Ali Express screen and a Pi - all good.

Just wondering if this project can be modified to show London Underground stations - the STAND BACK TRAIN APPROACHING would be quite cool to see? I’ve set mine up purely on the Balena platform, and haven’t edited any files to make it work. I’ve got a bit of Linux knowledge, so could potentially make something else work. Thanks.

1 Like

Hello @davidf welcome to the balena community!

That should be doable if you plug the London Underground API (exist?). Check this uk-train-departure-display/trains.py at e6aa90ea77796cf548f5c3382bca03138dd2898c · chrisys/uk-train-departure-display · GitHub and let us know if you make it happen :slight_smile:

This project is great. I’ve built my first sign with the 2.8inch display, but want to go bigger. Has anyone tried this with a larger SSD1322 screen. Would love some advice on working screens (seen a couple 5.5inch SSD1322 variants).

1 Like

Hello @googanhiem welcome to the balena community!

I have on my to-do list to test different width and heights. Check here train-departure-display/main.py at 49d24c7bd1c8bba9384f72c1958d708e4cc22f74 · chrisys/train-departure-display · GitHub

let us know if you can successfully get results :slight_smile:

Hi

I have been following these instructions very carefully - but my screen is not working. I am also getting a frame rate reading through Balena of approximately 16 FPS which is confusing as nothing is showing on the screen. Where would I find the solder blob or 0 ohm resistor that may need removing from the SSD1322 screen?

Thanks

Hi
Just a quick question. Can I run this from the hdmi port to a standard monitor and if so what needs changing.

Thanks in advance.

Did you have to make any hardware adjustments to the display as described by adding a blob of solder?

Hi, this is a great idea and thank you for sharing your works. I was wondering if this its possible to get the feed for a station on the northern line or is it only possible for national rail stations?

Thanks

Hi I stumbled across this over Christmas and had lots of fun setting it up.

I’ve set everything up thanks to your instructions and used the conductive paint tip another user suggested.

The screen comes on but the variables don’t seem to work. My screen just displays Welcome to London Paddington’ and then there are 3 dots and the time below that.

I just followed the instructions and are new to all of this so some help would really be appreciated.
Thanks!

Screenshot 2023-01-13 at 13.52.55|690x304

@Green welcome to the forums and thanks for trying my project :slight_smile:

Have you tried filling in the operating hours? Admittedly if it doesn’t work with it blank there’s probably a bug to fix, but try putting in something like 8-23 in that box (which will mean the sign runs from 8am to 11pm.

Edit: would also love to see a photo of your sign in-situ when you get it working! I redesigned the whole case last year and haven’t seen anyone replicate it yet.

Hey @CuriousMuggle welcome to the forums and thanks for trying my project to you too! :grin:

At the moment it only supports national rail stations but in the future I’d love to add support for the underground (amongst other stuff), but just haven’t got around to it yet. The perfect thing to do would be to make the interface generic so it’s possible for users to add plugins to any of the local transit systems around the world.

@Green another thing that may help is to share the logs from the terminal on the balenaCloud dashboard - there might be something there that indicates what’s going on?

Hey @chrisys thanks so much for the quick reply, I did try what you’d suggested already but no luck. BUT! I changed the departureStation to ‘main’ instead of ‘service’ (what’s the difference BTW?) and it works!

Not sure how I’ve managed to get 2 more arrivals on the board I was trying to get platform 2 to show up but this is fine. I’ve attached my variables for reference plus a pic. I’ve not got a case made yet as I couldn’t get hold of a Pi zero they seem to be out of stock every where so used a spare Pi 3 I’ll probably make a case from lego as I went the non-soldered route. Thanks again @chrisys it’s a really cool project!

Oh interesting, I’ll see if I can reproduce this on my side and resolve it. Thanks for coming back with the fix!

There should be no difference between main and All services in this case since there is only one service in the app. In more complex apps it’s possible to have the same variable name with different values on a per-service basis but as I say, it shouldn’t make a difference here.

Do share your lego case here too when you get it done :slight_smile:

Once I manage to get my hands on a Pi Zero I will!

Hi guys. I’m struggling to get life out of my screen, but I think i have all the hardware set up correctly. Wondering if i have the right software on the pi. Its been years since I bought it. Under model it states Model B+ V1 2. Which device type does that come under please - I’ve previously assumed V1?