A Raspberry Pi Pico 2W with 16x2 LCD Screen NYC MTA One-stop Bus Tracker
Every morning will you be going to the same bus stop? Pain to look up on your phone. This little device will update you on arrival times for your near-to-home (or work) MTA bus stop. Once set up initially, all you have to do is plug it in.
Note: Project uses Micro Python and Thonny as IDE

- Get an API key from the MTA
https://register.developer.obanyc.com/ - Instead of an .env (dotenv library space constraints) make a
my_secrets.pyfile with:- API_KEY=
- STOP_ID= i.e. 401608
- KNOWN_NETWORKS={'ssid':'password', etc}
LOCAL_OFFSET = -4 * 60 * 60 # for EDT (UTC-4) NYC!
- Hardware:
- I2C LCD1602 - uses 5 volts
- Raspberry Pi Pico 2W
- USB cable
First time, be able to connect via wifi to pico to set wifi credentials and pick a bus stop.
FYI: https://www.mta.info/developers to get bus GTFS (bus stop lists)
by Nick Golebiewski https://github.com/ngolebiewski/py_starter
Activate:
source .venv/bin/activateDeactivate:
deactivate