Skip to content

Use the TfL API to get details of the next buses arriving at your London location (python)

Notifications You must be signed in to change notification settings

andy-pi/next-london-bus-lcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Next London Bus LCD

Use the TfL API to get details of the next buses arriving at your London location, and display it on your AndyPi HD44780 LCD. Based on work here: https://github.com/ismailuddin/raspberrypi/blob/master/tfl-bus-ticker/TfLAPI.py

Hardware

Raspberry Pi (tested on v1 B+) AndyPi LCD or compatible HD44780 LCD - direct conneciton NOT i2c (See AndyPi_LCD.py for which lcd pins connect with which RPi pins)

Installation (test on Raspberry Pi 1 B+)

Grab the repo and install

git clone https://github.com/andy-pi/next-london-bus-lcd.git
cd next-london-bus-lcd
sudo pip install virtualenv
virtualenv env
source env/bin/activate
pip install RPi.GPIO

Test the LCD module works:

source env/bin/activate
python AndyPiLCD.py

Run the program

python next-bus.py

About

Use the TfL API to get details of the next buses arriving at your London location (python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages