DIY Relay Module Saves Time

As any programmer could tell you, there’s significant value in automating a process that is performed often enough. The more times that process is used, the more it makes sense to automate it or at least improve its efficiency. This rule isn’t limited to software though; improvements to hardware design can also see improvements in efficiency as well. For that reason, [Hulk] designed a simple relay module in order to cut the amount of time he spends implementing this solution in his various other projects.

While driving a relay with a transistor is something fundamental, this project isn’t really about that per se. It’s about recognizing something that you do too much, and then designing that drudgery out of your projects. [Hulk] was able to design a PCB with 12 modules on it, presumably saving fabrication costs. He can then easily populate them with specific components as soon as he needs one. Another benefit of designing something like this yourself, rather than an off-the-shelf relay module, is that you can do away with any useless features you’ll never need (or add ones that aren’t available in commercial devices).

We can appreciate the efficiency gains this would make for our next project that needs a simple driver for a light, garage door opener, or any other binary electronic device. It can be a hassle to go find the correct transistor and relay, solder it all on the project board, and hope it all works. A pre-made solution solves all these issues, but we do wish the schematics were available to keep us from having to design our own. Driver boards are a pretty common project for all the different types of relays we see around here, so there is probably one available out there.

The Internet Of Bubble Machines

Everyone loves a good bubble machine. These oddly satisfying novelty items have brought children and adults mindless entertainment since their inception. [8BitsAndAByte] had the same thought, but wanted to give their bubble machine a taste of the IoT-age.

First, they modified an off-the-shelf bubble machine with a Raspberry Pi and relay module. The Pi can easily trigger the bubbling mechanism by controlling power to the machine using the relay. Seems simple enough. The part of this project that might be a bit more unfamiliar to you is controlling the robot over the internet using remo.tv.

Remo.tv is a robot controller platform that’s both free and open-source, and we’ve seen [8BitsAndAByte] take advantage of this web controller before. Seems like they’re really getting the hang of it. Their writeup links to a detailed setup guide for configuring the Pi, so hopefully, that’s not too much trouble.

Couple the IoT setup with a Pi camera and you’ve got a live stream that’s admittedly oddly satisfying to watch with or without the bubbles.

Continue reading “The Internet Of Bubble Machines”

Smoking Meat With A Commodore 64

When [Deadline] couldn’t find a replacement control module for his Masterbuilt electric smoker, he could have just tossed the thing in the trash. Instead, he decided to come up with his own system to take over for the smoker’s original brain. Basing it around the nearly 40 year old Commodore 64 probably wouldn’t have been our first choice, but it’s hard to argue with the end result.

Connectors to control the smoker’s hardware.

At the most basic level, controlling an electric smoker like this only requires a temperature sensor, a relay to control the heating element, and something to get those two devices talking to each other. But for the best results you’ll also want some kind of a timer, and an easy way to change the target temperature on the fly. Connecting the relay and temperature sensor up to the back of the C64 was easy enough, all he had to do was write the BASIC code to glue it all together.

This hack was made considerably easier thanks to the fact that the Masterbuilt’s original controller interfaced with the smoker by way of a couple relatively well documented connectors. So instead of having to mess with any of the mains voltage electronics, he simply had to bring a wire in the connector high to fire up the smoker’s heating element. This bodes well for anyone looking to replace the controller in a similar smoker, with a C64 or otherwise.

In the past we’ve seen some very impressive custom smoker controllers that look as though they could easily be adapted for use with these commercial units. Though the true smoke aficionados might prefer building the entire thing to their exacting specifications.

Continue reading “Smoking Meat With A Commodore 64”

Retrotechtacular: The Nernst Lamp

After dominating the illumination market for more than a century, it’s easy to think of the glowing filament of the standard incandescent lamp as the only way people found to turn electricity into light. But plenty of fertile minds turned out alternative designs, one of which is the fascinating Nernst lamp, which we’d previously never heard of.

If the name sounds familiar, it’s likely through exposure to [Walther Nernst]’s equation for electrochemistry, or for his “New Heat Theorem” which eventually became the Third Law of Thermodynamics. Pal of [Einstein] and eventual Nobel laureate, [Nernst] was also a bit of a tinkerer, and he came up with a design for an incandescent lamp in 1897 that was twice as efficient as carbon-filament lamps. The video below, from the Edison Tech Center, details the design, which used a ceramic “glower rod” that would incandesce when current flowed through it. The glower, though, was not conductive until it was quite hot, so separate heater coils that gave the glower a start on the process were included; these were switched off by a relay built into the base of the lamp once the glower started conducting.

It’s a complicated design, but its efficiency, coupled with a better light spectrum and the fact that it didn’t need a vacuum bulb since the glower wouldn’t oxidize like a carbon or tungsten filament, gave it certain advantages that let it stake out a decent share of the early market for electric illumination. It was even the light source for one of the first facsimile machines. We find it a very clever use of what were at the time exotic materials, and wonder if this could have lead to something like vacuum tubes without the vacuum.

Continue reading “Retrotechtacular: The Nernst Lamp”

Vacuum Dust Collection With Self-Powered Relays

Like many people with multiple woodworking tools, [Will Stone] wanted to create a centralized dust collection system. But he quickly found that the devil was in the details, as he struggled to find an economic way to automatically kick on the vacuum when one of the tools started up. His final solution might be one of the most elegant, and surely the cheapest, we’ve ever come across.

As with other DIY systems we’ve seen over the years, [Will] is using a simple inductive current sensor to detect when AC power is being drawn by one of his tools. But where the similarity stops is that there’s nothing so pedestrian as a microcontroller reading the output of the sensor. He realized that when the coils in the sensor were energized they were putting out about 7 volts AC, which should be more than enough to trigger a relay.

So he threw together a rectifier circuit on a piece of perfboard, using four LEDs in true hacker style. With the addition of a capacitor to smooth out the voltage, this little circuit is able to trip the 40 amp solid state relay controlling power to the vacuum using nothing more than the energy harvested from the sensor’s coil.

Using a current sensor is great when the tools are close enough to all be plugged into the same line, but that doesn’t help the folks with cordless tools or supersized shops. In that case, you might need to look into a sound-activated system.

An ESP32 Home Automation Swiss Army Knife

Thanks to the ESP8266 and the ESP32, we’ve seen an explosion in DIY home automation projects recently. When it only takes $3 and a few lines of code to bring your gadgets onto the network, that’s hardly a surprise. But hacking bare ESP modules onto devices will only get you so far. Eventually you’ll probably want to put together a slightly more mature home automation system, and that’s where things can get a little tricky.

Which is why [Alfredo] created the Maisken Homelay. This device is a one-stop-shop for your home automation needs that leverages the power of the ESP32. With the microcontroller slotted into this compact PCB, you’ll be able to trigger four relays for your high current or AC loads, and still have 8 GPIOs and the I2C bus for expansion. All while retaining compatibility with existing open source projects like Home Assistant and ESPHome.

What really sets this project apart is the attention to detail. [Alfredo] has included a HLK-PM01 power supply on the board which takes mains voltage and brings it down to 5 VDC for the ESP32, so won’t need a separate power cable. He’s also taken the time to add isolation slots to separate the potential high-voltage connected to the relays from the rest of the board, added current and thermal fuses for protection, and peppered the board with screw terminals so you can easily connect everything up.

Sure you could get a simple relay board shipped to your door for a few bucks from the usual suspects. But it’s not going to offer the kind of quality of life and safety features that the Maisken Homelay has. There’s even a 3D printed enclosure available to help tidy things up.

With some of the blatantly anti-consumer decisions big-name home automation companies have been making recently, there’s more reason than ever to roll your own smart home using open source hardware and software. It still takes more effort than buying a bunch of modules from the Big Box retailer, but projects like this one are certainly starting to blur the line between consumer and DIY.

Espresso Machine Now Powers Plants

This thing has what plants crave! No, not electrolytes exactly — just water, light, and moisture polling every 30 minutes. We think it’s fitting to take something that once manufactured liquid liveliness for humans and turn it into a smart garden that does the same thing for plants.

So let’s just get this out of the way: the espresso machine was abandoned because it was leaking water from a gasket. [The Plant Bot] cleaned it up, replaced the gasket, and got it brewing, and then it started leaking hot water again from the same gasket. We might have gone Office Space on this beautiful machine at that point, but not [The Plant Bot].

Down in the dirt, there’s a soil moisture sensor that’s polling every 30 minutes. If the moisture level falls below the threshold set appropriately at a life-sustaining 42%, the Arduino is triggered to water the plant through a relay board using the espresso machine’s original pump. If the plant is dry, the machine will pump water for two seconds every minute until the threshold is met. [The Plant Bot] tied it all together with a nice web interface that shows plant data and allows for changes over Bluetooth.

[The Plant Bot] started by disconnecting the heating element, because plants don’t tend to like hot steam. But if the cup warming tray along the top has a separate heating element, it might be neat to reuse it for something like growing mushrooms, or maintaining a sourdough starter if the temperature is right.

Via r/duino