Many AA or AAA battery chargers charge batteries in pairs, but plenty of devices use 1 or 3 batteries, meaning that some of your batteries get overcharged and some get undercharged. NiCd and NiMH batteries also benefit from an occasional full discharge, which most normal battery chargers wonβt do.
If youβre anything like me youβll end up with a lot of rechargeable batteries, none of which end up being charged properly, and some of which turn out to be completely unusable. Itβd be perfect if you had a low-power battery charger that you could leave on all the time, that would charge your batteries individually, automatically discharge them, and give you an idea of their real capacity. Thatβs what youβll make in this tutorial!
Note: To make this nice and easy, the charger uses Espruinoβs GPIO pins to directly charge and discharge the batteries. This means it canβt charge batteries very quickly (it can take days to charge and discharge them!). NiMH batteries benefit from an occasional fast charge/discharge, which this charger canβt provide without some extra components β so itβs not perfect, but it is easy to build and will make sure your batteries are always topped up.
For more detail:Β Smart Battery Charger (no soldering!)