The saga of the solar charger for NiMH batteries

I’ve been working on a project (coming very soon) in my solar / renewables series that lets you charge NiMH rechargable batteries.

What a journey! Here’s a prototype I built to help me visualise the way forward:

photo showing the prototype AA NiMH solar charger
prototype AA NiMH solar charger

The challenges to overcome are that the batteries come in two different sizes – the smaller AAA and the larger AA ones. More than that, they come in lots of different capacities and each capacity has to be charged at a different rate.

Another complication is that the solar panel needed depends both on the number of batteries to be charged and the charging current – Ohm’s law tells us that the solar panel power needed is the total battery voltage x the charging current.

Coming up with the most practical combination for the project with all those variables proved to be a real mind bender.

Way forward

In the end, after much checking of physical sizes and layouts of the charging circuit compared with the available space in AA and especially AAA battery boxes, I decided on two projects – a solar charger for:

  • 2 x AAA batteries that can be switched to charge two different capacity batteries (as decided during the build)
    With space being so tight, I’ve had to use a lower power and hence physically smaller LM317 constant current device. It’s ok in the lower power version because the maximum practical capacity for AAA NiMH batteries means a charging current well within its maximum power dissipation rating.
  • 2 x AA batteries that can be switched to charge two different capacity batteries (as decided during the build)
    A suggestion section in this second project pointing the way to allow 6 batteries to be charged, mix ‘n match AA and AAA (as long as the capacities are the same), and having the circuit cater for more than two capacities.

Size comparison

Here’s a comparison of the size of the lower power version (TO-92 package) on the right, with the higher power one (TO-220 package) on the left.

a photo comparing the sizes of the two LM317 packages
higher and lower power packages of the LM317 compared

With so little space to play with in the AAA battery case, you can see why it’s circuit needs to use the lower power version!

To help get my head around things, here’s the table I put together covering many of the commonly available battery capacities, the resistors needed to set the manufacturer-recommended C/10 safe charging currents for them and the resulting solar panel wattages:

Battery Capacity (mAh)R1 value (Ω)C/10 charging current (mA)2 Battery 6V Solar Panel6 Battery 12V Solar Panel
50015 + 10500.5 Watt1 Watt
70018690.5 Watt1 Watt
80010 + 5.6800.5 Watt1 Watt
90010 + 3.9900.6 Watt1.5 Watt
100010 + 2.7980.6 Watt1.5 Watt
13008.2 + 1.51290.9 Watt1.8 Watt
20004.7 + 1.81921.25 Watt2.5 Watt
23003.3 + 2.22271.5 Watt3 Watt
24002.7 + 2.72311.5 Watt3 Watt
25003.3 + 1.82451.5 Watt3 Watt
28003.3 + 1.22782 Watt4 Watt
29002.2 + 2.22842 Watt4 Watt
resistor value(s) and solar panel watts for manufacturer-recommended C/10 charging

Tip for ‘exposing’ LEDs

I’m sure I’m not the first but I’ve not seen anyone else doing this. Have a look at the photo at the top and you’ll see two holes in the battery box lid to let the LEDs show through.

If you look closely, you might notice that they’ve been filled with uv glue. That way, the LEDs can still shine through but water / dust won’t get into the box.

It’s simple to do – just drill a couple of holes and then stick some sticky tape on the underneath. You can now fill the holes with uv glue and it won’t run away while you set it. Once set, just peel away the sticky tape.

Nice!