Portable ESP32 RGB Lasershow Has All The Trimmings

Perhaps there was a time when fancy laser effects were beyond those without the largest of bank accounts, but today they can be created surprisingly easily. [Corebb] shows us how with a neat unit using an off the shelf RGB laser module and mirror module, driven by a ESP32 with software designed to make it as easy as possible to use.

The video below the break is in Chinese so you’ll have to turn on the subtitles if you’re an Anglophone, and it takes us through the whole process. It’s mounted in an SLA 3D printed enclosure which neatly holds all the parts. The ESP32 module drives a couple of DACs which in turn drive the galvanometer motors through a pair of amplifiers.

Then the software allows all sorts of custom displays for your creative expression, including uploading quick sketches over WiFi. Beyond pretty patterns we see it mounted on a bicycle for a head-up display of speed and navigation info. Even if it does fall off and break at one point we can see that could be an extremely useful accessory.

All the code can be found in a GitHub repository should you wish to try for yourself. Meanwhile we’ve covered a lot of laser projector projects here in the past, including most recently this one using stepper motors in place of galvanometers.

Continue reading “Portable ESP32 RGB Lasershow Has All The Trimmings”

A two picture montage with the left montage showing a pair of hands holding an assembled and closed turbidity sensor and the right picture showing A pair of hands holding the screw on cap for the turbidity sensor and a prototype board against a backdrop of green leave

Rapid Prototyping To Measure Turbidity In Rapids

[RiverTechJess] is in the process of getting a PhD in environmental engineering and has devoted a chapter to creating a turbidity sensor for river network monitoring. Environmental sensing benefits from being able to measure accurately and frequently, so providing low cost devices helps get more data and excuse the occasional device loss that’s bound to happen when deploying electronics out in the wild. Towards this end, [RiverTechJess] has created a low cost turbidity sensor that rivals the more expensive alternatives in cost and accuracy.

The turbidity sensor is designed to be at least partially submerged allowing for the LED and light sensors to be be able to take measurements. [RiverTechJess] has made a 3D printed prototype to test the design, allowing for rapid experimentation and deployment of the sensors to work out issues. The 3D printed enclosure prototype uses rubber o-rings and “vacuum grease” to provide a watertight seal. An ESP32 microcontroller is used to store logged data on an SD card and drive the TSHG6200 850nm infrared LED and the two TSL237S-LF sensors.

The resulting paper on the turbidity sensor, in addition to the blogs of the process, provide a wealth of data that show what goes into developing and calibrating a device that is meant to be used for environmental monitoring. All source code is available on GitHub and development continues on a newer revision of the turbidity sensor with updated electronics and hardware.

We’re no strangers to water sensors and we’ve seen devices from internet connected water pollution monitors to small handheld potable water detectors.

Video after the break!

Continue reading “Rapid Prototyping To Measure Turbidity In Rapids”

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”