I am thinking about making a project (haven't made it yet, just an idea). It will consist of an ATtiny and a servo. The ATtiny can run from 2.7V-5.5V, the servo from 4.8V-6.0V. I want to power my project off batteries. Of course, i could use a 7805 with a 9V battery, but I want to keep the part count as low as possible. 3xAA = 4.5V, to low for servo, 4xAA=6V, to high for ATtiny. And the rechargable li-ion batteries are only 3.4V! any suggestions? Is there a way to get a steady 5V with as few parts as possible?