Playing Around With The MH-CD42 Charger Board

If you’ve ever worked with adding lithium-ion batteries to one of your projects, you’ve likely spent some quality time with a TP4056. Whether you implemented the circuit yourself, or took the easy way out and picked up one of the dirt cheap modules available online, the battery management IC is simple to work with and gets the job done.

But there’s always room for improvement. In a recent video, [Det] and [Rich] from Learn Electronics Repair go over using a more modern battery management board that’s sold online as the MH-CD42. This board, which is generally based on a clone of the IP5306, seems intended for USB battery banks — but as it so happens, plenty of projects that makers and hardware hackers work on have very similar requirements.

So not only will the MH-CD42 charge your lithium-ion cells when given a nominal USB input voltage (4.5 – 5 VDC), it will also provide essential protections for the battery. That means looking out for short circuits, over-charge, and over-discharge conditions. It can charge at up to 2 A (up from 1 A on the TP4056), and includes a handy LED “battery gauge” on the board. But perhaps best of all for our purposes, it includes the necessary circuitry to boost the output from the battery up to 5 V.

If there’s a downside to this board, it’s that it has an automatic cut-off for when it thinks you’ve finished using it; a feature inherited from its USB battery bank origins. In practice, that means this board might not be the right choice for projects that aren’t drawing more than a hundred milliamps or so.

Continue reading “Playing Around With The MH-CD42 Charger Board”

OSHW Battery Tester Aims To Help Tame Lithium Cells

It’s no exaggeration to say that the development of cheap rechargeable lithium-ion batteries has changed the world. Enabling everything from smartphones to electric cars, their ability to pack an incredible amount of energy into a lightweight package has been absolutely transformative over the last several decades. But like all technologies, there are downsides to consider — specifically, the need for careful monitoring during charging and discharging.

As hardware hackers, we naturally want to harness this technology for our own purposes. But many are uncomfortable about dealing with these high-powered batteries, especially when they’ve been salvaged or come from some otherwise questionable origin. Which is precisely what the Smart Multipurpose Battery Tester from [Open Green Energy] is hoping to address.

Continue reading “OSHW Battery Tester Aims To Help Tame Lithium Cells”

The Automatic Battery Charger You Never Knew You Needed

When we saw [Max.K]’s automatic NiMh battery charger float past in the Hackaday tips line, it brought to mind a charger that might be automatic in the sense that any modern microcontroller based circuit would be; one which handles all the voltages and currents automatically. The reality is far cooler than that, a single-cell charger in which the automatic part comes in taking empty cells one by one from a hopper on its top surface and depositing them charged in a bin at the bottom.

Inside the case is a PCB with an RP2040 that controls the whole shop as well as the charger circuitry. A motorized cam with a battery shaped insert picks up a cell from the bin and moves it into the charger contacts, before dumping it into the bin when charged. What impresses us it how slick this device is, it feels like a product rather than a project, and really delivers on the promise of 3D printing. We’d want one on our bench, and after watching the video below the break, we think you will too.

Continue reading “The Automatic Battery Charger You Never Knew You Needed”

Change The Jingle In Your Makita Charger Because You Can

Lots of things beep these days. Washing machines, microwaves, fridge — even drill battery chargers. If you’re on Team Makita, it turns out you can actually change the melody of your charger’s beep, thanks to a project from [Real-Time-Kodi].

The hack is for the Makita DR18RC charger, and the implementation of the hack is kind of amusing. [Real-Time-Kodi] starts by cutting the trace to the buzzer inside the charger. Then, an Arduino is installed inside the charger, hooked up to the buzzer itself and the original line that was controlling it. When it detects the charger trying to activate the buzzer, it uses this as a trigger to play its own melody on the charger instead. The Arduino also monitors the LEDs on the charger in order to determine the current charge state, and play the appropriate jingle for the situation.

It’s an amusing hack, and one that could certainly confuse the heck out of anyone expecting the regular tones out of their Makita charger. It also shows that the simple ways work, too — there was no need to dump any firmware or decompile any code.

Continue reading “Change The Jingle In Your Makita Charger Because You Can”

This Open Hardware Li-Ion Charger Skips The TP4056

