A Nicer Controller For Cheap Power Supply Modules

These days, you can get all kinds of cheap power supply modules off a variety of online vendors. A lot of examples from brands like Juntek and Drok often have pretty poor interfaces though, with a couple of tactile buttons and a simple 7-segment display. [rin67630] decided to whip up a better controller with a much more informative display.

The controller is designed to work with programmable buck converter modules like the DPS3806, Buck3603, and BST900. It’s based on a TTGO ESP32 with an integrated color TFT LCD. It displays voltage at the input and output, the same for current, along with current setpoints. It also allows for control of a fan and charge cycles if so desired, and it has the ability to fetch time from an NTP server for proper scheduling.  There’s also a web interface complete with graphs for really diving down into the nitty-gritty. Future plans include adding an MPPT solar charging capability.

If you’ve ever wanted a cheap power supply module with really low-level control and rich data display, this could be just what you need. Meanwhile, you’ve got your own neat power supply in the works, don’t hesitate to drop us a line. 

Bluetooth Device Visualizer Reveals Devices In Vicinity

Have you ever wondered how many Bluetooth devices are floating around you? You could use one of those creepy retail store Bluetooth tracking systems, or set your smartphone to scan. Alternatively, you could use the Bluetooth Devices Visualizer from [Jeremy Geppert].

The device was inspired by [Jeremy’s] trip to Hackaday Supercon 2022. Wanting to build something with LEDs that worked in a badge-like form factor, he set out on whipping up a device to scan and display a readout of Bluetooth devices in the immediate area.

The device is based on an ESP32 microcontroller, which provides the necessary Bluetooth hardware to scan for devices. It then displays the number of devices found using an 8 x 8 array of addressable LEDs. There is also a small OLED display on board for displaying relevant details to the device’s operation. The device neatly fits on a lanyard, and is more of an art project than anything else. It’s no wardriver, and details of devices found are not logged or stored in any way when the device is switched off.

With a variety of operational modes, it’s a fun way to get an idea of just how many Bluetooth devices are really out there these days. If you’ve got your own nifty Bluetooth hacks in the works, don’t hesitate to let us know!

 

Spinning Up A New Laundry Monitor

For all that modern washers and dryers do, they don’t let you know when they’re finished. Or they do, but it’s only a short victory song that plays once and can be easy to miss. What most of us need is a gentle reminder that there’s damp laundry festering in the washer, or fresh laundry in the dryer getting wrinkly.

This laundry monitor from [Sparks and Code] is version 2.0. The first version was working fine, but it was based on vibration (or lack thereof). Fast forward a few years, and [Sparks and Code] got a modern pair that’s so finely tuned, it doesn’t produce enough vibration to register. Back to the drawing board [Sparks and Code] went, and eventually came up with version 2.0.

Now, [Sparks and Code] is detecting whether the machines are on using a pair of split-core transformers to monitor power at the breaker box. With these, you just run the wire through the hole, and it gives the relative mV value going through the wire on a 3.5mm cable. Those cables are connected to an ESP32 inside the 3D-printed box, which is mounted above the cabinet door. Since [Sparks and Code] already has home assistants all over the house, it was easy to integrate and have them all play the message ‘please flip the laundry’.

Once this project was all buttoned up, they thought of one issue — the self-cleaning cycle. Since it takes about four hours, they like to run it overnight. You can see the problem here — no one wants to hear Alexa at 3AM. Fortunately, [Sparks and Code] was able to adjust the Python script to ignore these events. Be sure to check out the build video after the break.

If only the dryer could empty itself and fold the clothes. Oh wait, there’s a robot for that.

Continue reading “Spinning Up A New Laundry Monitor”

Hackaday Prize 2023: AC Measurements Made Easy

When working on simple DC systems, a small low-cost multimeter from the hardware store will get the job done well enough. Often they have the capability for measuring AC, but this is where cheap meters can get tripped up. Unless the waveform is a perfect sinusoid at a specific frequency, their simple algorithms won’t be able to give accurate readings like a high-quality meter will. [hesam.moshiri] took this as a design challenge, though, and built an AC multimeter to take into account some of the edge cases that come up when working with AC circuits, especially when dealing with inductive loads.

The small meter, an upgrade from a previous Arduino version that is now based on the ESP32, is capable of assessing root mean square (RMS) voltage, RMS current, active power, power factor, and energy consumption after first being calibrated using the included push buttons. Readings are given via a small OLED screen and have an accuracy rate of 0.5% or better. The board also includes modern design considerations such as galvanic isolation between the measurement side of the meter and the user interface side, each with its own isolated power supply.  The schematics and bill-of-materials are also available for anyone looking to recreate or build on this design.

With the project built on an easily-accessible platform like the ESP32, it would be possible to use this as a base to measure other types of signals as well. Square and triangle waves, as well as signals with a large amount of harmonics or with varying frequencies, all need different measurement techniques in order to get accurate readings. Take a look at this classic multimeter to see what that entails.

Continue reading “Hackaday Prize 2023: AC Measurements Made Easy”

A hot tub with a smartphone in front showing real-time sensor data

ESP32 Keeps Track Of Hot Tub’s Vital Signs

Like swimming pools, hot tubs need regular monitoring to ensure their water stays clean and clear. An average person might take a water quality reading once or twice a week using test strips, but such a low sampling rate obviously won’t do for a hacker. [Stephen Carey] has therefore built a hot tub monitor that checks the water quality every minute and reports it on a neat mobile dashboard.

[Stephen]’s system uses commercially available sensors that track pH levels and Oxidation-Reduction Potential (ORP), both basic measurements that indicate water quality. A second set of sensors keeps track of the temperature of the water and the outside air, which should help in finding insulation failures and keeping energy use under control.

A set of graphs showing a hot tub's pH and ORP over time, with a significant spike in both near the beginningAn ESP32 reads the sensors and sends out the data through WiFi. [Stephen] programmed the ESP32 in MicroPython, using an MQTT driver to connect it to Home Assistant. By looking at the graphs generated, you can tell when someone entered the tub from a step change in pH and ORP. It’s even possible to generate alerts when any of the values drift outside their acceptable range – we can already imagine an alarm going off when someone enters without having showered first.

The system also has a calibration mode to check the sensors against a well-defined buffer solution. As with many chemical sensors, the pH and ORP probes gradually lose their active material and need to be replaced after about a year. Good ones aren’t cheap, but [Stephen] has found pretty decent low-cost alternatives on AliExpress that should be fine for a home setup.

If you also want your tub or pool to be actively managed, you’ll need a more complex system, perhaps even one that can also dispense chemicals. If your hot tub is heated by a wood fire, however, all you need is a way to alert the person tending the fire.

A Spinning Egg For Your Thoughts

Brushless motors are fascinating devices that come in all sorts of shapes and sizes, but you’ve probably never seen one in the form of a free-spinning shiny metal egg. Created by [David Windestål], [Giacomo Di Muro], and [Chad Kapper], the Motion Zero is part top, part brushless motor, and fully mesmerizing. Tech overview video after the break.

Like the classic Tippe Top toy, an ovoid shape like this shiny metal egg will stand on its end if it’s spun fast enough. To do this, the team embedded magnets in the metal egg, effectively turning it into a rotor. An array of 4 PCB coils under a smooth concave surface serves as the stator. Because the egg is not held in position by a shaft, hall effect sensors were incorporated to determine the position of the egg, and properly control the state of the coils to keep it spinning.

Recognizing how easy it was to get lost in thought while staring at a shiny spinning egg, the rest of the device was designed with meditation in mind. The top cover is a block of aluminum machined with ripple patterns, with ball bearings that slide between the ripples as the control interface. Additional hall effect sensors on the PCB determine the position of the balls to adjust the rotation speed and shut-off timer. You can even choose to make the egg move around or remain in one position. The main controller is an ESP32 module, which reads all the hall effect sensors and controls the coils via motor drivers.

The Motion Zero has made its debut on Kickstarter and already exceeded its initial funding goal. We like the creators’ willingness to share the inner workings of a product that manages to transform a simple concept into a mesmerizing piece of engineering artistry.

We’ve seen a good bit of [David Windestål]’s has a fascination with weird tech over the years, like racing belt sanders, fire breathing waterfowl, tri and bicopters. He even built a prop anti-drone RF cannon for a movie.

Continue reading “A Spinning Egg For Your Thoughts”

Building A Weather Display In Rust

We’ve seen a lot of weather displays over the years, and plenty of the more modern ones have been using some form of electronic paper. So what makes this particular build from [Harry Stern] different? The fact that the firmware running on the ESP32 microcontroller at its heart was developed in Rust.

The weather station itself is capable of operating for several months on its rechargeable NiMH battery bank. The Rust section of the project is in two parts, the first of which runs on a server which downloads the weather data and aggregates it into an image. The second part runs on the ESP32 using esp-idf which configures peripherals, turns on and connects to Wi-Fi, retrieves the image from the server, displays the image and then puts the display to sleep. By doing the heavy lifting on the server, the display should be able to run for longer than it would if everything was happening on the ESP32.

The project code is available from this GitHub page which should allow even Rust beginners to follow along, and the case file is also available for those with a 3D printer. [Harry] has a few upgrades planned for future releases as well, including a snap-fit case, a custom PCB, and improved voltage regulator for better battery life, and enhanced error handling for the weather API. And Rust isn’t the only interesting part of this project, either. As prices for e-paper displays continue to fall, more and more of them are found in projects like weather stations and even complete laptops which use these displays exclusively.