Coffee for Machines: Crafting the Perfect Cup with Precision