This is ESP-8266 code that updates a small SSD-1306-based display with the next two predictions. It measures 1" x 1" and costs <$10USD.
Demo Video
- ESP8266 microcontroller, like a Wemos D1 Mini
- SSD1036 OLED display, like a Wemos OLED Shield. You can stack this shield on top of the Wemos D1.
- Wifi connection
- platformio
pio lib install 13
- Change
config.h
to match your Wifi and MQTT settings - Go to nextbus.com, enter your stop information and change the other constants
- Enter the time it takes to walk to your stop as MIN_WALKING_TIME. The display won't show any predictions less than this time.