Craft Details
Skills Needed:
Categories:
Share This Craft
Smart Coffee Grinder
Modification of standard on/off button coffee grinder (Graef CM820) for time controlled grinding for one or two cups or weight controlled grinding.
The second relay in the pictures is not necessary, it can be used to control the coffee maker next to the grinder.
A smaller Microcontroller (without wifi, less pins) can do the job, but I had an ESP32 around and use it for other home automation purposes such as kitchen temprature, humidity and CO2 level or muting sonos, communication with home assistant etc.
There are many other nice projects like this, but the implementation with ESPhome was easier than copying and modifiying one of these projects (less than 200 lines of code, see below).
e.g.
I designed the housing and printed it on my RatRig V-core 3.1
Part | Details | Cost € | Supplier | Code module | 3D model |
---|---|---|---|---|---|
ESP32 | -WROOM-32D / AZ Delivery Dev Kit C V4 | 4,10 | Aliexpress / Amazon | ESPhome | Grabcad |
LC Display Tinsharp | TC1602B-01 with lcd_pcf8574 (16×2 Characters) | 1,50 | Aliexpress / Amazon | ESPhome | Grabcad |
Relay | KY-019 (5VDC / 230VAC 10A) | 0,50 | Aliexpress / Amazon | ESPhome | Grabcad |
Rotary Encoder | KY-040 | 0,50 | Aliexpress / Amazon | ESPhome | Grabcad |
Power Supply S-10-5 | S-10-5 (230VAC -> 5VDC 10W 2A) | 5,00 | Aliexpress / Amazon | – | Grabcad |
Housing 3D-printed | PLA Polymaker Polyterra charcoal black, 280g | 5,00 | 3d print | – | Thingiverse |
Sum | 11,60 |
for weight control mode:
Part | Details | Cost € | Supplier | Code module | 3D model |
---|---|---|---|---|---|
Load cell amplifier | HX711 | 1,00 | Aliexpress / Amazon | ESPhome | Grabcad |
Load cell | 100g or 500g | 1,00 | Aliexpress / Amazon | Grabcad |
Just for fun (not needed for coffee grinder):
Part | Details | Cost € | Supplier | Code module | 3D model |
---|---|---|---|---|---|
CO2 Sensor | MH-Z19B, C or E | 7,00 | Aliexpress / Amazon | ESPhome | Grabcad |
Humidity and Temperature Sensor | GY-21 with HTU21, SHT21 or AHT21 | 0,50 | Aliexpress / Amazon | ESPhome | Grabcad |