Skip to the content
2 layers96.5 × 62 mmSpot heater, the printed circuit board in 3D

Spot heater

Hauke12345/Boili

Electrical and mechanical design

Size
96.5 × 62 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
45
Pads
134
Tracks, vias
198, 14
Pours
1
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Oct 2026
Updated
22 Oct 2026

Overview

Spot heater is an open-source printed circuit board by Hauke12345, from the Hauke12345/Boili repository on GitHub. It is a 2-layer board of 96.5 × 62 mm with 32 parts on 45 nets, routed with 198 tracks and 14 vias.

It is built around the ESP32-WROOM-32E, DS18B20 and AMS1117-3.3, with the AO3400A and SS14 among its other parts. Its parts include 7 resistors, 5 capacitors, 4 connectors, 3 diodes and 3 switches. It belongs with the ESP32 boards of this library.

Main components

5

README

hardware/pcb/README.md

Boili PCB: spot-price water heater controller (rev 1.0)

ESP32 board that turns a water heater's contactor on during the cheapest electricity hours. It fetches Nord Pool spot prices over WiFi and switches the contactor coil, never the heater itself. The tank's own thermostat and over-temperature limiter stay in series with the heater element.

KiCad 9 project. ERC: 0 errors / 0 warnings. DRC: 0 violations, 0 unconnected, schematic parity OK. SPICE checks (relay driver, boot, supply rails, power-up) are in simulation/.

Files

PathWhat
spot_heater.kicad_pro / .kicad_sch / .kicad_pcbThe KiCad project
spot_heater.kicad_druCustom rule: 6 mm clearance and creepage between mains and low-voltage copper
fab/Gerbers, drill file and pick-and-place file, ready to upload to a PCB fab
docs/Schematic PDF, PCB top/bottom PDFs, 3D render, BOM (CSV)