There’s a good chance that if you build something which includes the ability to top up a lithium-ion battery, it’s going to involve the incredibly common TP4056 charger IC. Now, there’s certainly nothing wrong with that. It’s a decent enough chip, and there are countless pre-made modules out there that make it extremely easy to implement. But if the chip shortage has taught us anything, it’s that alternatives are always good.

So we’d suggest bookmarking this opensource hardware Li-Ion battery charger design from [Shahar Sery]. The circuit uses the BQ24060 from Texas Instruments, which other than the support for LiFePO4 batteries, doesn’t seem to offer anything too new or exciting compared to the standard TP4056. But that’s not the point — this design is simply offered as a potential alternative to the TP4056, not necessarily an upgrade.

[Shahar] has implemented the design as a 33 mm X 10 mm two-layer PCB, with everything but the input and output connectors mounted to the topside. That would make this board ideal for attaching to your latest project with a dab of hot glue or double-sided tape, as there are no components on the bottom to get pulled off when you inevitably have to do some rework.

The board takes 5 VDC as the input, and charges a single 3.7 V cell (such as an 18650) at up to 1 Amp. Or at least, it can if you add a heatsink or fan — otherwise, the notes seem to indicate that ~0.7 A is about as high as you can go before tripping the thermal protection mode.

Like the boilerplate TP4056 we covered recently, this might seem like little more than a physical manifestation of the typical application circuit from the chip’s datasheet. But we still think there’s value in showing how the information from the datasheet translates into the real-world, especially when it’s released under an open license like this.

Handy Tool Drains 18650 Cells So You Don’t Have To

Draining a battery is easy. Just put a load across the terminals, maybe an incandescent bulb or a beefy power resistor, and wait. What’s quite a bit trickier is doing so safely. Put too large a load on, or leave it connected for longer than necessary, and you can end up doing damage to the cell. Not convinced he’d always remember to pull the battery out of his jury-rigged discharger at the opportune moment, [Jasper Sikken] decided to come up with a simple tool that could automatically handle the process with the cold and calculating precision of silicon.

V4 used the protection module from a pouch battery.

At a glance we can see the major components you’d expect in a discharger: a fairly simple PCB, four ceramic power resistors, a holder for a single 18650 cell, and a rocker switch to connect it all together. But wait, what’s that a TP4056 charging module doing in there?

While its presence technically makes this device a battery charger, [Jasper] is actually using it for the onboard protection IC. With the charging module between the cell and the power resistors, it will cut the connection when the voltage drops to 2.4 V. Oh yeah, and it can charge the battery back up if you connect up a USB cable.

[Jasper] says his little tool works great, with the resistor array putting just enough load on the battery to pull it down quickly without getting so hot that they’re dangerous to have exposed. He estimates the BOM for this gadget runs around $2 USD, and is considering offering it as a kit on Tindie in the near future.

If you’re looking for something a bit more advanced, [Jasper] built a programmable load a few years back that can discharge batteries and test power supplies all while logging the data to your computer for later analysis.

Continue reading “Handy Tool Drains 18650 Cells So You Don’t Have To”

Building A USB-C Charger For Canon NB-4L Batteries

One of the most appealing aspects of USB-C is that it promises to be a unified power delivery system. You’ll no longer need to have a separate power cords for for your phone, camera, and laptop; physically they’ll all use USB-C connectors, and the circuitry in the charger will know how much juice to send down the line for each gadget. But in reality, we’ve all got at least a few pieces of older equipment that we’re not about to toss in the trash just because it doesn’t support the latest USB spec.

Note the relocated status LEDs.

Case in point, the old Canon camera that [Purkkaviritys] modified to take infrared pictures. Instead of abandoning it, he decided to make a custom USB-C charger for its NB-4L batteries. Since they’re just single cell 3.7 V lithium-ions, all he had to do was wire them up to the ubiquitous TP4056 charger module and design a 3D printed case to hold everything together.

He did go the extra mile and replace the SMD charging indicator LEDs on the PCB with 5 mm LEDs embedded into the 3D printed enclosure, though you could certainly skip this step if you were in a hurry. We imagine if you print the enclosure in a light enough color, you should be able to see the original LEDs glowing through the plastic.

This project is yet another example of how incredibly useful the TP4056 module really is. If there’s even a chance you might want to build a rechargeable gadget in the near future, you should have a few of these cheap boards ready to go in the parts bin.