How to know when the coffee is ready using an ARDUINO YUN