Skip to content

Use Raspberry Pi to power a RBG Matrix Display to show BART Arrival times

License

Notifications You must be signed in to change notification settings

fsargent/BARTSign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BARTSign

Use Raspberry Pi to power a RBG Matrix Display to show BART Arrival times.

image

See the movie: https://imgur.com/gallery/my5vVdl

Buy The Parts

Wire the Boards

Follow these instructions by the maker of the RaspberryPi RGB Matrix Library. I've edited the defaults of base.py to assume you're using 3x 16x32 boards. Inspect base.py to change these defaults, or via flags. It's predictable.

Setup the Code

sudo apt-get update && sudo apt-get install git python3.7-dev python3-pillow libtiff-dev  zlib1g-dev libfreetype6-dev liblcms1-dev libwebp-dev tcl8.5-dev tk8.5-dev -y
pip install --user pipenv
git clone git@github.com:fsargent/BARTSign.git
cd BARTSign
# Setup https://github.com/hzeller/rpi-rgb-led-matrix/tree/master/bindings/python
git clone https://github.com/hzeller/rpi-rgb-led-matrix.git
pipenv run make -C ./rpi-rgb-led-matrix/bindings/python build-python PYTHON=$(which python3)
pipenv install '-e ./rpi-rgb-led-matrix/bindings/python' # runs setup.py install for pipenv
pipenv shell
echo "API_KEY=XXX-XXX-XXX" > .env # Get a BART API key from http://api.bart.gov/docs/overview/index.aspx
# Run it!
sudo pipenv run python3 bart.py
$ sudo pipenv run python3 bart.py -h
optional arguments:
  -h, --help            show this help message and exit
  -s STATION, --station STATION
                        Display BART station. See http://api.bart.gov/docs/overview/abbrev.aspx.
                        Default: 19th
  -p PLATFORM, --platform PLATFORM
                        Which platform? Optional 1-4

About

Use Raspberry Pi to power a RBG Matrix Display to show BART Arrival times

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published