Skip to content

rancilio-pid/clevercoffee

Repository files navigation

CleverCoffee

(formerly Rancilio PID)


Buy Me a Coffee at ko-fi.com

About

This project implements a PID controller for stable and accurate temperature control, originally for Rancilio Silvia espresso machines but also includes support for Gaggia and Quickmill machines. Others can easily be added or are already compatible.

Additional features include:

  • shot timer
  • pre-infusion (wip: reduced initial pressure using a dimmer for the pump)
  • brew by weight (using weight cells, no support for external scales yet)
  • brew by time
  • pressure monitoring

The hardware has a small footprint and can easily fit into most smaller espresso machines. The original wiring of the machine (mostly) remains and is only extended. The machine can be easily reversed to the original state after the conversion.

The project has been in active development and supported for 4 years with continuous improvements. Hundreds of machines have been converted to PID control already.

You can find our project website here: Clever Coffee Website.

This software is Open Source: free of charge for you and customizable to your personal needs.

We recommend you have a look at the manual before starting a build, you can find the german one here. It is currently being reworked to include all the latest features. The english one is sadly still very outdated but will also be updated soon.

Chat and Support

You will find more information, discussions, and support on our Discord server. If you want to be part of the project and help with development of hardware, software and documentation you will also find the right channels there. Please keep in mind that we only can give support for our own pcbs. We will not help with any hardware solutions that are not based on our own pcbs. Please do not offer any kind of pcb derivatives of our design or own developments without contacting us before. This can cause a ban on our discord server.

Video tutorial on how to flash the firmware (a little outdated but mostly still valid):
https://youtu.be/KZPjisOEcQ4

Version

With Version 3.3.0 we bring the last major release with support for ESP8266 and ESP32. There will only be bug fix releases for ESP8266 from there on. Further development, with new features, will only be done for ESP32. "master" branch contains the current development only for esp32. "master-esp8266" branch contains last version for ESP8266 and ESP32.

What is possible after installation into your espresso machine?

  • Control of the brew temperature with an accuracy of up to +/- 0,1°.
  • Reaches the target temperature within 5 to 10 minutes after switching on (you should, however, wait a bit longer, e.g. 20 min depending on the machine to heat up the group head etc.)
  • Set PID parameters and monitor current temperature and heater output on a web page hosted on the ESP controller
  • Separate PID for steam mode with own parameters and target temperature (can be enabled in the web interface/MQTT or using the steam switch)
  • Automatically brew by set time (including pre-infusion with additional dimmer for the pump).
  • Automatically brew by weight when scale components are built in.
  • Possible to change brew and steam switches to push buttons. Brew push button then has two actions: short press for brew, long press to flush.
  • Allows brew switch detection (e.g. for the shot timer) by using an optocoupler module when deciding not to control the pump from the ESP (details).
  • MQTT (IoT) support to monitor and manipulate all important parameters.
  • Extended data monitoring via Influxdb/Grafana.
  • Choose from multiple designs for the display (including vertical), possibility to integrate custom designs
  • Over-The-Air updates of the firmware (WiFi)

User feedback and suggestions for further development of the software are most welcome. You are welcome to help us in our mission to make better espresso. :)

Thanks to every single supporter!