Sounds like what you are discribing is a "super automatic" you see them a lot in resturants and coffee shops.
there are a few home units out there but the profesional ones are expensive. They are also quite complex mechanicly and I have no idea how you would go about building one.
Mike,
I think what you are talking about exists. Make by a company called Keurig.
Brews 1-2 perfect cups in the matter of seconds. In fact, I have one sitting about 50 feet from me right now. You have inspired me to make a cup right now...
Also, Starbucks will be releaseing "k-cups" for this machine in November. -NEWS-
E
What he was talking about takes whole beans and grinds them, Keurig is nice but not the same.
http://www.amazon.com/Delonghi-Esam5400-Automatic-Espresso-cappuccino/dp/B003VW1JFO