Skip to the content
2 layers36.8 × 22.2 mmTemp probe, the printed circuit board in 3D

contains firmwares and PCB layouts for my own homebrew homebrew setup. Mirror of git.8bitcloud.com/bruce/brewery (read-only; changes go to Forgejo)

Size
36.8 × 22.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
8
Nets
29
Pads
65
Tracks, vias
110, 18
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
26 Oct 2026
Updated
26 Oct 2026

Overview

Temp probe is an open-source printed circuit board by brucejcooper, from the brucejcooper/brewery repository on GitHub. It is a 2-layer board of 36.8 × 22.2 mm with 8 parts on 29 nets, routed with 110 tracks and 18 vias.

Its parts include 3 connectors, 2 capacitors and 2 ICs. It belongs with the sensors and measurement boards and the nRF52 and nRF5x boards of this library.

README

README.md

Brewery control system

Monorepo of firmware and hardware for an automated HERMS brewery, built around a small fleet of networked temperature probes feeding a central heating controller — all coordinated over MQTT (with Home Assistant discovery, so the whole rig shows up in HA automatically).

Layout: stand_alone_temp_probe/ (RTD probe firmware), boil_controller/ (HERMS/boil controller firmware), brewery_common/ (shared ESP-IDF component: OTA, firmware version-check, network log tap — used by both firmwares via a component-manager path dependency), old/ (reference designs + the original KiCad schematic), tools/ (build helper), homeassistant/ (operator dashboard, brew phases and the fermenter dose controller), recipes/ (BeerXML exports), tilt_sensor/ (BLE hydrometer — nRF52840, Arduino toolchain, in progress).

text
            ┌──────────────────────┐
   HLT  ───▶│ temp probe (RTD)     │──┐
   mash ───▶│ temp probe (RTD)     │──┤   mechination/<id>/temperature
   boil ───▶│ temp probe (RTD)     │──┤      (WiFi, retained, >=1 Hz)
   …    ───▶│ temp probe (RTD)     │──┤
            └──────────────────────┘  │
                                      ▼
                             ┌─────────────────┐
                             │   MQTT broker   │  (+ Home Assistant)
                             └─────────────────┘
                                      │ subscribes to the probe temps
                                      ▼
                       ┌────────────────────────────┐
                       │  boil / HERMS controller   │  ESP32-WROVER
                       │  PID ──▶ ULN2003A ──▶ SSRs │
                       └────────────────────────────┘
                               │            │
                           HLT element   Boil-kettle
                          (heats HERMS)    element

The firmwares we host here

1. stand_alone_temp_probe/ — temperature probe

Seeed XIAO ESP32-C6 + Adafruit MAX31865 RTD amplifier. Reads a PT100/PT1000 RTD, joins WiFi, and publishes its temperature to MQTT (retained, ≥ 1 Hz) with Home Assistant discovery and RTD-fault reporting. One probe per measured point — give each a distinct device id (hlt, herms_out, boil_kettle, …) so they share the MQTT tree without colliding.

Note: the firmware is WiFi + MQTT (see main/temp_probe.h, idf_component.yml). The probe's own README.md still describes an earlier Zigbee revision and is being updated — trust the WiFi/MQTT build.

2. boil_controller/ — boil / HERMS controller

ESP32-WROVER + ULN2003A + 2× mains SSR. Subscribes to the probes' MQTT temperatures, runs a PID loop per heated vessel, and drives the SSRs with time-proportional output:

  • HERMS channel — modulates the HLT element to hold the mash temperature (wort recirculating out of the HERMS coil), with an HLT over-temp cutout.
  • Boil channel — drives the boil-kettle element to a setpoint.

The first two ULN2003A channels drive the SSRs; the other five are broken out for future use (pumps, alarm, …). It supports OTA updates over MQTT so we can iterate without touching the hardware. See boil_controller/README.md.

3. tilt_sensor/ — BLE hydrometer (in progress)

Seeed XIAO nRF52840 Sense. A homebrew Tilt clone: a sealed float in the fermenter that derives specific gravity from its inclination (LSM6DS3TR-C IMU) and BLE-broadcasts gravity plus temperature.

