The purpose of this project was to compare the capacities of various brands of Alkaline battery (none of which include their capacity in their packaging). Read more about the experiment at this blog post
Updated 2015 by Nerd Ralph so Vcc is not hard coded to 5V and voltage sampling is each minute instead of each second.