ESP32 Brings Air Purifier Online With Home Assistant

A lot of hackers are rightfully concerned about the privacy issues that surround many of today’s “smart” gadgets, but it’s hard to argue that the ability to remotely control devices around your home isn’t convenient. Enter self-hosted, open source projects like Home Assistant. This provides the framework for building out a home automation system without having your soul information sold, but as you might expect, you’re going to have to put some effort in to get the most of it.

For example, take a look at this Phillips AC4014 air purifier that [Anton] connected to Home Assistant by way of an ESP32. Rather than getting too bogged down in reverse engineering the purifier’s surprisingly complex internal electronics, he took the easy way out and wired a couple of relays across the power and fan speed buttons; this allows the device to be easily controlled by the microcontroller, without impacting the functionality of the original controls.

But since those front panel controls still work, that meant [Anton] needed a way for the ESP32 to detect the device’s status and report that to Home Assistant so everything stayed in sync. So he looked around on the PCB for a trace that got powered up when the air purifier was up and running, which he connected to a pin of the microcontroller through a transistor. This let’s the firmware determine if the machine is running or not just by checking if the appropriate pin has gone high.

Speaking of the firmware, [Anton] decided to use ESPHome rather than trying to write his own code from scratch. This project allows you to rapidly add new devices to Home Assistant by providing the firmware with a relatively simple YAML configuration file, which he’s provided as an example. In fact, he’s provided quite a lot of examples with this project, down to an annotated image of the PCB that shows where to tap your wires into. He’s done quite a service for anyone who’s got this same model of air purifier.

This unit doesn’t appear to have any capability of actually checking the quality of the air in the room, but we’ve recently seen a low-cost IKEA product that can do exactly that. Even better, it can be easily modified to report its findings over the network using the ESP8266.

Zac shows off his sound diffusion panels

Taking The Bark Out Of Reverb With Wood Scraps

For the past few years, many have become used to having virtual meetings in their homes. Spaces like kitchen tables, couches, spare bedrooms, and hammocks in the yard have all become “offices”. As you can imagine, many of these spaces aren’t well known for their acoustic qualities. [Zac] built a sound diffusion art piece out of scrap pieces of wood to help his office sound better when recording.

Reverb is caused by sound bouncing off hard, flat surfaces like drywall. These reflections are picked up by the microphone and lead to a noticeable drop in perceived sound quality. There are generally two ways to kill reverb in a space: diffusion and absorption. Diffusion is the technique that [Zac] is going for, with thousands of faces at different angles and locations, it breaks up the harsh reflections into millions of tiny reflections. Absorption is usually accomplished with foam and other typically soft substances.

[Zac] happened to have a large pile of offcuts and extra material from past projects of various wood species, making it easy to make a visually interesting piece. He used a table saw to rip them to a consistent width and a drum sander reduced them all to the same depth. Next, the long sticks were cut with a miter saw into 5 different lengths, leaving him with thousands of little pieces of wood. The hard part began when he had to glue several thousand pieces to a plywood backer board with CA glue. Sanding, finishing with poly, and a french cleat made the three pieces ready to hang on the wall.

Overall, the effect is stunning. While we’d love more hard data on the improvement, it certainly does sound better anecdotally. If you’re interested in more woodworking, take a look into making an inlay without a CNC. Video after the break.

Continue reading “Taking The Bark Out Of Reverb With Wood Scraps”

Star Trek Tap Controller, Take Two

Engineering student and DIY enthusiast [Xasin] thought that the usual ways of controlling various home devices, such as phone apps and web interfaces, were too boring. Instead, he developed the wearable Tap interface which is a cross between a Star Trek comms badge and mobile holo-emitter. The basic idea is to control stuff by tapping the pendant. But things got a little out of hand since this project started two years ago.

[Xasin] began with Tap version 1 back in 2019, and learned all about coding for BLE, making 3D printed cases, and eventually working out all the kinks in the system. Tap v1 used capacitive touch sensing, but the current version detects physical taps using an accelerometer and also can detect gestures. Feature creep along the way brings a sensor array, an array of emotive LEDs, an OLED screen, and a speaker. The whole thing is powered by a dual-core ESP32 Pico MCU. [Xasin] has published his project on GitHub in case you want to explore some of these other features on your own.

The project is only partially up and running because a few critical components are unavailable due to the global parts shortage. But it will soon be able to control smart home devices, such as [Xasin]’s standalone Dragon’s Home smart home system that we wrote about earlier this year. If you want to learn more about tap controlling in general, check out this article from 2018. You can see the Tap introduce itself and its features in the short video below the break.

Continue reading “Star Trek Tap Controller, Take Two”

Photo of an automated plant watering system attached to four potted plants.

Automation Allows You To Leaf Your Plants Alone

The greatest threat to a potted plant stems from its owner’s forgetfulness, but [Sasa Karanovic] has created an automation system that will keep his plants from getting too thirsty. Over the past year [Sasa] has been documenting an elegant system for monitoring and watering plants which has now blossomed into a fully automated solution.

