Connecting (And Using) High-Capacity Batteries In Parallel

For those willing to put some elbow grease into it, there is an almost unlimited supply of 18650 lithium ion batteries around for cheap (or free) just waiting to be put into a battery pack of some sort. Old laptop and power tool batteries are prime sources, as these often fail because of one bad cell while the others are still perfectly usable. [limpkin] built a few of these battery packs and now that he’s built a few, he’s back with a new project that allows him to use four custom packs simultaneously.

The problem with using different battery packs in parallel is that unless the batteries are charged to similar voltages, they could generate a very high and potentially dangerous amount of current when connected in parallel. This circuit board, powered by a small ATtiny microcontroller, has four XT60 connectors for batteries and a fifth for output. It then watches for current draw from each of the batteries and, using a set of solid-state relays, makes sure that no dangerous over-current conditions occur if the batteries are connected with mismatched voltages. The code for the microcontroller is available on this GitHub page as well.

An array of batteries with a balancing system like this has a number of uses, from ebikes to off-grid power solutions, and of course if you build your own packs you’ll also want to build a cell balancer of some sort as well. Batteries go outside the realm of theory and into that of chemistry, so we’ll also provide a general warning about working in potentially dangerous situations without specialized knowledge, but you can see how [limpkin] built his original packs here if you want to take a look at one person’s strategy for repurposing old cells.

Continue reading “Connecting (And Using) High-Capacity Batteries In Parallel”

The Emperor’s New Computer

You walk into a home office and see an attractive standing desk that appears bare. Where’s the computer? Well, if it is [DIY Perk]’s office, the desk is the computer. Like a transformer robot, the desk transforms into a good-looking PC.

He starts with a commercial desk and creates a replacement desktop out of some aluminum sheets and extrusions. The motion uses some V-slot profiles and linear rails. The monitor and keyboard shelf pop up on invisible hinges. When closed, there’s no trace of a computer.

Continue reading “The Emperor’s New Computer”

A System Board For The 8008

Intel processors, at least for PCs, are ubiquitous and have been for decades. Even beyond the chips specifically built by Intel, other companies have used their instruction set to build chips, including AMD and VIA, for nearly as long. They’re so common the shorthand “x86” is used for most of these processors, after Intel’s convention of naming their processors with an “-86” suffix since the 1970s. Not all of their processors share this convention, though, but you’ll have to go even further back in time to find one. [Mark] has brought one into the modern age and is showing off his system board for this 8008 processor.

The 8008 predates any x86 processor by about six years and was among the first mass-produced 8-bit processors even before the well-known 8080. The expansion from four bits to eight was massive for the time and allowed a much wider range of applications for embedded systems and early personal computers. [Mark] goes into some of the details for programming these antique processors before demonstrating his system board. It gets power from a USB-C connection and uses a set of regulators and level shifters to make sure the voltages all match. Support for all the functions the 8008 needs is courtesy of an STM32. That includes the system memory.

For those looking to develop something like this, [Mark] has also added his development tools to a separate GitHub page. Although it’s always a good idea for those interested in computer science to take a look at old processors like these, it’s not always the easiest path to get original hardware like this, which also carries the risk of letting smoke out of delicate components. A much easier route is to spin up an emulator like an 8086 IBM PC emulator on an ESP32. Want to see inside this old chip? Have a look.

Continue reading “A System Board For The 8008”

Camera And Lens Repair Hack Chat

Join us on Wednesday, May 29 at noon Pacific for the Camera and Lens Repair Hack Chat with Anthony Kouttron!

Unlike the normies, most of us are pretty comfortable looking under the hood of just about anything electronic or mechanical. Whether it’s to effect a repair, make a modification, or just to take a look around, voiding warranties is what we do. A lot of us have hard limits, though, and will shy away from certain types of equipment. High voltages and radiation come to mind, as well as machines with lots of spinny bits that can devour your hands in a trice. One mustn’t be foolhardy, after all.

But one place that we’ve always feared to tread for some reason is camera equipment. Perhaps it has to do with all those impossibly tiny screws with subtly different lengths and the knowledge that putting the wrong screw in the wrong hole could have disastrous results. Or maybe it’s just the general fear that messing around with the insides of lenses could knock something slightly off-kilter and ruin the optics.

join-hack-chatWe’re certainly glad that Anthony Kouttron doesn’t share this trepidation. We recently featured a lens repair that he accomplished that was packed with tips and tricks for optical repairs. It turns out that Anthony has been repairing cameras for leisure since 2010, and has serviced both consumer and high-end cinema equipment — so he’s seen his fair share of broken camera bits. We’ve asked him to drop by the Hack Chat, so if you’ve been hesitant to dive into optical fixes, now might be your chance to learn about the dos and don’ts of camera and lens repair.

Our Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, May 29 at 12:00 PM Pacific time. If time zones have you tied up, we have a handy time zone converter.

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

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.

Reinventing Rotary Switches With Stepper Motors

When you need to make very tiny measurements, even noise in closed relays can throw you off. [Marco] was able to observe this effect and wanted to build a switch that didn’t have this problem. He found a technical paper that used rotary switches operated by stepper motors instead of relays. So he decided to try making his own version. The video below shows how it turned out.

The first part of the video talks about why relays sometimes inject a tiny voltage into a closed circuit. He then looks at costly switches that would work. However, since he needed many switches, he decided to roll his own.

Continue reading “Reinventing Rotary Switches With Stepper Motors”

So What’s All This HaLow Long-Range WiFi About Then?

We’re all used to wireless networking, but if there’s one thing the ubiquitous WiFi on 2.4 or 5 GHz lacks, it’s range. Inside buildings, it will be stopped in its tracks by anything more than a mediocre wall, and outside, it can be difficult to connect at any useful rate more than a few tens of metres away without resorting to directional antennas and hope. Technologies such as LoRa provide a much longer range at the expense of minuscule bandwidth, but beyond that, there has been little joy. As [Andreas Spiess] points out in a recent video though, this is about to change, as devices using the so-called HaLow or IEEE 802.11ah protocol are starting to edge into the realm of affordability.

Perhaps surprisingly, he finds the 5 GHz variant to be best over a 1km test with a far higher bandwidth. However, we’d say that his use of directional antennas is something of a cheat. Where it does come into its own in his tests, though, is through masonry, with far better penetration across floors of a building. We think that this will translate to better outdoor performance when the line of sight is obstructed.

There’s one more thing he brings to our attention, which seasoned users of LoRA may already be aware of. These lower frequency allocations are different between the USA and Europe, so should you order one for yourself, it would make sense to ensure you have the appropriate model for your continent. Otherwise, we look forward to more HaLow devices appearing and the price falling even further because we think this will lead to some good work in future projects.

Continue reading “So What’s All This HaLow Long-Range WiFi About Then?”