an RGB LED display showing expected arrival times of trams and buses sitting on a table

A Private View Of A Public Transport Sign

[Stefan Schüller] was a fan of the LED signs that display arrival information for the trams and buses in their city of Zürich. [Stefan] was having trouble finding a source to purchase the signs so, instead, decided to build one himself.

[Stefan] decided to recreate the 56×208 single color 2mm dot pitch display with an 128 x 64 P2 RGB LED screen respecting the same 2 mm pitch. The display is driven by an ESP32 DMA RGB LED matrix shield utilizing a HUB75 RGB LED matrix library, all being powered from a 5 V 4 A power supply.

In addition to driving the LED matrix display, the ESP32 polls Zürich’s public transportation API and then parses the XML for the relevant information. Since [Stefan] wanted to match the fonts as closely as possible,
he created a new font from scratch, including the bus and accessibility icons. The new font was encoded into a glyph bitmap distribution format (BDF) that was then converted to work with Adafruit’s GFX library, with [Stefan] creating a custom conversion tool, called bdf2adafruit, to do the last leg of the conversion.

Since the LED matrix had full color capability, [Stefan] decided to add a little extra flourish and color code the transportation lines with the official tram colors. All source code is available on his GitHub repository for the project, for those looking for more detail.

We’ve featured DIY builds of public transportation feeds before. With the ubiquity of low cost RGB LED displays and public APIs, hopefully we’ll see many more!

Trigger Your Home Automation Routines With Home Buttons

Home automation systems are all well and good, so long as the person who built it all is around to drive it. Let’s face it, they’re quite often a complex web of interconnected systems, all tied to the specifics of one’s home — and someone less familiar with it all could get a little irritated if, on a chilly day, the interface to the boiler is via a Python script, and something won’t work. Just saying. Home Buttons by [Matej Planinšek] over on Hackaday.IO is a nicely polished project, which aims to take some of the hackiness out of such automation by providing a sleek front end to those automation routines, enabling anyone to rock on over and set one in action without hassle.

Internal PCB shown in the foreground, with the complete unit behind.The PCB is based around the ESP32-S2-mini which deals with WiFi connectivity and integration with Home Assistant using the usual MQTT protocol. We expect integration with other flavors of home automation would not be difficult to achieve. The center of the unit holds a simple E-Ink display, for that low-standby power. Specifically, the unit chosen is a Good Display GDEY029T94 2.9″ which this scribe can confirm is easy to interface and pretty cheap to purchase from the usual Chinese online vendors. This was matched up with six clicky Alps SKRB-series low-profile tact switches, which sit on either side of the display, and corresponds to a flexure-type affair on the 3D printed front casing. Neat and simple.

The PCB design was provided in Altium format, which you can find on the project GitHub page. This shows a straightforward design, with a few nice little details here and there. The internally mounted 18650 cell is reportedly good for at least a year of operation, but when time, it can be charged via USB. A Xysemi XB8608AF (PDF) protection chip provides appropriate limiting for the 18650 cell, shielding it from the perils of overcharging, discharging, and whatnot. Not that that is likely in this current setup. A Sensiron SHTC3 humidity and temperature sensor is also in there, hanging off the I2C bus, which makes sense for this application.

Home Automation hacks are plenty on these pages, like this scroll-wheel interface, for instance. If all this stuff is looking quite overbearingly complicated to get into, how about starting with a Pico W?

The demo toot screenshot, showing a text-only message sent from the ESP32 using the library.

Moved Off Twitter? Make Your ESP32 Toot

Since Twitter was officially taken over by Elon Musk a few days ago, there’s been significant staff cuts, a stream of questionable decisions, and uncertainty about the social media platform’s future. So it’s little surprise that a notable number of people, those in the tech and hacker scenes in particular, have decided to move over to (or at least bridge their accounts with) the distributed and open source Mastodon service.

Of course, the hacks would follow closely, and [Toby] shares a simple ESP32-based Mastodon client library for us to start with. Instead of “tweets”, messages on Mastodon instances are called “toots”, in line with the platform’s mammoth-like mascot. The library, called Luyba, is able to send toots and includes a demo firmware. Built using C++ and with support for Platform.IO, it should fit into quite a few projects out there, letting you easily send toots to whichever instance you find your home, as the library-aided demo toot shows.

What could you do with such a library on your MCU? Turns out, quite a few fun things – a home automation interface, a critter trap, an online BBC Basic interpreter, or, given image support, a camera that tweets whatever it’s pointed at. There’s quite a bit of fun hackers can have given a micro-blogging service API access and a bit of code that works with it. That said, for all the good that Twitter brought us over the years, there’s a lot that Mastodon can easily do better, between easily game-able “Trending” sidebar, bias found in auto-cropping algorithms and disarrayed internal security policies.

Laser Projector Relies On Steppers Rather Than Galvanometers

Laser light shows have always been real crowd-pleasers. There’s just something about the frenetic movement of a single point of intensely bright light making fluid animations that really captures the imagination. Large-scale laser shows require a lot of gear, of course, but that doesn’t mean you can’t get in on the fun yourself using something like this homebrew X-Y laser projector.

This is actually [Stanley]’s second pass at a stepper-based DIY projector; we featured his previous build back in 2016. This time around, he wanted to move beyond the “module mix-and-match” style of construction, so rather than use an Arduino and stepper shield, he rolled his own controller PCB to hold an ESP32 and a pair of STSPIN220 stepper drivers. The business end of the new version saw improvements, too — given that he was seeing unwanted softening of corners and curving of straight lines in the first projector’s images, he opted for smaller steppers holding smaller mirrors this time around. There’s also a new 3D printed chassis to hold everything, simplifying the build and keeping the two mirrors in better alignment.

The video below has the build details and some nice footage of the projector in action — it’s hard to go wrong with lasers and smoke. The performance seems pretty good, so the improvements seem to have paid off. And for those of you tapping out your “Should have used galvos” comments below, relax; [Stanley] says he’s thinking about ways to make his own galvanometers for the next version.

Continue reading “Laser Projector Relies On Steppers Rather Than Galvanometers”

Garmin HUD Got Discontinued, But Not Trashed

The Garmin HUD+ was a small Bluetooth device intended for the dashboard of a car, meant to be used as a GPS heads-up display for data from Garmin smartphone apps. It used a bright VFD (vacuum fluorescent display) which was viewed through a clear reflector, and displayed GPS information and directions. It was discontinued in 2015, but [Doz] was fond of his and used it happily until a phone upgrade meant it no longer worked. Was it destined for a landfill? Not if he had anything to say about it!

The first thing [Doz] tried was using an alternate Android app, but since it also didn’t work, it was time to sit back and reflect on the scope of the issue. In [Doz]’s case, he really only wanted some basic meaningful data displayed, and decided he could do away with the phone altogether if he had the right hardware. Continue reading “Garmin HUD Got Discontinued, But Not Trashed”

Driving Three-Color E-Paper Pricetags With An Arduino

ePaper pricetags are becoming popular parts in the hacker community as a cheap way into tinkering with the technology. [Aaron Christophel] got his hands on a 4.4″ model with red, black, and white colors, and set about programming an ESP32 to drive the price tag instead.

The protocol the display uses was reverse-engineered by prompting the display to update via RF and monitoring the signals sent to between microcontrollers on the display’s control board. Once the protocol was understood, one of the microcontrollers could then be removed and replaced with an ESP32 for direct control. Implementing this takes some disassembly and some delicate soldering, but it’s nothing that should scare off an experienced hacker.

With the right code flashed to the ESP32, as available on Github, it’s possible to run the display directly. The hacked code does a great job driving the display, showing crisp lines and clean colors that indicate the e-Paper display is running properly.

We’ve seen [Aaron’s] work before in this area, when he hacked simpler two-color e-ink price tags. He’s also gone so far as creating entire wall displays out of salvaged displays, which is quite the sight. Video after the break.

Continue reading “Driving Three-Color E-Paper Pricetags With An Arduino”

Flight Simulator Focuses On The Other Side Of The Cockpit Door

When one thinks of getting into a flight simulator, one assumes that it’ll be from the pilot’s point of view. But this alternative flight simulator takes a different tack, by letting you live out your air travel fantasies from the passenger’s point of view.

Those of you looking for a full-motion simulation of the passenger cabin experience will be disappointed, as [Alex Shakespeare] — we assume no relation — has built a minimal airliner cabin for this simulator. That makes sense, though; ideally, an airline pilot aims to provide passengers with as dull a ride as possible. Where a flight is at its most exciting, and what [Alex] captures nicely here, is the final approach to your destination, when the airport and its surrounding environs finally come into view after a long time staring at clouds. This is done by mounting an LCD monitor outside the window of a reasonable facsimile of an airliner cabin, complete with a row of seats. A control panel that originally lived in an airliner cockpit serves to select video of approaches to airports in various exotic destinations, like Las Vegas. The video is played by a Pi Zero, while an ESP32 takes care of controlling the lights, fans, and attendant call buttons in the quite realistic-looking overhead panel. Extra points for the button that plays the Ryanair arrival jingle.

[Alex]’s simulator is impressively complete, if somewhat puzzling in conception. We don’t judge, though, and it looks like it might be fun for visitors, especially when the drinks cart comes by.

Continue reading “Flight Simulator Focuses On The Other Side Of The Cockpit Door”