← back
on my desk 2023 CC BY-NC-SA 4.0 ESP8266 · C++

Bus Wait Display.

An ESP8266 on the desk polling ATM Milano's GiroMilano endpoint every five seconds, parsing JSON on-device, rendering next departures on a 16×2 I²C LCD.

Architecture.

Wi-Fi on boot, HTTPS request per cycle, JSON parsed on-device with ArduinoJson, diff-only writes to the LCD — only changed characters are sent over I²C, which avoids visible flicker and reduces bus traffic over long sessions.

Wiring.

VCC
3V3
GND
GND
SDA
D2
SCL
D1

Dependencies.

ESP8266WiFi, ESP8266HTTPClient, WiFiClient, ArduinoJson, LiquidCrystal_I2C.


Source: github.com/lindaniele/bus-wait-display.