Arduino-based controller for coffee and espresso machines