Skip to content

Raspberry Pi project that displays on a mini lcd the time it takes to get to given destinations by car.

Notifications You must be signed in to change notification settings

fmmagalhaes/travel-time-raspberry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travel Time Raspberry

This repository aims at providing periodic information about the duration of a car trip to given destinations, taking live traffic into account. This was achieved by using a mini LCD connected to a Raspberry PI.

The communication with the LCD was done through the interfacing made available by The Raspberry Pi Guy.

The travel information comes from TomTom Routing API.

Setup

Install dependencies

pip install requests
pip install schedule

Run in the console

To run this in the console, simply run
python console_travel_time.py

Run on Raspberry Pi

  1. Follow this installation guide to setup the drivers for the LCD communication
    https://github.com/the-raspberry-pi-guy/lcd#Installation

  2. Register in TomTom for developers and get your API key, to replace the one in apikey file.

  3. Change the coordinates in coordinates.json

  4. Run python lcd_travel_time.py

Updated travel times will now be shown in your lcd every 10 minutes. Make the necessary adjustments to edit the periodicity at your own will.

About

Raspberry Pi project that displays on a mini lcd the time it takes to get to given destinations by car.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages