http://www.cooking-hacks.com/index.php/documentation/tutorials/arduino-solar