ESP8266 Keeps An Eye On Your Batteries

There are many more things to know about a battery than its voltage and current output at any given moment, and most of them can’t be measured with a standard multimeter unless you also stand there for a long time with an Excel spreadsheet. The most useful information is battery capacity, which can tell you how much time is left until the battery is fully charged or fully discharged. [TJ] set out to create a battery data harvester, and used the ubiquitous ESP8266 to make a fully-featured battery monitor.

Measuring battery capacity is pretty straightforward but it does take time. A battery is first benchmarked to find its ideal capacity, and then future voltage and current readings can be taken and compared to the benchmark test to determine the present capacity of the battery. The ESP8266 is a relatively good choice for this kind of work. Its WiFi connection allows it to report its information to a server which will store the data and make it available for the user to see.

The first page of this project details building the actual module, and the second page outlines how to get that module to communicate with the server. Once you’ve built all of this, you can use it to monitor your whole-house UPS backup system or the battery in your solar-powered truck. There is quite a bit of information available on the project site for recreating the build yourself, and there’s also a video below which shows its operation.

Continue reading “ESP8266 Keeps An Eye On Your Batteries”

Fubarino Contest: Battery Capacity Tester

fubarino-contest-battery-capacity-tester

Here’s a project that we sadly let slip through the cracks a couple of years ago. Luckily [Brian] dusted it off and added an Easter Egg to the firmware in order to include it in the Fubarino Contest. The device is a rechargeable battery capacity tester. It discharges NiMH or NiCad batteries through a load resistor at about 1 Watt. [Brian] includes a discussion in his write-up about the hardware’s inability to work with 14500 Li-Ion cells. He includes enough info for you to figure out how to make changes to the circuit if you want to enable this option.

There is a MOSFET for switching each of the three battery positions. The ATmega168 takes readings from the cells once per second. It displays status information on a Nokia 5510 cellphone screen. This is where he chose to inject the Hackaday URL. When a cell’s discharge is complete, the image above scrolls onto the screen and remains there for a short time. See for yourself after the break.

Continue reading “Fubarino Contest: Battery Capacity Tester”

Battery Capacity Tester Lifts The Veil On Manufacturer Capacity Claims

battery_cap_tester

[Nick] was tasked with building a battery capacity tester by one of his teachers in order to test some aftermarket batteries that were purchased for their Vex robotics lab. The batteries were cheaper than the official version, but boasted more than twice the capacity. Fairly skeptical of the rating, he got to work designing his circuit.

He originally planned on discharging the battery through a resistor and measuring the voltage with a PIC microcontroller. After prototyping the circuit, he found that the PIC did not have enough storage space for the data he was collecting, and that there were issues with fluctuating current as the voltage decreased.

Undeterred, he built a new tester using a Teensy microcontroller and a different discharging circuit using a LM317T. This second version not only included an LCD screen to track the discharging process in real-time, but it also dumps all of the data and calculations to a spreadsheet on the computer connected to the Teensy.

The capacity tester works pretty well, according to [Nick]. He says that most batteries overestimate their capacity, and that his meter is getting readings within an acceptable variance when testing known good batteries. What about those knock-off batteries from China?  He discovered that they can hold about half the charge that they claim – it’s a good thing he decided to test them out!

While he provides the software he used for the tester, there are no schematics to be found. Check out some of the other battery capacity testers we have featured in the past for tips on building one yourself.