Skip to content

Display departure times of MBTA commuter rail from Forest Hills to South Station. Schedules displayed on an SPI/I2C oled display and a countdown clock on a 4 number 7 led I2C clock.

License

Notifications You must be signed in to change notification settings

Roco-scientist/MBTA_microcontroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

The purpose of this repo is for code that will report to a mini clock display the next arriving train to forest hills station.

  • First prototype on the easiest system. Python and raspberry pi pulling from MBTA API
  • Then rewrite python code into Rust along with drivers
  • Repurpose Rust code to specialized ARM based microcontroller

Conclusion

Because of the reliance of this script on time, an internet connection, and a web API, it does not seem to be a good fit for bare metal embedding where local time does not exists and adding a web interface is complex. For the microcontroller, I've included the Rust code up to the point where I gave up. It is not fully functional though.

I may come back to this with a DS3231 RTC module and an ESP8266 WiFi module.

 ""

About

Display departure times of MBTA commuter rail from Forest Hills to South Station. Schedules displayed on an SPI/I2C oled display and a countdown clock on a 4 number 7 led I2C clock.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published