Skip to content

bklevence/MBTA-Matrix-Portal-M4

 
 

Repository files navigation

MBTA Matrix Portal

Train scheduler board that displays Subway/Metro/Trains/Bus, next arrival schedules on real time based. -Enrique Gamboa @egamboafuentes .

Overview

I was compelled to start using my MatrixPortal again. I previously used it as a countdown to holidays throughout the year in my classroom, however now as an at home caretaker for my kiddo I wanted to have it as something useful for my partner who takes the MBTA daily. I found Enrique's work, but it wasn't working correctly with my setup. So I updated everything and tinkered until I got something working again that matched my MBTA stops webpage. See below for more working notes in WIP Status. For a better writeup on how to successfully tune this to your MBTA line, stop, and travel direction check out Enrique's Medium post. I may come back in the future to add that content here, but for now I'm just looking to get things working! 😎

Important

You will want to create a settings.toml file to go along with the code.py. TL;DR: settings.toml is the better version of secrets.py.

It will need to contain the following:

CIRCUITPY_WIFI_SSID = "YOUR SSID HERE"
CIRCUITPY_WIFI_PASSWORD = "YOUR WIFI PASSWORD HERE"

ADAFRUIT_AIO_USERNAME = "YOUR USERNAME"
ADAFRUIT_AIO_KEY = "YOUR PASS"
TIMEZONE = "America/New_York", # http://worldtimeapi.org/timezones

WIP Status

Links of interest

About

MBTA train schedule board for Adafruit MatrixPortal M4 with a 64x32 RGB LED Matrix. For CircuitPython 9.x.x

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages

  • Python 100.0%