Tube Train/Bus Bedside Departure Board

Want to time leaving home to perfection so you arrive just in time for next train or bus? You need a departure board in your own bedroom!

Similar projects worth following
Using the TFL API it's easy to pull live train or bus departure information, which can then be displayed on a 16x2 LCD display connected to the NodeMCU ESP8266 Arduino.

Build instructions as follows:

Connect your Arduino to the LCD Display using instructions and circuit at:

Note that I use the pins_arduino.h header to specify the GPIO pins connected the display, if you're using something other than the NodeMCU/ESP8266 you should change the LiquidCrystal initialisation pins in line 23.

Test with the hello world code to make sure you can see the text on the screen.

Next up, download the code from 

Customise as follows:

1. Enter your Wifi ssid and password in lines 8, 9

2. Visit, create an account, click the email it sends to verify your address, then copy and paste the app_id and app_key in line 26.

3.  Visit!/StopPoint/StopPoint_Search to find your station / stop ID, and cut and paste into line 24.

4. If you want to filter by a particular platform, start by running the code and checking available platforms in the Serial window, then update line 27 and uncomment line 199.

5. That's it, compile and upload to your board.  You may need to restart a couple of times for it the connect and display the departures.  Check for Serial window for any errors.

  • Lots to do!

    terryspitz03/11/2018 at 12:54 0 comments

      OK so v0.1 works, but I realise there's lots to do (I've starting raising these as Issues on

      1. Check for Timetabled trains as well as Arrivals (this is important at my local station Pinner since there is often only one train into London showing in Arrivals API).
      2. Add a GUI for selecting WiFi and Password (nearly done)
      3. Add a GUI for selecting Station and Line
      4. Add support for Bus Stops
      5. Support arrival time in mins vs. actual time
      6. Add Station/Line Status check - very important!
      7. Add sleep/wake times

      I've also like to productionise the hardware: solder onto a stripboard or even learn how to design and order a PCB, add an on/off button, and build (3D print) a case.

      Anyone think I could sell these on the web???


View project log

Enjoy this project?



idlem1nd wrote 03/04/2018 at 20:24 point

I no longer consult to TfL now Terry, but thanks for the comment on my blog article. I like what you’ve done here a lot, great job!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates