Better Battery Design Through Science

Before the age of lithium batteries, any project needing to carry its own power had to rely on batteries that were much less energy-dense and affordable. In many ways, we take modern lithium technology for granted, and can easily put massive batteries in our projects by the standards of just a few decades ago. While the affordability of lithium batteries has certainly decreased the amount of energy we need to put in to our projects to properly size batteries, there’s still a lot of work to be done if you’re working on a bigger project or just want to get the maximize the efficiency and effectiveness of your DIY battery pack.

The main problem with choosing a battery, as [ionworks] explains, is that batteries can’t be built for both high energy and high power, at least not without making major concessions for weight or cost. After diving in to all of the possible ways of customizing a battery, the battery guide jumps in to using PyBaMM to perform computational modeling of potential battery designs to hopefully avoid the cumbersome task of testing all of the possible ways of building a battery. With this tool virtually all of a battery’s characteristics can be simulated and potential problems with your setup can be uncovered before you chose (or start production of) a specific battery system.

While customizing a battery pack to this extent might not be a consideration for most of us unless the project is going to be big enough to run something like an electric car or a whole-house generator, it’s a worthwhile tool to know about as even smaller projects like ebikes can benefit from choosing the right cell for the application. Some of the nuances of battery pack design can be found in this guide to building packs from the standard 18650 cells.

Header: Lead holder, CC BY-SA 3.0 .

New Battery Has No Anode

Conventional batteries have anodes and cathodes, but a new design from the University of Chicago and the University of California San Diego lacks an anode. While this has been done before, according to the University, this is the first time a solid-state sodium battery has successfully used this architecture.

Sodium is abundant compared to lithium, so batteries that use sodium are attractive. According to the University of Chicago’s news release:

Anode-free batteries remove the anode and store the ions on an electrochemical deposition of alkali metal directly on the current collector. This approach enables higher cell voltage, lower cell cost, and increased energy density…

Continue reading “New Battery Has No Anode”

Reverse-Engineering Makita Batteries To Revive Them

Modern lithium-ion battery packs for cordless power tools contain an incredible amount of energy, which necessitates that they come with a range of safeties. Although it’s good when the battery management system (BMS) detects a fault and cuts power to prevent issues, there exist the possibility of false positives. Having an expensive battery pack brick itself for no good reason is rather annoying, as is being unable to reuse a BMS in for example a re-manufactured battery. This was the reasoning that led [Martin Jansson] down the path of reverse-engineering Makita batteries for starters.

After that initial reverse-engineering attempt involving a firmware dump of the NEC (Renesas) F0513 MCU, [Martin] didn’t get back to the project until recently, when he was contacted by [Romain] who donated a few BMS boards to the cause. One of these features an STM32 MCU, which made the task much easier. Ultimately [Martin] was able to determine the command set for the Maxim OneWire-based communication protocol, as was a hidden UART mode.

Due to the critical timing required, off-the-shelf programmers didn’t work, so an Arduino Uno-based programmer (ArduinoOBI) was created instead, which can be found on GitHub along with the Open Battery Information desktop application which provides access to these BMS features after connecting to the battery pack. Although only Makita is supported right now, [Martin] would like to see support for other brands being added as well.

PCB Design Review: A 5V UPS With LTC4040

Do you have a 5 V device you want to run 24/7, no matter whether you have electricity? Not to worry – Linear Technology has made a perfect IC for you, the LTC4040; with the perfect assortment of features, except perhaps for the hefty price tag.

[Lukilukeskywalker] has shared a PCB for us to review – a LTC4040-based stamp you can drop onto your PCB whenever you want a LTC4040 design. It’s a really nice module to see designed – things like LiFePO4 support make this IC a perfect solution for many hacker usecases. For instance, are you designing a custom Pi HAT? Drop this module to give your HAT the UPS capability for barely any PCB effort. if your Pi or any other single-board computer needs just a little bit of custom sauce, this module spices it up alright!

Continue reading “PCB Design Review: A 5V UPS With LTC4040”

BikeBeamer Adds POV Display To Bicycle Wheels

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.

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”

2024 Business Card Challenge: Adding Some Refinement To Breadboard Power Supplies

For small electronics projects, prototyping a design on a breadboard is a must to iron out kinks in the design and ensure everything works properly before a final version is created. The power supply for the breadboard is often overlooked, with newcomers to electronics sometimes using a 9V battery and regulator or a cheap USB supply to get a quick 5V source. We might eventually move on to hacking together an ATX power supply, or the more affluent among us might spring for a variable, regulated bench supply, but this power supply built specifically for breadboards might thread the needle for this use case much better than other options.

The unique supply is hosted on a small PCB with two breakout rails that connect directly to the positive and negative pins on a standard-sized breadboard. The power supply has two outputs, each of which can output up to 24V DC and both are adjustable by potentiometers. To maintain high efficiency and lower component sizes, a switch-mode design is used to provide variable DC voltage. A three-digit, seven-segment display at the top of the board keeps track of whichever output the user selects, and the supply itself can be powered by a number of inputs, including USB-C or lithium batteries.

Continue reading “2024 Business Card Challenge: Adding Some Refinement To Breadboard Power Supplies”