Skip to content

A selection of Python programs which will retrieve live bus and rail UK open data and output it to a ER-OLEDM032 (256X64) display screen.

Notifications You must be signed in to change notification settings

jfoot/Bus-Departure-Board

Repository files navigation

Live Departure Board

Bus Departure Board for any UK Bus Stop

Bus Demostartion Display

Train Departure Board for any UK Station

Train Demostartion Display

Live Departure boards is a selection of different Python programs capable of replicating a live bus or rail departure board for any bus stop or train station (or tube station) in the UK.

Not all regions will provide live data and data quality may vary region to region. Some regions may charge for Live data, however, Scheduled/Timetabled data is free in all regions.

Project Resources

  • Full information on how to use the programs can be found in the project documentation.

  • Full information on the parts you will need such as the SSD1322/ER-OLEDM032 display and Raspberry Pi, as well as how to set it up and install the programs can be found on the project website

Programs Included

  • Reading Buses Depature Board (ReadingBusesPy3.py)- get live bus stop information for all bus stops serviced by Reading Buses, this program uses the Reading Buses API
  • National Bus Depature Board (NationalBusesPy3.py)- get live bus stop infromation from any bus stop in the whole of the UK for all bus services, this program uses the Transport API
  • National Railway Depature Board (NationalRailPy3.py) - get live train station information for any UK train station, this program uses the National Rail API
  • London Underground Depature Board (LondonUndergroundPy3.py) - get live tube station information for any London Underground station, this program uses the Transport for London API

If you're still using the Python2 versions and would like to upgrade to Python3, instructions on doing so can be found at update.jonathanfoot.com.

If you're currently using an old version of the Reading Buses program that uses the old Reading Buses API and would like help changing to the new API please read the help pages here

If you're using an old version of Pillow (9 or lower), use the files in the /legacy/ folder instead.

Bug Reporting

If you've found a bug and would like to report it please create a GitHub issue or send me an email about it and if I'm not to busy I will try to fix it.

Example Video

Watch demostration video here