Follow The Grid With An Arduino Uno

We all know the frequency of our AC grid. 60Hz for Americans, or 50Hz for Europeans, for example.  But the real story has some complexity. In a plural but interconnected grid such as Europe’s, that frequency can drift around a nominal center value. To keep track of this, [Jeroen Brinkman] has created a grid monitor that can show long-term trends as well as instantaneous frequencies.

Hardware-wise, it’s somewhat old-school, with an Arduino Uno and a ubiquitous 2×16 character LCD, but the interest here lies not in the microcontroller. Sensing mains frequency is fraught with spicy high-voltage danger if done directly, so [Jeroen] is performing the task using an optocoupler that toggles an interrupt pin on the Arduino. The monitor stores long-term data by the week, using only four bytes per week. That means the monitor can hold up to 240 weeks, or about 4.6 years, on a Nano R3 and over 2,000 weeks, or around 39 years on a Nano R4. The data can be retrieved via serial transfer over the Arduino’s USB port.

The subject of grid monitoring is a fascinating one, as geopolitical events can show up in it. Back in 2018, we covered the moment when Europe lost six seconds as a result.

Making CO₂ Sensors Fail Visibly, Not Silently

CO₂ buildup in a living area can be a serious problem, and a sensor that fails quietly cannot be relied upon. [William Collis] addressed this important issue by creating CO₂ monitors built to fail visibly.

[William] has a nice home setup that can monitor CO₂ levels in two places, but noticed an important issue: the system always displayed the last known-good sensor reading. An unchanging, healthy-looking number is good! Unless it isn’t, because a flat unchanging number is also exactly what a dead sensor looks like.

The solution was for [William] to change how the sensors are treated so a faulty sensor isn’t hidden behind apparently-good values, and the sensor itself flashes a visible fault LED in the case of a problem.

Each monitor is a Sensirion SCD30 CO₂ sensor, paired with a Seeed XIAO ESP32-C3 running ESPHome to communicate with Home Assistant, an open-source home automation framework. There was no need to rewrite the ESPHome firmware; all his modifications fit within the context of a configuration file and certainly seem to be improvements over the original.

Sensors that can be relied on are important, but if the system itself needs some ruggedizing maybe consider a homebrewed UPS for Home Assistant.

The Drawer Every Standing Desk Needs

Adjustable standing desks have had some ergonomic and health benefits for many people who would otherwise be sitting down all day, but those benefits come at a cost of a bit of usability. They can be more expensive, they make cable management and lighting a bit more difficult, and of course they take up more space than a normal desk. Related to that, they may have limited or no drawer space. [Super Valid Designs] decided to tackle all of these problems, while at the same time addressing the larger problem of a very disorganized workspace.

The idea seems simple on its face. The desk surface would be removed from the legs and a full-sized drawer built that matches the footprint of the desk and attaches to the same points, then the surface can be put back on top of that. But this is where feature creep started to set in, although in this case it was all a net positive for the build. [Super Valid Designs] wanted a front for the drawer but, since this is where his keyboard and mouse would go, wanted it to automatically move aside so it’s not in the way. He built a clever mechanism that pivots the front down when the drawer slides out. Not only that, but the drawer locks into place when it’s halfway out in “keyboard mode” and by lifting the front and pulling the drawer further out he can access a deeper storage space further to the back of the drawer.

Although adding these features in took him longer than he originally thought, the new desk is much more usable than the old while helping him eliminate some of the clutter around his workspace. Like any prototype, though, there were a few issues such as cable management (which is a problem with most standing desks) and the fact that he forgot that some of his peripherals were attached to the desk with clamps, which can’t be used with the drawer cabinet in the way. Overall though it’s a major improvement which we think could only be further improved by making it not just a standing desk, but a walking desk.

Continue reading “The Drawer Every Standing Desk Needs” →

Radon Active

When you think about nuclear radiation, you often think about power plants, but it turns out there’s radioactive stuff all over the place: smoke detectors, granite counters, bananas, and potatoes can all be mildly radioactive. Even some old tape dispensers. But those are all puny sources.

Radon is a colorless, odorless gas that is heavier than air. It is a byproduct of uranium decay, amonth other pathways, decays by emitting an alpha particle, and has a half-life of just about four days. As a gas, it escapes from rocks or soil. Usually, there isn’t much of it, so it vents harmlessly to the atmosphere. But it can easily get trapped in a house and accumulate. You might think your house is solid, but there are plenty of cracks, joints, and pipes where gas can weasel through, especially if your inside pressure is slightly lower than the pressure in the soil below, which is common.

As the radon decays, it can produce more radioactive material, including tiny amounts of polonium. With or without dust particles, these tiny bits of radioactive material can go airborne and end up in your lungs. There, they can further decay, and alpha particles damage cells and DNA. According to the EPA, radon exposure is the second leading cause of lung cancer in the United States, next to smoking.

Not So Speedy