If you haven’t seen the earlier stages of the project, they’re definitely worth checking out. The short version is that [Sasa] has developed a watering system that uses I2C to communicate with soil moisture, temperature, and light sensors as well as to control solenoids that allow for individual plants to be watered as needed. An ESP32 serves as a bridge, allowing for the sensors to be read and the water to be dispensed via an HTTP interface.

In this final part, [Sasa] integrates his watering system into a home automation system. He uses a MySQL database to store logs of sensor data and watering activity, and n8n to automate measurement and watering. If something isn’t quite right, the system will even send him a Telegram notification that something is amiss.

If you think automation might be the best way to save your plants from a slow death, [Sasa] has kindly shared his excellent work on GitHub. Even if you don’t have a green thumb, this is still a great example of how to develop a home automation solution from scratch. If you’re more interested in television than gardening, check out [Sasa]’s approach to replacing a remote control with a web interface!

Continue reading “Automation Allows You To Leaf Your Plants Alone”

Curious Marc Takes On Sewing Machine Repair

Even the most talented engineers can be stymied by simple repair projects. In this case, repairing a broken sewing machine has [CuriousMarc] all tangled up.  [Marc] is probably best known as a part of the team who managed to restore and boot up an apollo guidance computer, but he’s worked with plenty of other vintage machines.

This problem hit much closer to home. [Marc’s] daughter wanted to sew a Halloween costume. The machine would boot up fine, but when attempting to sew, it would make a bit of noise, then beep and display “The safety device has been activated”. Not very helpful.

The sewing machine in question is called “Baby Lock Decorator’s Choice” and is manufactured by Brother for Juken. [Marc] of course dug in, and quickly found himself stymied by a clamshell case that just didn’t want to come apart. This is the point where many of us would apply just a little too much force when prying and be rewarded with a broken case.

[CuriuosMarc] is thankfully the more patient sort. Rather than become [FuriousMarc], he carefully persevered to find a hidden screw holding things together. The screw could only be accessed by inserting a screwdriver through a tiny access hole on the front chassis of the machine.
With the screw out, a couple of molded clips were all that held the case sides together. After popping them, [Marc] was finally able to fix the real problem: A toothed belt that had slipped off its cog. That’s it — just a loose belt. The cryptic error code most likely was due to the machine realizing it the motor was on, but the machine wasn’t moving – which would generally indicate something stuck or tangled in the thread path.

This type of repair would be much easier if service manuals were readily available. We did a quick search for this model but didn’t find anything freely available.

Have you gotten stuck by a simple repair? Tell us about it down in the comments.

Continue reading “Curious Marc Takes On Sewing Machine Repair”

DC UPS Keeps The Internet Up

We occasionally get annoyed that so much gear takes the ubiquitous “wall wart” these days. But one advantage is that the devices operate on DC voltage. [TechRally] takes advantage of this to create an automatic DC UPS with dual outputs to power a router and modem in the event of a power outage. You can see two videos about the project below.

Some may say it would be better to use conventional UPS, but think about it. That UPS has a battery in it that gets converted to AC so the wall wart can convert it back to DC. Each conversion loses some energy, of course, and in the case of a cheap wall wart, you may even lose quite a bit.

The project contains eight 18650 batteries, an off-the-shelf charge controller, and power converters. Could you do a more efficient custom design? Maybe, but the use of these inexpensive and commonly available modules makes it quick and easy to pull something like this together.

No one would mistake this UPS for a commercial unit, but it does have a certain hacker aesthetic. We wouldn’t carry it through an airport, though. With those digital displays and all the wiring, it looks like a bad TV show’s bomb prop.

If you don’t care about the automatic switchover, we hear that 5V will power a lot of equipment these days and that makes battery operation as simple as stripping a USB cable. This could probably drive some other gear like a connected Raspberry Pi. Or, you could do that job with some supercaps.

Continue reading “DC UPS Keeps The Internet Up”

Building A Kinetic Sand Art Table

Many of us have marveled at art installations that feature marbles quietly and ceaselessly tracing out beautiful patterns in sand. [DIY Machines] is here to show us that it’s entirely possible to build one yourself at home!

The basic mechanism is simple enough. The table uses a Cartesian motion platform to move a magnet underneath a table. On top of the table, a metal sphere attached to the magnet moves through craft sand to draw attractive patterns. An Arduino and Raspberry Pi work together to command the stepper motors to create various patterns in the sand.

Low-cost pine is used to build most of the table, with oak used for the attractive bare wooden top. RGB LEDs surround the sand surface in order to light the scene, with options for mad disco lighting or simple white light for a subtler look. Other nice touches include sitting the craft sand atop a layer of faux leather, so the ball moving through the sand doesn’t make annoying crunching sounds as the ball moves.

It’s a great build that focuses on the smaller details like noise that can make a big difference to the final experience. We’ve seen similar projects before, too. Video after the break.
Continue reading “Building A Kinetic Sand Art Table”