Coffee Bot

A weight based measurement of the number of cups of Coffee currently available in the kitchen.

A set of bathroom scales lives underneath the coffee machine in the kitchen, connected to an Arduino Ethernet that measures the weight, calculates the number of cups of coffee in the machine and sends the data out to Xively. All the measuring electronics of the scales has been bypassed and the Arduino measures the mass of the water in the coffee machine by reading resistance change from the strain gauges at each corner of the scales, via an INA125 instrumentation amplifer. Detail on connecting the instrumentation amplifier to the Arduino is shown in the ArduinoInstAmp repository in GitHub.

A remote monitor for the scales polls the Xively feed regularly for the latest values of the number of cups and displays the results on a dial gauge in the main room of DoES. While it is possible to find out the amount of coffee available from anywhere there's internet access, the usefulness of the information diminishes as you get further away from the machine. The optimum condition for using the CoffeeMonitor would be out-of-sight of it, but still in the same building.

While collection of the level of the coffee in the machine is an interesting exercise and it's nice to know if there's coffee available before getting up, there are some more practical uses once the data has been collected. Averaging the number of cups consumed during each day might give guidance on when to stop making coffee in the afternoon, and how many cups to make in the last pot. Tracking total cups made would mean that it's possible to determine how regularly coffee beans need to be purchased so as to keep them available, but still fresh.

Up-to-date and historical information on DoES's coffee usage is available at


Setting the Empty Weight

There is now a tare (zero) button on the board, with a red LED. To zero the scales:


DoESWiki: zCoffeeBot (last edited 2016-12-02 16:12:07 by AdrianMcEwen)