The Arduino sketch tracks the Netherlands public transit ("Openbaar vervoer" or "OV") on the using the GVB websocket interface and display the results on an E-Ink screen. The small screen shows three upcoming events for the configured stops.
To customize it, edit config.h
to add your WiFi ESSID and password,
and update the halt numbers with the ones from the https://maps.gvb.nl
website.
The ESP8266 is older and less featured than the ESP32, although it was what I had on hand. The code should be portable with a few fixes to the newer architecture.
The E-Ink display works fine, although it doesn't have partial refresh, so the entire screen flashes when updating. Not as bad as the tri-color, but still a bit messy. The code could be updated for a different display as well.
The last known build used Arduino 1.8.13 with esp8266 2.7.4 installed via the Board Mananger URL.
The libraries installed via the Library Manager are:
- ArduinoJson 6.16.1
- ArduinoWebsockets 0.4.18
- Adafruit EPD 2.5.3
- Adafruit GFX 1.10.1
The D-DIN font is from Datto and is licensed under SIL OFL.
The bus, tram, and ferry icons are from Material UI.
The GVB icon is from the GVB website.