Board

  • 96.5 × 62 mm, 2 layers, 1.6 mm FR-4, 4 × M3 holes.
  • Minimum drill 0.2 mm (the ESP32 module's ground-pad vias). Standard at most fabs, sometimes a small surcharge.
  • Mains section on the left, low-voltage section on the right. A ground plane on the bottom layer covers only the low-voltage side.
  • Mains tracks are 1.5 mm wide with 2 mm clearance between L and N.

How it works

J1 (230 VAC in) → F1 T1A fuse → RV1 varistor (surge protection) → PS1 HLK-PM01 makes isolated 5 V → U1 regulates to 3.3 V for the ESP32. IO26 drives Q1, which energises relay K1. K1 connects fused L to J2 and on to the contactor coil. R4 keeps the relay off while the ESP32 boots or resets.

ESP32 pinFunction
IO26Heater enable (high = relay on)
IO25Status LED (green)
IO0BOOT button. After boot, use it as a manual "boost" button (active low)
IO4Optional DS18B20 on J4 (4.7 k pull-up fitted)
TXD0 / RXD0Programming header J3

Wiring (by a qualified electrician)

  • J1: L and N from a protected circuit.
  • J2: to the contactor coil A1 (L_SW) and A2 (N). Use a 230 VAC coil contactor rated for the heater (e.g. 3-pole, 25 A, AC-1).
  • Heater power goes through the contactor's main contacts and the tank thermostat/limiter, never through this board.
  • K1 is rated far above a contactor coil's current. An RC snubber across the coil, often sold as an accessory for the contactor, reduces relay contact wear.
  • Mount the board in a closed plastic enclosure.

Programming

Connect a 3.3 V USB-UART adapter to J3 (1=3V3, 2=GND, 3=TX, 4=RX, 5=EN, 6=IO0) with mains disconnected. Hold BOOT, tap RESET, then flash. After that, update over WiFi (OTA).

Design choices

  • Relay: Omron G5Q-1A. Its coil and contact pins sit at opposite ends of the relay, about 8 mm apart. On the G5LE the common contact sits between the coil pins.
  • Isolation: the mains section and the HLK module's input are kept at least 6 mm from all low-voltage copper. This is checked by DRC, not just by eye.
  • Pins: the relay and LED pins avoid the ESP32 strapping pins, so boot behaviour is unaffected.
  • Antenna: the module antenna sits at the board edge with the footprint's copper keep-out respected.
  • Firmware fallback: decide in firmware what happens without WiFi or prices. A fixed night schedule is suggested.

Parts

32
QtyValueFootprintReferences
4M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
210kResistor_SMD:R_0805_2012MetricR1, R2
21kResistor_SMD:R_0805_2012MetricR5, R6
222uF 10VCapacitor_SMD:C_1206_3216MetricC1, C2
1100RResistor_SMD:R_0805_2012MetricR3
1100kResistor_SMD:R_0805_2012MetricR4
1100nFCapacitor_SMD:C_0805_2012MetricC4
110uFCapacitor_SMD:C_0805_2012MetricC3
11uFCapacitor_SMD:C_0805_2012MetricC5
1275VAC S07K275Varistor:RV_Disc_D7mm_W3.4mm_P5mmRV1
14k7Resistor_SMD:R_0805_2012MetricR7
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1AO3400APackage_TO_SOT_SMD:SOT-23Q1
1BOOT / BOOSTButton_Switch_THT:SW_PUSH_6mmSW2
1DS18B20Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ4
1ESP32-WROOM-32ERF_Module:ESP32-WROOM-32U2
1G5Q-1A 5VDCRelay_THT:Relay_SPST_Omron-G5Q-1AK1
1GREEN (status)LED_SMD:LED_0805_2012MetricD3
1HLK-PM01 (5V 0.6A)Converter_ACDC:Converter_ACDC_Hi-Link_HLK-PMxxPS1
1MAINS IN (L, N)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ1
1PROGConnector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ3
1RED (heating)LED_SMD:LED_0805_2012MetricD2
1RESETButton_Switch_THT:SW_PUSH_6mmSW1
1SS14Diode_SMD:D_SMAD1
1T1A 250V (TR5)Fuse:Fuseholder_TR5_Littelfuse_No560_No460F1
1TO CONTACTOR COIL (L_SW, N)TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-1,5-2-5.08_1x02_P5.08mm_HorizontalJ2

Similar boards

  • 2 layers60 × 47 mmAstro driver, the printed circuit board in 3D

    Astro driver

    rudnik275/astronaut-lamp

    Ночник «космонавт на луне» → нативное HomeKit-устройство на ESP32 + HAA: разбор родной платы, схема драйвера, конфиг, корпус

    51 parts
  • 4 layers130 × 90 mmLizardBot1 ControlBoard v1, the printed circuit board in 3D

    LizardBot1 ControlBoard v1

    lizard-electronics/LizardBot1_ProjectFiles

    Project Files for LizardBot 1 differential-drive ROS2 robot.

    202 parts1Apache-2.0
  • 2 layers96.4 × 100.4 mmMushroom pcb, the printed circuit board in 3D

    Mushroom pcb

    karenquezada/MushROOM

    57 parts
  • 4 layers100 × 90 mmWattsense main, the printed circuit board in 3D

    Wattsense main

    D7790/BE_Project

    Updated 28 September 2026. This is the current four-layer candidate. Revision A remains separately available in ../wattsense-main/ as the two-layer budget alternative.

    50 parts
  • 2 layers90.2 × 90 mmSra dev board 2026, the printed circuit board in 3D

    Sra dev board 2026

    SRA-VJTI/sra-board-hardware-design

    ESP32-based Development Board for Robotics and Embedded Applications

    219 parts81MIT
  • 2 layers51.5 × 28.3 mmESP32 DevKit, the printed circuit board in 3D

    ESP32 DevKit

    hackclub/OnBoard

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

    29 parts915
  • 2 layers114 × 105 mmSmell monitor v1 1, the printed circuit board in 3D

    Smell monitor v1 1

    OpenSmell/smell-monitor

    The enclosure is the simple one a builder can hold in their head: an open tray, a board on four standoffs, modules plugged into eight headers, a flat lid with four M3 screws, a filter pad that drops into the front, and…

    64 parts

Questions

How big is the Spot heater PCB?

It measures 96.5 × 62 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Spot heater use?

32 parts, built around the ESP32-WROOM-32E, DS18B20, AMS1117-3.3 and AO3400A. 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 Spot heater KiCad files?

From the Hauke12345/Boili repository on GitHub, at the commit this page was made from: the board is hardware/pcb/spot_heater.kicad_pcb and its schematic hardware/pcb/spot_heater.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Spot heater design in my own project?

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