IR Device Control That Lives Off The Cloud

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

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 Handy Synth Packs An ESP32

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!

Continue reading “This Handy Synth Packs An ESP32”

Debugging A Stopped Foucault Pendulum’s Electronics

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.

Continue reading “Debugging A Stopped Foucault Pendulum’s Electronics”

Rust Helps Make A $1 Handheld Console

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

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.

Continue reading “3D Printed Orrery Runs On A Single Motor”

Magnetic Induction Heats Water

Producing hot water off-grid is a surprisingly energy-intensive activity, and although it looks simple on its surface it can get quite complicated especially when used in large scale for something like providing hot water for an entire home. When using combustion to heat the water there needs to be proper venting as well as control of the fuel, and even storage of the hot water needs to be meticulous to avoid certain pathogens. [Greenhill Forge] has built an off-grid solution for heating hot water that doesn’t necessarily rely on any combustion, though, provided he can find something to spin his custom electric machine.

The machine in question is, of course, an induction heater. It works similar to any simple electric motor, generator, or transformer except in this case the eddy currents generated are exploited rather than minimized. Normally these currents, generated when a magnet passes by a metal, are wasted heat in other machines but in this induction heater it’s the goal. The machine’s stator is built from copper tube wound in a spiral which allows water to flow through and absorb heat. The tube is soldered into one electrically solid mass to maximize the eddy currents. The rotor is taken from a previous generator built by [Greenhill Forge] which holds the permanent magnets.

During the initial tests using a power drill to drive the generator, he was able to heat 1.5 liters of water from 7.9C to about 24.4 C in three minutes. The math works out to providing 575 watts of power to the heater, and with something that could spin the generator faster it might have the potential to provide around 14.5 kW. Provided that there’s a source of energy around, such as a wind or water turbine, this could be a fairly sustainable way of generating hot water in off-grid situations. Some of [Greenhill Forge]’s other projects are centered around this idea as well, like one of his builds which uses waste sawdust to heat his workshop with a custom-built stove.

Continue reading “Magnetic Induction Heats Water”