MoreRSS

site iconHackadayModify

Hackaday serves up Fresh Hacks Every Day from around the Internet. Our playful posts are the gold-standard in entertainment for engineers and engineering enthusiasts.
Please copy the RSS to your reader, or quickly subscribe to:

Inoreader Feedly Follow Feedbin Local Reader

Rss preview of Blog of Hackaday

IR Device Control That Lives Off The Cloud

2026-05-03 01:00:38

There are lots of smart home systems that will let you blast your older dumb appliances with infrared to control them. However, many are tied to ugly cloud systems that can frustrate you on a regular basis. [Steelcuts] whipped up a cloudless solution to this problem instead.

IR2MQTT does pretty much exactly what it says in the name. It allows integrating things like air conditioners and televisions into a Home Assistant setup with the use of an IR blaster and a neat, tidy web app. You use it with an ESP32 or ESP8266 running a firmware based on ESPHome to actually do the IR blasting. In turn, IR2MQTT is a back-end plus a web interface that lets you setup all your IR devices without having to manually capture IR codes and create YAML files to do everything. It’s also integrated with large databases of IR codes for common appliances so in many cases, you can just look up your gear and get it working the easy way.

Sometimes all you need to get the job done is an IR LED and the will to use it. If you’re cooking up your own infrared hacks, don’t hesitate to let us know on the tipsline.

Peripherals Hacks

2026-05-02 22:00:51

Custom peripheral projects are among the most rewarding. Especially if you’re like me and you sit at the computer eight hours per day, anything that you can use on a daily basis is super satisfying. This topic of DIY peripherals came up on the podcast while chatting with Kristina, who is no stranger to odd inputs herself.

We were talking about a trackball that had been modified to read twisting gestures, by a clever hijacking of the twin mouse sensors inside. If you do a lot of 3D modeling, you can absolutely get by with just a mouse and shift-ctrl-alt as modifiers, but it’s so much more immediate to use a dedicated 3D input device. (I’ve got an ancient serial Space Mouse just under my left hand as I type this.)

My old favorite, which I haven’t used in ages, is the guts of a 5” hard-drive platter stack that I turned into a scroll wheel. Unfortunately, I don’t have space for it on my desk anymore, but it was just so pleasing to scroll through a document with something that had some real chonky momentum to it.

And it’s easier than ever to make your own. The classic blocky macropad is a great introduction, but as long as you’re doing the design yourself, why not extend it, or at least make it fit your hand? Or take your flights of fancy even further away from the mainstream. Consider the Bluetooth mouse ring, for instance.

Point is, the software side of almost any peripheral device you can imagine is sorted out already, and interfacing with the hardware is equally simple. Peripheral hacks have such a low barrier to entry, but afford so many creative hardware possibilities. And nothing says “Jedi” like building your own lightsaber.

This article is part of the Hackaday.com newsletter, delivered every seven days for each of the last 200+ weeks. It also includes our favorite articles from the last seven days that you can see on the web version of the newsletter. Want this type of article to hit your inbox every Friday morning? You should sign up!

This Handy Synth Packs An ESP32

2026-05-02 19:00:09

Since the first electronic hobbyist wired up a multivibrator to a keyboard many decades ago, electonic synthesisers have been a staple of home-made projects. Now with the proliferation of significantly powerful microcontrollers it’s possible to make a synth that surpasses many of the high-end models from days gone by.

Among those we’ve seen of late perhaps none does this better than [Povle] with their Spark portable keyboard. It’s a tiny thing that reminds us of those little Casio synths of the 1980s, but in its 3D printed case it packs a load of features.

Hardware wise it’s an ESP32 with a 3D printed keyboard using keyswitches. There are a load of pots for sound adjustment, and buttons for functions. A small OLED display shows what’s going on. Software wise it relies upon the AMY synth library, and there are repositories for both its hardware and software.

There’s a demo video we’ve placed below, and in it you hear the keyboard at work. And here maybe we’ve saved the best until last, because alongside being a fully featured synth, it’s also a sampler and a Bluetooth MIDI keyboard. Is there nothing this thing can’t do!

Debugging a Stopped Foucault Pendulum’s Electronics

2026-05-02 16:00:32

After the Foucault pendulum at the Houston Museum of Natural Science stopped working a while back after maintenance on the building, workers set out to determine what was wrong with the mechanism that normally keeps it in motion. Fortunately, it turned out that all they had to do was fiddle with some knobs to get everything dialed back in proper-like.

When we previously covered this dire event, it was claimed that this was a one-off system, hacked together by some random bloke. But as can be seen in the video and further detailed in the comments to the video the reality is far more interesting.

This particular Foucault pendulum is one of many that were created by the California Academy of Sciences, with hundreds of them installed throughout the US and possibly elsewhere. That said, since a pendulum of any description will never be a perpetual motion device, the electromagnet installed near the top of the installation has to carefully add some kinetic energy back that was lost due to friction as the pendulum moves around.

Sadly the video doesn’t go into much detail on what exactly was wrongly configured with this particular pendulum. Keeping a weight at the end of a long cable moving around at a set velocity is a tricky business, so it’s little wonder that getting some parameters wrong would engage and disengage the electromagnets at the wrong times and making the pendulum stop swinging.

Rust Helps Make A $1 Handheld Console

2026-05-02 13:00:07

These days, even an old Game Boy will set you back $100 or more, and a new handheld console will be many multiples of that. However, you can build a really cheap handheld gaming toy if you follow [Chris Dell’s] example.

In [Chris]’s own words, he used Rust to build a $1 handheld gaming console. How is that possible? Well, it all comes down to the CH32V003—a microcontroller cheaper than just about anything else out there. It sells for just 9 cents in bulk, and it’s no slouch either. The RISC-V device is a fully-fledged 32-bit chip running at 48 MHz, though with only 2 KB of RAM and 16 KB of flash. Still, that’s more than enough to make some little games. To this end, [Chris] paired the CH32V003 with an SSD1306 OLED display, and three tactile pushbuttons. He then whipped up some code in Rust with the aid of the ch32-hal project, implementing a neat platform game that ran at a healthy 25 fps.

The CH32V003 probably won’t be starring in a new handheld gaming revolution anytime soon. Still, it’s always interesting to see just what can be achieved with one of the cheapest microcontrollers on the market.

[Thanks to Kian Ryan for the tip!]

3D Printed Orrery Runs On A Single Motor

2026-05-02 10:00:08

The solar system is kind of hard to observe in motion all at once. Sometimes, it’s nice to have a little model to look at, so you can see the relative motions of celestial bodies play out in front of you. Such a device is called an orrery, and [illusionmanager] has built rather a nice example of their own.

The build represents all the planets in the solar system, plus the sun and our very own Moon. An ESP32 lives at the heart of the build, running an astronomical simulation to calculate the proper positions of all the celestial objects. It then drives a small stepper motor via a TMC2209 driver, turning the mechanism back and forth until all the pieces are positioned correctly, using a reed switch and magnet to detect the initial zero position. The orrery is able to be driven by a single motor in this manner thanks to an ingenious mechanism, wherein the rings interlock with each other using small tabs. The Moon is controlled by a separate geared mechanism connected to the main rotation.

It’ s a nice decoration that also serves as a great conversation piece, particularly if you like talking about the heavens. We’ve featured some fine works from [illusionmanager] before, too, like this exquisite reverse sundial. Video after the break.