Measuring Battery Capacity with an Arduino – Denis Hennessy.

If you plan to burn through a lot of expensive non-rechargeable AA cells, it helps to know which have the best bang for the buck. What better way to find out than to line them all up and subject each to the same test.

Too bad he left out my favorite NiMH rechargeables. Since I bought mine years ago, I’ve never looked back. But in some circumstances you might have little choice.