dublinbus-display
Go to file
Nahuel Lofeudo eec2311014 Improvements to the documentation 2022-12-07 18:50:26 +00:00
Enclosure Initial design of the enclosure 2022-10-09 16:52:10 +01:00
.gitignore First version 2022-09-11 11:12:51 +01:00
LICENSE Initial commit 2022-09-11 02:59:00 -07:00
README.md Improvements to the documentation 2022-12-07 18:50:26 +00:00
arrival_times.py First version 2022-09-11 11:12:51 +01:00
dublinbus_soap_client.py Another couple of comments 2022-10-08 16:38:29 +01:00
main.py Reduced verbosity 2022-12-07 18:50:10 +00:00
requirements.txt First version 2022-09-11 11:12:51 +01:00

README.md

dublinbus-sign

Emulates a Dublin Bus electronic sign, showing ETAs for different bus lines

How to use

  1. (optional) Configure the Raspberry Pi to use the non-standard display.
  2. Install all dependencies.
  3. Download the TTF font into the program's directory.
  4. Change main.py, updating STOPS to reflect the stop(s) you want to watch.
  5. Run main.py

1. Configure the Raspberry Pi

If you plan on using an ultrawide monitor with a similar aspect ratio as the actual Dublin Bus displays (e.g. HSD123KPW2-D10), add the following lines to your /boot/config.txt:

framebuffer_width=1920
framebuffer_height=720

hdmi_ignore_edid=0xa5000080
hdmi_group=2
hdmi_mode=87
disable_overscan=1
hdmi_timings=1920 0 88 44 148 720 0 4 5 36 0 0 0 60 0 100980000 1

If your display's resolution is not 1920x720, you will also need to change the code to adapt to your specific size.

2. Install all dependencies

  • iso8601
  • zeep
  • libSDL2_ttf-2.0.so.0
$ sudo apt install python3-iso8601 python3-zeep libsdl2-ttf-2.0-0
  • pygame 2
$ sudo pip3 install pygame