A Private View Of A Public Transport Sign

A Private View Of A Public Transport Sign

[Stefan Schüller] was a lover of the LED indicators that display arrival info for the trams and buses in their city of Zürich. [Stefan] was obtaining difficulties discovering a resource to obtain the signs so, alternatively, made the decision to establish a single himself.

[Stefan] made a decision to recreate the 56×208 solitary coloration 2mm dot pitch show with an 128 x 64 P2 RGB LED display screen respecting the exact same 2 mm pitch. The display is driven by an ESP32 DMA RGB LED matrix defend using a HUB75 RGB LED matrix library, all being run from a 5 V 4 A ability provide.

In addition to driving the LED matrix exhibit, the ESP32 polls Zürich’s public transportation API and then parses the XML for the appropriate info. Given that [Stefan] desired to match the fonts as carefully as attainable,
he developed a new font from scratch, such as the bus and accessibility icons. The new font was encoded into a glyph bitmap distribution structure (BDF) that was then converted to do the job with Adafruit’s GFX library, with [Stefan] generating a customized conversion resource, identified as bdf2adafruit, to do the last leg of the conversion.

Given that the LED matrix experienced whole colour ability, [Stefan] decided to add a minimal further flourish and shade code the transportation lines with the official tram hues. All source code is out there on his GitHub repository for the task, for people wanting for far more depth.

We’ve highlighted Diy builds of community transportation feeds in advance of. With the ubiquity of very low value RGB LED shows and general public APIs, with any luck , we’ll see a lot of a lot more!