Friday, October 27, 2017

Raspberry Pi Train Times @Raspberry_Pi #PiDay #RaspberryPi

Rpitraindepartures l8cH3l35AE

Super handy project and tutorial by Tony Jiang up on Hackster.io.

Use Raspberry Pi and Unicorn HAT to show when trains are departing from your station (UK).

Overview
The application connects to National Rail’s Live Departure Board API (UK) using a Python library called NREWebServices by George Goldberg.

It then displays the minutes until the next train departing for {a station specified by the user} from {a station specified by the user}. (e.g. trains departing for London Victoria from East Croydon).

The minutes until the next train are displayed on the Unicorn Hat (an 8×8 LED matrix).

Read more.


3055 06Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!

No comments:

Post a Comment