Vista Normal

Hay nuevos artículos disponibles. Pincha para refrescar la página.
Ayer — 30 Junio 2024Salida Principal

Swapping Vinyl for Cardboard with this ESP32 Turntable

30 Junio 2024 at 08:00

Cardboard is a surprisingly durable material, especially in its corrugated form. It’s extremely lightweight for its strength, is easy to work, can be folded and formed into almost any shape, is incredibly inexpensive, and when it has done its duty it can be recycled back into more paper. For these reasons, it’s often used in packaging material but it can be used to build all kinds of things outside of ensuring that products arrive at their locations safely. This working cardboard record player is one example.

While the turntable doesn’t have working records in the sense that the music is etched into them like vinyl, each has its own RFID chip embedded that allows the ESP32 in the turntable’s body to identify them. Each record corresponds to a song stored on an SD card that instructs the ESP32 to play the appropriate song. It also takes care of spinning the record itself with a small stepper motor. There are a few other details on this build that tie it together too, including a movable needle arm held on with a magnet and a volume slider.

As far as a building material goes, cardboard is fairly underrated in our opinion. Besides small projects like this turntable, we’ve also seen it work as the foundation for a computer, and it even has the strength and durability to be built into a wall or even used as shelving material. And, of course, it’s a great material to use when prototyping new designs.

AnteayerSalida Principal

ESP-Hosted Turns ESP32 Into Linux WiFi/BT Adapter

25 Junio 2024 at 20:00
Showing a Raspberry Pi 4 board connected to an ESP32 devboard using jumper wires for the purposes of this project

While we are used to USB WiFi adapters, embedded devices typically use SDIO WiFi cards, and for good reasons – they’re way more low-power, don’t take up a USB port, don’t require a power-sipping USB hub, and the SDIO interface is widely available. However, SDIO cards and modules tend to be obscure and proprietary beyond reason. Enter ESP-Hosted – Espressif’s firmware and driver combination for ESP32 (press release)(GitHub), making your ESP32 into a WiFi module for either your Linux computer (ESP-Hosted-NG) or MCU (ESP-Hosted-FG). In particular, ESP-Hosted-NG his turns your SPI- or SDIO-connected ESP32 (including -S2/S3/C2/C3/C6 into a WiFi card, quite speedy and natively supported by the Linux network stack, as opposed to something like an AT command mode.

We’ve seen this done with ESP8266 before – repurposing an ESP8089 driver from sources found online, making an ESP8266 into a $2 WiFi adapter for something like a Pi. The ESP-Hosted project is Espressif-supported, and it works on the entire ESP32 lineup, through an SDIO or even SPI interface! It supports 802.11b/g/n and even Bluetooth, up to BLE5, either over an extra UART channel or the same SDIO/SPI channel; you can even get BT audio over I2S. If you have an SPI/SDIO port free and an ESP32 module handy, this might just be the perfect WiFi card for your Linux project!

There are some limitations – for instance, you can’t do AP mode in the NG (Linux-compatible) version. Also, part of the firmware has blobs in it, but a lot of the firmware and all of the driver are modifiable in case you need your ESP32 to do even more than Espressif has coded in – this is not fully open-source firmware, but it’s definitely way more than the Broadcom’s proprietary onboard Raspberry Pi WiFi chip. There’s plenty of documentation, and even some fun features like raw transport layer access. Also, of note is that this project supports ESP32-C6, which means you can equip your project with a RISC-V-based WiFi adapter.

Title image from [zhichunlee].

ESP32 Brings New Features To Classic Geiger Circuit

Por: Tom Nardi
24 Junio 2024 at 08:00

There’s no shortage of Geiger counter projects based on the old Soviet SBM-20 tube, it’s a classic circuit that’s easy enough even for a beginner to implement — so long as they don’t get bitten by the 400 volts going into the tube, that is. Toss in a microcontroller, and not only does that circuit get even easier to put together and tweak, but now the features and capabilities of the device are only limited by how much code you want to write.

Luckily for us, [Omar Khorshid] isn’t afraid of wrangling some 0s and 1s, and the result is the OpenRad project. In terms of hardware, it’s the standard SBM-20 circuit augmented with a LILYGO ESP32 development board that includes a TFT display. But where this one really shines is the firmware.

With the addition of a few hardware buttons, [Omar] was able to put together a very capable interface that runs locally on the device itself. In addition, the ESP32 serves up a web page that provides some impressive real-time data visualizations. It will even publish its data via MQTT if you want to plug it into your home automation system or other platform.

Between the project’s Hackaday.io page and GitHub repository, [Omar] has done a fantastic job of documenting the project so that others can recreate it. That includes providing the schematics, KiCad files, and Gerbers necessary to not only get the boards produced and assembled, but modified should you want to adapt the base OpenRad design.

This project reminds us of the uRADMonitor, which [Radu Motisan] first introduced in 2014 to bring radiation measuring to the masses. This sort of hardware has become far more accessible over the last decade, bringing the dream of a globally distributed citizen-operated network of radiation and environmental monitors much closer to reality.

A Simple Laser Harp MIDI Instrument

19 Junio 2024 at 20:00

Craig Lindley is a technical author and a prolific maker of things. This simple project was his first attempt to create a laser harp MIDI device. While on vacation, Craig saw a laser harp with only three strings and decided to improve upon it by expanding it to twelve strings. The principle of operation is straightforward: twelve cheap diode laser modules aim a beam towards an LDR, which changes resistance if the light level changes when the beam is interrupted.

The controller is a simple piece of perf board, with a Wemos D1 mini ESP32 module flanked by some passives, a barrel socket for power, and the usual DIN connector for connecting the MIDI instrument. Using the ESP32 is a smart choice, removing all the need for configuration and user indication from the physical domain and pushing it onto a rarely-needed webpage. After a false start, attempting to use a triangular frame arrangement, [Craig] settled upon a simple linear arrangement of beams held within a laser-cut wooden box frame. Since these laser modules are quite small, some aluminium rod was machined to make some simple housings to push them into, making them easier to mount in the frame and keeping them nicely aligned with their corresponding LDR.

Sadly, the magnetic attachment method [Craig] used to keep the LDRs in place and aligned with the laser didn’t work as expected, so it was necessary to reach for the hot glue. We’ve all done that!

An interesting addition was using an M5 stack Unit-Synth module for those times when a proper MIDI synthesiser was unavailable. Making this luggable was smart, as people are always fascinated with laser harps. That simple internal synth makes travelling to shows and events a little easier.

Laser harps are nothing new here; we have covered plenty over the years. Like this nice build, which is more a piece of art than an instrument, one which looks just like a real harp and sounds like one, too, due to the use of the Karplus-Strong algorithm to mimic string vibrations.

BikeBeamer Adds POV Display to Bicycle Wheels

11 Junio 2024 at 20:00

Unless you’re living in a bicycle paradise like the Netherlands, most people will choose to add some sort of illumination to their bicycle to help drivers take note that there’s something other than a car using the road. Generally, simple flashing LEDs for both the front and the rear is a pretty good start, but it doesn’t hurt to add a few more lights to the bicycle or increase their brightness. On the other hand, if you want to add some style to your bicycle lighting system then this persistence of vision (POV) display called the BikeBeamer from [locxter] might be just the thing.

The display uses four LED strips, each housed in their own 3D printed case which are installed at 90-degree angles from one another in between the spokes of a standard bicycle wheel. An ESP32 sits at the base of one of the strips and is responsible for storing the image and directing the four displays. This is a little more complex than a standard POV display as it’s also capable of keeping up with the changing rotational speeds of the bicycle wheels when in use. The design also incorporates batteries so that no wires need to route from the bike frame to the spinning wheels.

This is an ongoing project for [locxter] as well, meaning that there are some planned upgrades even to this model that should be in the pipe for the future. Improving the efficiency of the code will hopefully allow for more complex images and even animations to be displayed in the future, and there are also some plans to improve the PCB as well with all surface-mount components. There are a few other ways to upgrade your bike’s lighting as well, and we could recommend this heads-up headlight display to get started.

ESP32 Powered Crunch-E Makes Beats on the Go

Por: Tom Nardi
11 Junio 2024 at 11:00

There’s no shortage of devices out there for creating electronic music, but if you’re just looking to get started, the prices on things like synthesizers and drum machines could be enough to give you second thoughts on the whole idea. But if you’ve got a well stocked parts bin, there’s a good chance you’ve already got most of what you need to build your own Crunch-E.

A Crunch-E built from stacked modules

Described by creator [Roman Revzin] as a “keychain form factor music-making platform”, the Crunch-E combines an ESP32, an MAX98357 I2S audio amplifier, an array of tactile buttons, and a sprinkling of LEDs and passives. It can be built on a perfboard using off-the-shelf modules, or you can spin up a PCB if you want something a bit more professional. It sounds like there’s eventually going to be an option to purchase a pre-built Crunch-E at some point as well.

But ultimately, the hardware seems to be somewhat freeform — the implementation isn’t so important as long as you’ve got the major components and can get the provided software running on it.

The software, which [Roman] is calling CrunchOS, currently provides four tracks, ten synth instruments, and two drum machine banks. Everything can be accessed from a 4 x 4 button array, and there’s a “cheat sheet” in the documentation that shows what each key does in the default configuration. Judging by the demo video below, it’s already an impressively capable platform. But this is just the beginning. If everything goes according to plan and more folks start jamming on their own Crunch-E hardware, it’s not hard to imagine how the software side can be expanded and adapted over time.

Over the years we’ve seen plenty of homebrew projects for producing electronic music, but the low-cost, simple construction, and instant gratification nature of the Crunch-E strikes us as a particularly compelling combination. We’re eager to see where things develop from here.

2024 Business Card Challenge: Weather Or Not You Get the Job

11 Junio 2024 at 08:00
A business card-sized, solar-powered weather station.

What’s the easiest way to break the ice with someone you’ve just met? If you’re not immediately talking shop, than it’s probably the time-tested subject of the weather. So what better way to get the conversation started than with a lovely solar-powered circuit sculpture of a business card that displays the weather?

We love that the frame has a built-in stand; that’s a great touch that really turns this card into something that someone might keep on their desk long-term. The brains of this operation is an ESP32 TTGO E-paper board, which checks the battery voltage first before connecting to Wi-Fi and getting data from the OpenWeatherMap API. It displays the information and then goes to sleep for 15 minutes.

For power, [BLANCHARD Jordan] is using a 5 V solar panel and a small battery from an old vape pen. We love to see projects that keep those things out of the landfills, so don’t sleep on using them.

You have just a few weeks left to enter the 2024 Business Card Challenge, so fire up those soldering irons and get hackin’!

2024 Business Card Challenge

Interfacing a Cheap HDMI Switch With Home Assistant

7 Junio 2024 at 11:00
Close-up of the mod installed into the HDMI switch, tapping the IR receiver

You know the feeling of having just created a perfect setup for your hacker lab? Sometimes, there’s just this missing piece in the puzzle that requires you to do a small hack, and those are the most tempting. [maxime borges] has such a perfect setup that involves a HDMI 4:2 switch, and he brings us a write-up on integrating that HDMI switch into Home Assistant through emulating an infrared receiver’s signals.

overview picture of the HDMI switch, with the mod installed

The HDMI switch is equipped with an infrared sensor as the only means of controlling it, so naturally, that was the path chosen for interfacing the ESP32 put inside the switch. Fortunately, Home Assistant provides the means to both receive and output IR signals, so after capturing all the codes produced by the IR remote, parsing their meaning, then turning them into a Home Assistant configuration, [maxime] got HDMI input switching to happen from the comfort of his phone.

We get the Home Assistant config snippets right there in the blog post — if you’ve been looking for a HDMI switch for your hacker lair, now you have one model to look out for in particular. Of course, you could roll your own HDMI switch, and if you’re looking for references, we’ve covered a good few hacks doing that as part of building a KVM.

Hands On: Inkplate 6 MOTION

Por: Tom Nardi
6 Junio 2024 at 14:00

Over the last several years, DIY projects utilizing e-paper displays have become more common. While saying the technology is now cheap might be overstating the situation a bit, the prices on at least small e-paper panels have certainly become far more reasonable for the hobbyist. Pair one of them with a modern microcontroller such as the RP2040 or ESP32, sprinkle in a few open source libraries, and you’re well on the way to creating an energy-efficient smart display for your home or office.

But therein lies the problem. There’s still a decent amount of leg work involved in getting the hardware wired up and talking to each other. Putting the e-paper display and MCU together is often only half the battle — depending on your plans, you’ll probably want to add a few sensors to the mix, or perhaps some RGB status LEDs. An onboard battery charger and real-time clock would be nice as well. Pretty soon, your homebrew e-paper gadget is starting to look remarkably like the bottom of your junk bin.

For those after a more integrated solution, the folks at Soldered Electronics have offered up a line of premium open source hardware development boards that combine various styles of e-paper panels (touch, color, lighted, etc) with a microcontroller, an array of sensors, and pretty much every other feature they could think of. To top it off, they put in the effort to produce fantastic documentation, easy to use libraries, and free support software such as an online GUI builder and image converter.

We’ve reviewed a number of previous Inkplate boards, and always came away very impressed by the attention to detail from Soldered Electronics. When they asked if we’d be interested in taking a look at a prototype for their new MOTION 6 board, we were eager to see what this new variant brings to the table. Since both the software and hardware are still pre-production, we won’t call this a review, but it should give you a good idea of what to expect when the final units start shipping out in October.

Faster and Stronger

As mentioned previously, the Inkplate boards have generally been differentiated by the type of e-paper display they’ve featured. In the case of the new MOTION, the theme this time around is speed — Soldered says this new display is capable of showing 11 frames per second, no small feat for a technology that’s notoriously slow to refresh. You still won’t be watching movies at 11 FPS of course, but it’s more than enough to display animations and dynamic information thanks to its partial refresh capability that only updates the areas of the display where the image has actually changed.

But it’s not just the e-paper display that’s been swapped out for a faster model. For the MOTION 6, Soldered traded in the ESP32 used on all previous Inkplates for the STM32H743, an ARM Cortex-M7 chip capable of running at 480 MHz. Well, at least partially. You’ll still find an ESP32 hanging out on the back of the MOTION 6, but it’s there as a co-processor to handle WiFi and Bluetooth communications. The STM32 chip features 1 MB of internal SRAM and has been outfitted with a whopping 32 MB of external DRAM, which should come in handy when you’re throwing 4-bit grayscale images at the 1024 x 758 display.

The Inkplate MOTION 6 also features an impressive suite of sensors, including a front-mounted APDS-9960 which can detect motion, proximity, and color. On the backside you’ll find the SHTC3 for detecting temperature and humidity, as well as a LSM6DSO32 accelerometer and gyroscope. One of the most impressive demos included in the MOTION 6’s Arduino library pulls data from the gyro and uses it to rotate a wireframe 3D cube as you move the device around. Should you wish to connect other sensors or devices to the board, you’ve got breakouts for the standard expansion options such as I²C and SPI, as well as Ethernet, USB OTG, I²S, SDMMC, and UART.

Although no battery is included with the MOTION 6, there’s a connector for one on the back of the board, and the device includes a MCP73831 charge controller and the appropriate status LEDs. Primary power is supplied through the board’s USB-C connector, and there’s also a set of beefy solder pads along the bottom edge where you could wire up an external power source.

For user input you have three physical buttons along the side, and a rather ingenious rotary encoder — but to explain how that works we need to switch gears and look at the 3D printed enclosure Soldered has created for the Inkplate MOTION 6.

Wrapped Up Tight

Under normal circumstances I wouldn’t go into so much detail about a 3D printed case, but I’ve got to give Soldered credit for the little touches they put into this design. Living hinges are used for both the power button and the three user buttons on the side, there’s a holder built into the back for a pouch battery, and there’s even a little purple “programming tool” that tucks into a dedicated pocket — you’ll use that to poke the programming button when the Inkplate is inside the enclosure.

But the real star is the transparent wheel on the right hand side. The embedded magnet in the center lines up perfectly with a AS5600 magnetic angle encoder on the Inkplate, with an RGB LED just off to the side. Reading the value from the AS5600 as the wheel rotates gives you a value between 0 and 4048, and the library offers macros to convert that to radians and degrees. Combined with the RGB LED, this arrangement provides an input device with visual feedback at very little cost.

It’s an awesome idea, and now I’m looking for an excuse to include it in my own hardware designs.

The 3D printed case is being offered as an add-on for the Inkplate MOTION 6 at purchase time, but both the STLs and  Fusion 360 files for it will be made available with the rest of the hardware design files for those that would rather print it themselves.

An Exciting Start

As I said in the beginning of this article, the unit I have here is the prototype — while the hardware seems pretty close to final, the software side of things is obviously still in the early stages. Some of the libraries simply weren’t ready in time, so I wasn’t able to test things like WiFi or Bluetooth. Similarly, I wasn’t able to try out the MicroPython build for the MOTION 6. That said, I have absolutely no doubt that the team at Soldered Electronics will have everything where it needs to be by the time customers get their hands on the final product.

There’s no denying that the $169 USD price tag of the Inkplate MOTION 6 will give some users pause. If you’re looking for a budget option, this absolutely isn’t it. But what you get for the price is considerable. You’re not just paying for the hardware, you’re also getting the software, documentation, schematics, and PCB design files. If those things are important to you, I’d say it’s more than worth the premium price.

So far, it looks like plenty of people feel the same way. As of this writing, the Inkplate MOTION 6 is about to hit 250% of its funding goal on Crowd Supply, with more than 30 days left in the campaign.

GlobeTune Will Widen Your Musical Horizons

1 Junio 2024 at 23:00
A small internet radio in 3D-printed case with a knob and an OLED screen.

Are you tired of the same old music, but can’t afford any new tunes, even if they’re on dead formats? Boy, do we know that feeling. Here’s what you do: build yourself a GlobeTune music player, and you’ll never want for new music again.

The idea is simple, really. Just turn what we assume is a nice, clicky knob, and after a bit of static (which is a great touch!), you get a new, random radio station from somewhere around the globe. [Alexis D.] originally built this as a way to listen to and discover new music while disconnecting from the digital world, and we think it’s a great idea.

[Alexis D.] has production in mind, so after a Raspberry Pi Zero W prototype, they set about redesigning it around the ESP32. The current status seems to be hardware complete, software forthcoming. [Alexis D.] says that a crowdfunding campaign is in the works, but that the project will be open-sourced once in an acceptable state. So stay tuned!

Speaking of dead-ish formats, here’s an Internet radio in a cassette form factor.

The Long Road Towards Reverse Engineering The ESP32 Wi-Fi Driver

Por: Maya Posch
27 Mayo 2024 at 11:00

Although much of the software that runs on the ESP32 microcontroller is open source, the Wi-Fi driver is not. Instead, it uses a proprietary binary blob. This was no problem for [Jasper Devreker]’s reverse-engineering of the ESP32’s Wi-Fi stack so far until he came face to face with reverse-engineering the initialization of the Wi-Fi peripheral. As it turns out, there is a lot of work involved after you call esp_phy_enable in the Espressif binary blob, with the team logging 53,286 peripheral accesses during the initialization phase. In comparison, sending a Wi-Fi packet takes about ten calls.

Currently, the way that the initialization step is handled is by having the initialization routine in the binary blob do its thing by configuring the radio and other elements before killing the FreeRTOS task and replacing it with their own version. The team is actively looking for a clean approach for moving forward that will avoid simply writing everything from scratch. For the Wi-Fi MAC, existing code (e.g., FreeBSD’s stack) could be used, but the radio code is much more of a headache. Clearly, there’s still a lot more work to be done in order to get a fully open-source Wi-Fi MAC and stack for the ESP32, but having the community (that’s you) pitch in might speed things up if there’s demand for an open-source driver.

[Jasper’s] been working on this for a while. He’s even built a Faraday cage to make the task easier.

This WiFi Filament Sensor is Unnecessary, But Awesome

Por: Tom Nardi
19 Mayo 2024 at 14:00

As desktop 3D printers have inched towards something resembling the mainstream, manufacturers have upped their game across the board. Even the quality of filament that you can get today is far better than what was on the market in the olden days, back when a printer made out of laser-cut birch wasn’t an uncommon sight at the local makerspace. Now, even the cheap rolls are wound fairly well and are of a consistent diameter. For most folks, you just need to pick a well-reviewed brand, buy a roll, and get printing.

But as with everything else, there are exceptions. Some people are producing their own filaments, or want to make sure their extrusion rate is perfectly calibrated. For those that need the capability, the WInFiDEL from [Sasa Karanovic] can detect filament diameter in real-time while keeping the cost and complexity as low as possible. Even better, with both the hardware and software released as open source, it makes an excellent starting point for further development and customization.

In fact, the WInFiDEL itself was developed from the earlier InFiDEL sensor designed by [Thomas Sanladerer]. This new version uses the same basic mechanism: a pair of bearings, with one fixed in position and the other attached to an arm with a magnet on the end. As the filament passes between the bearings, the arm raises and lowers the magnet, which is detected by a linear Hall-effect sensor. The resulting raw deflection data, once properly calibrated, provides a highly accurate readout of the filament diameter as it passes through the sensor and into the extruder.

What’s changed is how the sensor is utilized. [Thomas] imagined the original sensor as being connected directly to the 3D printer’s motherboard, with its data being used to modify the extrusion rate during printing. In other words, it wasn’t really designed for humans to use. For the WInFiDEL, [Sasa] dropped the anemic ATTiny85 and replaced it with an ESP32 that can connect to your WiFi network and offer up a slick web interface, complete with a easy to use calibration tool and a rolling graph that plots out the data as it comes in. There’s also an API that allows you to hit the sensor with a web request to get current diameter and calibration data should you want to virtually connect it up to something like OctoPrint.

Most of us don’t need the WInFiDEL. But looking at the exceptional hardware and software of this project, we sure as hell want one anyway. Of course, we’d expect no less from [Sasa]. Whether its his OS-agnostic fan controller or ESP32 powered camera slider, his creations always exhibit a sort of simplistic elegance that we’re big fans of.

MIDI Bookmark Marks the Spot Where Work and Play Intersect

6 Mayo 2024 at 11:00
A capacitive touch MIDI instrument that doubles as a bookmark.

Have you ever wanted to take a break from reading or studying to just rock out for a few blissful minutes? If you’re anything like us, you like to rock out most of the time and take the occasional break to do your reading. Either way, you really can’t go wrong with this MIDI bookmark from [Misfit Maker].

The guts of a MIDI bookmark.This slick little bookmark may look 3D printed, but it’s all carefully-cut foam board in two thicknesses. Even the keys are made foam board — they’re just wrapped in carbon fiber so they look extra cool.

Underneath that carbon fiber is a layer of aluminium tape to make them capacitive. [Misfit Maker] recommends using copper tape instead because it allows for wires to be soldered directly to the keys.

The brains of this beauty is in the form of an ESP32 which is controlling an MPR-121 capacitive touch sensor. If you’d like to make one of these for yourself, there are plenty of helpful GIFs embedded in the thorough write-up. Be sure to check out the brief demo after the break.

If you want to easily MIDI-fy something and use touch inputs, you can’t really go wrong with the Raspberry Pi Pico, which does capacitive touch natively. Check out this MIDI kalmiba to learn more.

Hive Monitor Is the Bee’s Knees

5 Mayo 2024 at 14:00
A beehive sits on bricks with an outdoor-rated box full of electronics to monitor the hive.

Beekeeping is quite the rewarding hobby. There’s delicious honey and useful wax to be had, plus you get the honor of knowing that you’re helping to keep the bee population surviving and thriving. [Ben Brooks] likes to keep tabs on the hive, but doesn’t like the idea of opening it up more often than necessary. After a couple of beekeeping rodeos, [Ben] decided to build his own tracker to get reports on the health and the activity of the hive through Home Assistant.

A white outdoor-rated box opened to reveal electronics to monitor a beehive.This hive tracker features a light sensor, a temperature sensor, and three strain gauges to measure the weight. There would be four, but a mouse decided to take a bite of the wires in the most nightmarish place to repair.

Everything runs off of an ESP32, and there’s an external antenna involved because the hive is nearly out of Wi-Fi range. The strain gauges are the affordable bathroom-scale type, and [Ben] has extras for if and when the number of hives goes up.

We like the combination of hard work and simplicity going on here — [Ben] milled and drilled the PCB himself, and used phone plugs to connect the temperature and weight sensors. Unfortunately, the plugs make the strain gauges a little finicky, so [Ben] says he would probably use screw terminals next time, or might be soldering the wires sooner rather than later. Consider this one a work in progress, and keep watching for updates as [Ben] works out the kinks.

Interested in beekeeping, but don’t want to build a traditional hive? Check out this beehive in a bottle.

Keep Tabs on PC Use with Custom Analog Voltmeter

26 Abril 2024 at 23:00

With the demands of modern computing, from video editing, streaming, and gaming, many of us will turn to a monitoring system of some point to keep tabs on CPU usage, temperatures, memory, and other physical states of our machines. Most are going to simply display on the screen but this data can be sent to external CPU monitors as well. This retro-styled monitor built on analog voltmeters does a great job of this and adds some flair to a modern workstation as well.

The build, known as bbMonitor, is based on the ESP32 platform which controls an array of voltmeters via PWM. The voltmeters have been modified with a percentage display to show things like CPU use percentage. Software running on the computers sends this data in real time to the ESP32 so the computer’s behavior can be viewed at a glance. Each voltmeter is also augmented with RGB LEDs that change color from green to red as use increases as well. The project’s creator, [Corebb], also notes that the gauges will bounce around if the computer is under heavy load but act more linearly when under constant load, also helping to keep an eye on computer status.

While the build does seem to rely on a Windows machine to run the software for export to the monitor, all of the code is open-sourced and available on the project’s GitHub page and could potentially be adapted for other operating systems. And, as far as the voltmeters themselves go, there have been similar projects in the past that use stepper motors as a CPU usage monitor instead.

A Smart Power Distribution Unit for Home Automation

25 Abril 2024 at 20:00

Power distribution units, as the name implies, are indispensable tools to have available in a server rack. They can handle a huge amount of power for demands of intensive computing and do it in a way that the wiring is managed fairly well. Plenty of off-the-shelf solutions have remote control or automation capabilities as well, but finding none that fit [fmarzocca]’s needs or price range, he ended up building his own essentially from scratch that powers his home automation system.

Because it is the power supply for a home automation system, each of the twelve outlets in this unit needed to be individually controllable. For that, three four-channel relay boards were used, each driven by an output on an ESP32. The ESP32 is running the Tasmota firmware to keep from having to reinvent the wheel, while MQTT was chosen as a protocol for controlling these outlets to allow for easy integration with the existing Node-RED-based home automation system. Not only is control built in to each channel, but the system can monitor the power consumption of each outlet individually as well. The entire system is housed in a custom-built sheet metal enclosure and painted to blend in well with any server rack.

Adding a system like this to a home automation system can simplify a lot of the design, and the scalable nature means that a system like this could easily be made much smaller or much larger without much additional effort. If you’d prefer to keep your hands away from mains voltage, though, we’ve seen similar builds based on USB power instead, with this one able to push around 2 kW.

❌
❌