Parts
| Part | What it does | |
|---|---|---|
| ESP32 DevKit (ESP-WROOM-32) | Runs everything: heater, pump, scale, web page | Required |
| K-type thermocouple and MAX6675 board | Reads the boiler temperature | Required |
| Solid state relay (SSR) | Switches the heater for PID control | Required |
| Pump dimmer with zero-cross output | Controls pump power for pressure profiling, and reads the brew switch | Required |
| Pressure sensor, 0 to 12 bar, 0 to 3.3 V output | Closes the pressure loop | Required |
| SD card module and card (FAT32, 32 GB or smaller) | Holds the web page, settings and profiles | Required |
| Buzzer | Beep codes | Required |
| HX711 board and load cell | Brew by weight with no phone or scale needed | Optional |
| Bluetooth scale (KP2048B protocol) | Brew by weight; used first when connected | Optional |
| Relay module and solenoid valve | Releases the pressure at the stop weight | Optional |
| Waveshare ESP32-S3 Touch LCD 7B | The 7 inch touchscreen | Optional |
For brew by weight you need either the load cell or the Bluetooth scale. The machine uses the Bluetooth scale when it's connected, and the load cell otherwise.
Pin map
Every pin is set in one file, pins.h, so if a wire moves, that's the only thing to change.
| Function | GPIO |
|---|---|
| SD card CS / MOSI / MISO / SCK | 32 / 25 / 26 / 33 |
| Heater SSR | 13 |
| Dimmer zero-cross (also reads the brew switch) / output | 19 / 18 |
| Thermocouple (MAX6675) CS / CLK / DO | 22 / 23 / 21 |
| Pressure sensor (0 to 12 bar, 0 to 3.3 V) | 34 |
| Buzzer | 4 |
| Load cell (HX711) DT / SCK | 16 / 17 |
| Pressure release relay (active low) | 27 |
Spare pins: 14 is free for output. 35, 36 and 39 are input only. Avoid the boot pins 0, 2, 5, 12 and 15.
Software versions
If you build the firmware yourself in the Arduino IDE, match these versions. The ready-made firmware file skips all of this: see the install guide.
| Item | Version |
|---|---|
| ESP32 board package (Espressif) | 2.0.17 (the dimmer library doesn't work with 3.x) |
| Partition scheme | Default 4MB with spiffs |
| ArduinoJson | 7.4.3 |
| Dimmable Light for Arduino | 1.6.0 |
| MAX6675 library (Adafruit) | 1.1.2 |
| PID (Brett Beauregard) | 1.2.0 |
| NimBLE-Arduino | 2.6.0 |
| HX711 Arduino Library (Bogdan Necula) | 0.7.5 |
The exact library set is shared as a zip on the Discord. The source is in the Discreet_v2.0 repository.