Skip to content
 
 

Latest commit

 

History

68 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Metrobox

Based off of https://github.com/TokyoExpress/metrobox. Source code and build for a miniature WMATA Metrorail train arrivals board for an Arduino Uno R4 Wifi and a ILI9341 chipset display instead.

494856235_698844399746148_1401936910194309229_n 1


Parts and Build

To make this yourself, you will need the following

Altogether the total cost should come out to around $50-55.

components

Uploading Software

  1. Install the Arduino IDE.
  2. Install the Arduino Uno R4 Boards platform into Arduino IDE Boards Manager
  3. Add libraries WiFiManager, ArduinoJson, MCUFRIEND_kbv, and Adafruit GFX Library.
  4. You are now ready to begin uploading sketches to the board. To start, ensure that the Arduino UNO R4 Wifi is recognized by Arduino IDE when plugged into the computer.

Make sure for the following steps that your Serial Monitor baud rate is set to 9600.

Configuring the Metrobox

Obtain a WMATA API key

  1. Sign up for an account at https://developer.wmata.com/signup/ and verify your email. Once you have an account, go to Products -> Default Tier and subscribe a new product in the section shown below (the name does not matter).
  1. You should be taken to the Profile page, where you can access your new API key. Keep this page open.

Find Your Station Code

Find your station name's corresponding 3-digit code in wmata_station_codes.csv. Some stations have multiple platforms, so be sure you choose the correct platform with the lines you typically take. Keep this page open as well.

Update arduino_secrets.h

Open Arduino IDE and open matt_metrobox.ino. Switch to tab named arduino_secrets_template.h. Update the Wifi Credentials, the API key and the Station Code and rename the file to arduino_secrets.h. Screenshot 2025-07-04 at 6 14 50 PM Screenshot 2025-07-04 at 6 15 00 PM Screenshot 2025-07-04 at 6 10 12 PM

Upload matt_metrobox.ino

Open matt_metrobox.ino and upload the sketch.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages