Upgrading PC Cooling With Software

As computing power increases with each new iteration of processors, actual power consumption tends to increase as well. All that waste heat has to go somewhere, and while plenty of us are content to add fans and heat sinks for a passable air-cooled system there are others who prefer a liquid cooling solution of some sort. [Cal] uses a liquid cooler on his system, but when he upgraded his AMD chip to one with double the number of cores he noticed the cooling fans on the radiator were ramping quickly and often. To solve this problem he turned to Python instead of building a new cooling system.

The reason for the rapid and frequent fan cycling was that the only trigger for the cooling fans available on his particular motherboard is CPU temperature. For an air cooled system this might be fine, but a water cooled system with much more thermal mass should be better able to absorb these quick changes in CPU temperature without constantly adjusting fan speed. Using a python script set up to run as a systemd service, the control loop monitors not only the CPU temperature but also the case temperature and the temperature of the coolant, and then preferentially tries to dump heat from the CPU into the thermal mass of the water cooler before much ramping of cooling fans happens.

An additional improvement here is that the fans can run at a much lower speed, reducing dust in the computer case and also reducing noise compared to before the optimizations. The computer now reportedly runs almost silently unless it has been under load for several minutes. The script is specific to this setup but easily could be modified for other computers using liquid cooling, and using Grafana to monitor the changes can easily be done as [Cal] also demonstrates when calibrating and testing the system. On the other hand, if you prefer a more flashy cooling system as a living room centerpiece, we have you covered there as well.

A vanadium based flow battery made with 3D printed parts

A Vanadium Redox Flow Battery You Can Build

Vanadium flow batteries are an interesting project, with the materials easily obtainable by the DIY hacker. To that effect [Cayrex2] over on YouTube presents their take on a small, self-contained flow battery created with off the shelf parts and a few 3D prints. The video (embedded below) is part 5 of the series, detailing the final construction, charging and discharging processes. The first four parts of the series are part 1, part 2, part 3, and part 4.

The concept of a flow battery is this: rather than storing energy as a chemical change on the electrodes of a cell or in some localised chemical change in an electrolyte layer, flow batteries store energy due to the chemical changediagram of a vanadium flow battery of a pair of electrolytes. These are held externally to the cell and connected with a pair of pumps. The capacity of a flow battery depends not upon the electrodes but instead the volume and concentration of the electrolyte, which means, for stationary installations, to increase storage, you need a bigger pair of tanks. There are even 4 MWh containerised flow batteries installed in various locations where the storage of renewable-derived energy needs a buffer to smooth out the power flow. The neat thing about vanadium flow batteries is centred around the versatility of vanadium itself. It can exist in four stable oxidation states so that a flow battery can utilise it for both sides of the reaction cell.

Continue reading “A Vanadium Redox Flow Battery You Can Build”

Rosie The Robot Runs For Real

On the recent 256th episode of the Hackaday podcast, [Kristina] mentioned her favorite fictional robot was Rosie from The Jetsons. [Robert Zollna] must agree since he built a reimagined Rosie and it even caught the notice of mainstream outlet People magazine.

We didn’t find much information outside of the TikTok video (see below; you can use the Guest button if you don’t have an account). However, there were a few clever ideas here. First, the robot mechanism is actually Rosie’s vacuum cleaner. Like a tail wagging a dog, an off-the-shelf floor vac tows the robot body.

Rosie herself is clearly an office chair base with an artistic body. The head rotates, and the mouth appears to open and close, so there’s apparently a little more electronics inside, but that’s nothing you couldn’t throw together with some RC servos and an ESP32.

Some videos cover the build so you might be able to glean more details, but the bite-sized videos aren’t very descriptive even though they are fun to watch. If you thought folks documenting their projects on YouTube was bad, you’re really gonna love the TikTok generation.

We like the look of Rosie, but as a practical matter, we need our robot vac to be smaller, not larger. However, using these off-the-shelf robots as a quick start for a robotics project is reasonable. Especially if you can pick up one cheap. Not that that’s a new idea. They even make stripped-down units with the intent that you don’t want to use them as cleaners.

Continue reading “Rosie The Robot Runs For Real”

Hacking And Working On The Go

I’m off visiting my parents for a while, and have managed to bring nearly everything along with me that I need to get work done, and it all fit in a small backpack! This includes a portable audio interface to run my podcast mic, two (count them) two Linux computers, and all manner of simple hacking tools. Microcontrollers with USB/serial adapters built in are a godsend.

But putting together the minimal setup was no easy task! Alone the USB cable assortment I had to bring was astounding. And in the end, it looks like I forgot a USB-B mini, and good luck finding that at the local drug store. (I know! But the Zoom recorder wants mini. Don’t ask me why.)

And then there’s the power adapters — brick for the laptop, USB-C fast charger for the Steam Deck, another wall-plug USB for recharging the power banks. And of course, this silly custom keyboard which I’m so used to typing on, and which embodies so much muscle memory in its macros that I’m practically helpless without it.

So fundamentally, I’m astounded by the amount of functionality I could cram into my pack, but I’m also aghast at all the little things that add up around the edges. And I’m sure that I’ll find stuff that I’m missing in the next few weeks.

Do you need to travel for work with your full kit? What’s your approach? Minimal? Maximal? Leave us your hacker travel kit tips in the comments.

Infotainment system playing back from USB. (Folkert van Heusden)

Create Virtual USB Sticks With A Raspberry Pi Zero

Playing back music files from USB sticks is a common feature these days, and is built-into the infotainment system in [Folkert van Heusden]’s Opel Astra. Unfortunately such USB playback features often come with a range of limitations on things like audio codecs, and in the case of [Folkert]’s car, a 1000 file limit. This had him looking at an alternative to lugging a lot of USB sticks around to avoid the horror of hearing the same songs within a week while commuting. The solution? Make a Raspberry Pi Zero into a virtual USB mass storage device using the Mass Storage Gadget (MSG) driver in the Linux kernel.

Picking USB storage as the ideal option here comes mostly from the age of the infotainment system, which lacks Bluetooth, and the audio input jack is rather crackly. Of course, having the Raspberry Pi Zero pretend to be a storage device via the MSG driver wouldn’t solve the file limit, but to get around this two Python scripts were written: one which creates images from a folder of music files, and another which randomly picks one of the available images from the Zero’s SD card and configures the MSG driver to use it.

As for the list of future improvements, there is mounting the RPi Zero’s SD card as read-only to deal with the power-off when the car is shut down, and the creating of images requires to be run as root due to the use of loopback devices. As a Proof-of-Concept it does seem to be on the right track.

It’s not just the older infotainment systems that get to have all the fun. If you’re lucky enough to have Linux running in the dashboard, you might be little more than a Bash script away from bending the system to your will.

All the components of the Piggymeter interface laid out on a silicon mat

Simple Optical Meter Sets New Standards For Documentation

PiggyMeter is a wonderful example of a device that you never knew you needed – simple, elegant, easy to build, and accompanied by amazing documentation. It’s a snap-on interface for electric meters, dubbed so because its 3D printable shell looks like a pig nose, and it works with IEC62056-21 compliant meters. If you want to learn about your home’s power consumption in real time and your meter happens to fit the bill, look into building a PiggyMeter, it’s the kind of DIY project that a hacker was destined to design at some point.

All you need is a printed shell, a Wemos-compatible development board with an ESP32 MCU, an optical interface board, and a few small parts like a ring magnet. The optical interface board is not open source, but there’s drawings available, and the design is pretty simple, so it should be trivial to recreate. Plus, it’s also reasonably inexpensive if you don’t want to build your own board. Got parts? Simply put them all together, flash the firmware, and you have a meter adapter added to your smart home device family.

This device works with HomeAssistant, and it’s incredibly easy to set up, in part because of just how clearly everything is outlined in the blog post. Seriously, the documentation is written with love, and it shows. If you’re looking to learn how to document a device in a helpful way, take notes from the PiggyMeter. And, if you’d like to learn more about optically coupled power meter interfaces, here’s a different open source project we’ve covered before!

That’s A Lot Of Building Systems

The only thing makers like more than building things is making systems to build things. [Eric Hunting] has compiled a list of these modular building systems.

You’ve certainly heard of LEGO, grid beam, and 80/20, but what about Troxes or Clickaloo? The 70 page document has a helpful index at the beginning arranged in families of similar systems followed by information about each and some helpful links.

As the well-known XKCD comic likes to point out, the issue with standards is that they tend to proliferate instead of getting adopted, so this might be a good list to check before you start to implement your brilliant spin on modular construction. It’s possible the right system is already waiting for you.

The list certainly isn’t exhaustive, but it’s a good place to start. If you do have the modular building system that will solve all the world’s problems though, by all means, send it to the tipsline!