The odd one out in this repo — Arduino / arduino-cli, not ESP-IDF, and BLE, not WiFi/MQTT, so it does not use brewery_common. Bridging its beacon into MQTT/HA is a later job for the HA side. Right now it holds one bring-up sketch, battery_test, for validating the cell and the BQ25101 charge path. See tilt_sensor/README.md.

Temperature sensors

Each is an independent standalone probe publishing to MQTT. Planned points:

Probe device idMeasuresUsed by the controller for
hltHot Liquor TankHERMS over-temp cutout
herms_outMLT output / mash temp off the HERMS coilHERMS PID process variable
boil_kettleBoil kettleBoil PID process variable
(more)e.g. mash-in, ambientfuture channels / logging

Topic convention (shared prefix): mechination/<device_id>/temperature, with availability at mechination/<device_id>/status and a per-reading …/temperature/status that goes offline on an RTD fault (so the controller can fail-safe).

old/ — previous designs (reference only)

The earlier brewery was Bluetooth-based and is superseded by the WiFi/MQTT design above. Kept for reference:

  • old/brewery-circuit/ — the original controller schematic + PCB (Brewery.kicad_pcb, KiCad/2019): ESP32-WROVER + ULN2003A + LTC2986. This is where the boil-controller pinout came from.
  • old/ssr/ — BLE-central SSR firmware (an ESP-IDF BLE example, not the real app)
  • old/hw/SSR/ — single-channel SSR PCB (PN2222A driver + opto) — still useful HW
  • old/hw/Temp_probe/ — temp-probe PCB
  • old/temp_sensor/ — MicroPython MAX31865 driver
  • old/zephyr_temp/ — Zephyr RTOS temperature app
  • old/web/ — the old Web-Bluetooth brewery dashboard

The old boil-controller firmware was not recovered (nothing referencing the LTC2986 exists under ~/dev, and the old system was Bluetooth-based), so boil_controller/ is a clean rebuild. The hardware schematic survives in old/brewery-circuit/, and the controller pinout is taken from it:

FunctionGPIO
SSR — HERMS/HLT (ULN OUT6)GPIO26
SSR — Boil (ULN OUT7)GPIO27
Spare ULN outputs (OUT3–5)GPIO32/33/25
LTC2986 SPI (unused)MOSI 23, MISO 19, SCLK 18, CS 5, DRDY 4

⚠️ The board's first two ULN channels (DO1/DO2) land on GPIO34/35, which are input-only — they can't drive outputs. The unit as built wires the SSRs to OUT6/OUT7 (GPIO26/27); any of DO3..DO7 would do. The LTC2986 is dropped from the design (temps come over MQTT) but is held quiescent in firmware since it's still populated on the board. Details in boil_controller/README.md.

Building

Both firmwares are independent ESP-IDF projects (ESP-IDF ≥ 5.3; tested with the installed ~/esp/esp-idf). Build each from its own directory:

sh
. ~/esp/esp-idf/export.sh

# Temperature probe (XIAO ESP32-C6)
cd stand_alone_temp_probe
idf.py set-target esp32c6
idf.py menuconfig          # WiFi, MQTT, device id, RTD type/pins
idf.py -p <PORT> flash monitor

# Boil controller (ESP32-WROVER)
cd ../boil_controller
idf.py set-target esp32
idf.py menuconfig          # WiFi, MQTT, sensor topics, ULN GPIOs, PID gains
idf.py -p <PORT> flash monitor

The two boards target different chips (esp32c6 vs esp32), so keep their build trees separate (each has its own sdkconfig). A convenience script is at tools/build.sh:

sh
./tools/build.sh both        # build both
./tools/build.sh probe       # just the temp probe
./tools/build.sh boil flash  # build + flash the controller (auto-detects port)

After the controller's first USB flash, subsequent updates can go over the air — see boil_controller/README.md.

Parts

8
QtyValueFootprintReferences
10.1uCapacitor_SMD:C_0805_2012MetricC1
1100nCapacitor_SMD:C_0805_2012MetricC2
1400 +/- 0.1%Resistor_SMD:R_1206_3216MetricRref1
1Conn_01x02_SocketConnector_JST:JST_PH_S2B-PH-K_1x02_P2.00mm_HorizontalJ2
1Conn_ARM_SWD_TagConnect_TC2030-NLConnector:Tag-Connect_TC2030-IDC-NL_2x03_P1.27mm_VerticalJ1
1MAX31865xAPPackage_SO:SSOP-20_5.3x7.2mm_P0.65mmU2
1Screw_Terminal_01x03TerminalBlock_Phoenix:TerminalBlock_Phoenix_MPT-0,5-3-2.54_1x03_P2.54mm_HorizontalJ3
1XIAO-nRF52840-SMDSeeed Studio XIAO Series Library:XIAO-nRF52840-SMDU1

More from brucejcooper/brewery

4
  • 2 layers58.4 × 52.1 mmBrewery, the printed circuit board in 3D

    Brewery

    brucejcooper/brewery

    contains firmwares and PCB layouts for my own homebrew homebrew setup. Mirror of git.8bitcloud.com/bruce/brewery (read-only; changes go to Forgejo)

    34 parts
  • 2 layers63 × 45 mmSSR, the printed circuit board in 3D

    SSR

    brucejcooper/brewery

    contains firmwares and PCB layouts for my own homebrew homebrew setup. Mirror of git.8bitcloud.com/bruce/brewery (read-only; changes go to Forgejo)

    11 parts
  • 2 layers9.2 × 15.5 mmPinMultiplexer, the printed circuit board in 3D

    PinMultiplexer

    brucejcooper/brewery

    contains firmwares and PCB layouts for my own homebrew homebrew setup. Mirror of git.8bitcloud.com/bruce/brewery (read-only; changes go to Forgejo)

    2 parts
  • 2 layers39 × 59.5 mmTemp probe zigbee, the printed circuit board in 3D

    Temp probe zigbee

    brucejcooper/brewery

    contains firmwares and PCB layouts for my own homebrew homebrew setup. Mirror of git.8bitcloud.com/bruce/brewery (read-only; changes go to Forgejo)

    2 parts

Similar boards

  • 2 layers20.5 × 24.8 mmPi interface, the printed circuit board in 3D

    Pi interface

    opulo-inc/lumenpnp

    The LumenPnP is an open source pick and place machine.

    8 parts3.7k
  • 2 layers59.9 × 25.7 mmBuffer, the printed circuit board in 3D

    Buffer

    hoglet67/RGBtoHDMI

    Bare-metal Raspberry Pi project that provides pixel-perfect sampling of Retro Computer RGB/YUV video and conversion to HDMI

    8 parts1kGPL-3.0
  • 2 layers52 × 12.6 mmUSB, the printed circuit board in 3D

    USB

    shanteacontrols/OpenDeck

    A platform for building interactive control and sensing devices using MIDI and OSC built with Zephyr RTOS.

    8 parts960Apache-2.0
  • 2 layers87.5 × 48.5 mm7 input macropad, the printed circuit board in 3D

    7 input macropad

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    8 parts915
  • 2 layers36.2 × 63.1 mmPicoMemcard pico, the printed circuit board in 3D

    PicoMemcard pico

    dangiu/PicoMemcard

    Emulating PSX Memory Card (or controller) using a Raspberry Pi Pico

    8 parts694GPL-3.0
  • 2 layers36 × 10 mmPCB4-PWR BTN Rev.A, the printed circuit board in 3D

    PCB4-PWR BTN Rev.A

    OLIMEX/DIY-LAPTOP

    Do It Yourself Open Source Hardware and Software Modular Hacker's Friendly Laptop

    8 parts578Apache-2.0

Questions

How big is the Temp probe PCB?

It measures 36.8 × 22.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Temp probe use?

8 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Temp probe KiCad files?

From the brucejcooper/brewery repository on GitHub, at the commit this page was made from: the board is old/hw/Temp_probe/Temp_probe.kicad_pcb and its schematic old/hw/SSR/SSR.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Temp probe design in my own project?

Its repository states no licence, so its author keeps all rights: ask brucejcooper before reusing the design.