249 words
1 minutes
Coffee Grinder Automation
2020-04-01
2025-01-31

I enjoy a good cup of coffee. To achieve that at home, I bought a coffee grinder along with a nice espresso machine. Several factors are important for a great-tasting coffee: coarseness, dosage, quality of the beans, extraction time, and more. To find the best-tasting coffee, it is crucial to minimize the changing factors, one of which is the amount of beans. Previously, I had to stand by the coffee grinder with a scale and manually measure the amount of ground beans. After working from home for a while, I got annoyed with this process, so I decided to automate the grinding of the beans.

Having gained some experience in the ESP8266 world, I decided to use a D1-mini for the task. After some research, I chose to use a load cell along with the load cell amplifier HX711. The grinder itself is switched on and off by a relay controlled by the D1-mini.

A node-red flow along with the node-red-dashboard is used to control the D1-mini. The commands are sent through mqtt topics.

On the dashboard, there are several functions: weight-based and time-based grinding, a brew timer, and the taring of the scale. The main challenge with this project was that it takes some time for the ground coffee to reach the scale while grinding. Therefore, stopping the grinder when the weight is reached might already be too late. It was necessary to stop the grinding process a bit earlier and then grind some more until the target weight is reached.

Jerey
/
coffee-automation
Waiting for api.github.com...
00K
0K
0K
Waiting...

Enjoyed the post? Have questions or feedback? I'd love to hear from you! Feel free to drop me an email at blog@jerey.at.

Coffee Grinder Automation
https://jerey.at/posts/coffee-grinder-automation/
Author
Anton A. Jerey
Published at
2020-04-01