If you get enough carbon monoxide in your home, you probably won’t see the next sunrise. But radon works very slowly. It is odorless and colorless. You won’t show any general symptoms to warn you that you might get lung cancer.

The effect can take years or decades. Of course, you can also have a house that has very little radon. However, nearly all homes have some radon. The EPA estimates that about 7% of homes have elevated radon levels.

Some areas are more prone to radon than others, but even if your area has low risk, there’s no guarantee that your house is safe. If you are lucky enough to not have a radon problem, you have nothing to worry about. But how do you know? Like anything, you need to test.

Continue reading “Radon Active” →

Making A Dog Car Wash Without (very) Fancy Tools

[Stuff Made Here] got fed up with the hassle of washing their dog, and in traditional engineer fashion, decided that automating the process would solve the problem. However, as science fiction writers love to warn us, automation and living things don’t always mix.

The concept, much like a car wash, is to have an arch-like structure spray the dog with oscillating nozzles. A secondary nozzle provides a simple air drying function on each of the pods. An “undercarriage” nozzle of similar design runs in a channel below the dog to ensure all mud has been removed. The nozzles move along linear rails, driven by a DC motor. All the electronics are water proofed with the AC power source a distance away to provide additional electrical protection.

Unlike other projects of the past, [Stuff Made Here] set out to make this project without fancy metal working tools. Fortunately, it’s a project well suited to SLA 3D printing. While probably printable on an FDM printer, the parts need to withstand water back pressure. While there are better ways of doing this, the nozzles are mounted on an arch made of two bent conduits with legs welded on. The nozzles are mechanically connected with linkages to control the spraying direction.

However, [Stuff Made Here] couldn’t resist the urge to use a new CNC lathe when it arrived, so the quest to avoid fancy tools was lost to the desire to play with new fancy tools. Also, a grate under the under-carriage nozzle would have taken too long to source, so instead a plasma cutter made short work of some sheet metal. Granted, the parts could easily be 3D printed and/or sourced online.

Besides the fact that the dog is terrified of the machine and won’t use it, it works brilliantly! Sound off in the comments if you think [Stuff Made Here]’s attempt at making a project without fancy tools was successful.

Continue reading “Making A Dog Car Wash Without (very) Fancy Tools” →

Cat Feeder Ensures Fed Cats

Automatic cat feeders are a dime a dozen, largely because this is an easy problem to solve. Dry cat food is easy for machines to manipulate, and the electronics needed to accomplish the task to a bare minimum are plentiful and inexpensive. But just doling out food is only easy part of the problem. [Jason] wanted to make sure that his cats actually ate once the food was dispensed so he added a few extra features to this cat feeder.

The main addition to this feeder compared to off-the-shelf models is a weight sensor under the bowl. The feeder metes out a certain amount of food, and then a Raspberry Pi Pico W keeps an eye on the weight of the dish. If it goes down, presumably the cat has eaten all of the food. But just to be sure, an ultrasonic sensor was added beside the bowl to ensure something cat-shaped was there at the same time. There was some issue with this sensor blasting out noise in a cat’s audible range at first, but it seems like that problem has since been solved as well.

The build has a few other perks as well. The hardware has wireless communication ability, so it’s easy to keep an eye on when out and about. It can log data and is much more programmable than others. Like most cat feeders, though, it’ll only work for dry food. For automatically feeding wet food something like this robotic feeder that opens cans and dispenses them at set intervals would be needed.

Continue reading “Cat Feeder Ensures Fed Cats” →

Rooting An Amazon Echo Dot

The Amazon Echo Dot is one of Amazon’s so-called ‘smart speaker’ offerings that tie into their larger Alexa-fueled ecosystem, designed to be a pretty minimalistic device that gives you access to this voice assistant and also the Amazon AWS cloud access to your home. If that latter part isn’t really your jam, you can always try to unshackle the device from the Amazonian cloud by rooting the device, as [Andy] recently did with a 2018 Echo Dot 3.

In addition to the video there is also a blog post in which the steps required to root the device are covered. This is then used to turn the device into a Home Assistant voice satellite, using a Claude-vibecoded project created by [Julian Imhof]. As [Andy] notes, this code seems to work, but it’s completely unaudited so YMMV. Device support is also limited to only certain Echo Dot and Echo Show devices as listed on the project page.

The first step is to gain USB access to the board inside the device, which for USB-less devices like the Dot in question requires opening the device to solder a USB connector onto the test pads that are available on the PCB. For other Echo devices you can just use the existing USB port, which makes this first step slightly easier.

These devices run Fire OS, so basically Android, which means a fairly standard process of unlocking the bootloader and installing the hassmic application that replaces Alexa. During testing [Andy] noticed that voice processing was rather slow, requiring switching from Whisper to Speech-to-Phrase to make simple things like turning a light on not take a minute.

Overall it seems like a pretty decent way to repurpose these devices as ESPHome devices, with a few gotchas when it comes to the resources required for local voice processing.

Continue reading “Rooting An Amazon Echo Dot” →