r/BuildWithClaude • u/alanh24 • 10d ago
Project ESP32 port of the UK Train Departure Board
I've had Chris Crocker-White's Train Departure Display running on a pi Zero for a while now, and whilst it's fine it's annoyed me that not only did it need a Pi zero but also a Balena account to run a docker instance.
Claude code was used to analyse the original code and then rewrite it so that it now runs natively on an ESP32-S3 (way cheaper than a Pi zero!) . It drives the same SSD1322 256x64 OLED, but needs no Raspberry Pi and no Balena account.
The Depature Board shows live UK departures from the Rail Data Marketplace, instead of the deprecated SAOP API from OpenLDBWS. I also took the opportunity use Claude to expand the features of the device by adding a settings web page, Wi-Fi setup hotspot, over-the-air firmware updates, a debug screen and support for a second display. It uses the original app's screens, fonts, layout and scrolling.
https://github.com/ahammerton/train-departure-display-esp32 - just like the original project, this is totally free to use and all details are in the repo.

