Skip to the content
2 layers85 × 56 mmWifi-30A relay, the printed circuit board in 3D

Makes any resistive water heater 30A or less WiFi controllable

Size
85 × 56 mm
Copper layers
2
Thickness
1.6 mm
Parts
42
Nets
37
Pads
132
Tracks, vias
232, 92
Pours
4
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
11 Feb 2023
Updated
11 Feb 2023

Overview

Wifi-30A relay is an open-source printed circuit board by flaviut, from the flaviut/30a-water-heater-controller repository on GitHub, published under the CERN-OHL-S-2.0 licence. It is a 2-layer board of 85 × 56 mm with 42 parts on 37 nets, routed with 232 tracks and 92 vias.

It is built around the ESP-WROOM-02, IRM-05-12 and ADS1115IDGS, with the TPS54331DR-JSM, J115F21C12VDCS.9 and SS54 among its other parts. Its parts include 14 resistors, 13 capacitors, 3 ICs, 3 diodes and 3 switches. It belongs with the radio and wireless and home automation and IoT boards of this library.

Main components

9

README

README.md

30A Water Heater Controller

This board contains a design for a water heater controller that is good for up to 30A water heaters.

photo of assembled board

Warranty

Working with high currents and mains voltages is dangerous. Death from electrical shock & house fires are both real risks with this project.

This project comes with no warranty, and is not examined by or listed by any NRTL. You are solely responsible for determining if it is safe.

Manufacturing

The latest release contains all the files you need to have this PCB manufactured & 90% assembled by a vendor of your choice. I used JLCPCB.

The defaults are fine. You may wish to ask them to not assemble the thermistor connectors to save a couple bucks.

Additional BOM

  • 1x 100k NTC Temperature Sensor 3950 (2 are supported, but only 1 is useful)
  • 1x IRM-05-12 power supply
  • 2x J115F21C12VDCS.9
  • 4x large wire nuts
  • 4x 10AWG UL listed crimp connectors
  • 1ft red/1ft black 10AWG coarse-stranded wire
  • Suitable electronics enclosure

Tools

  • Soldering iron
  • Crimping tool

Assembly

  • Flash ESPHome onto the ESP8266 using the included esphome.yaml as a template
  • Turn the circuit breaker off & use a non-contact voltage tester to ensure it is off
  • Cut wire into four 6in pieces; strip one end of each for a crimp connection & the other end for wire nut
  • Crimp one end of each wire.
  • Solder thermistor header, relays, and power supply. Optionally solder programming header.
  • Connect black wires to one relay, red wires to the other
    • one wire to common
    • one wire to normally closed
  • Place everything in the enclosure
  • Use the wire nuts to connect the pigtails on the common terminals to the mains wiring
  • Use the wire nuts to connect the pigtails on the normally closed terminals to the water heater
  • Connect one temperature sensor to 100k_HOT, and feed it out of the enclosure
    • this wire should not be near the mains wiring at any point
  • Place one end of the temperature sensor wire down the hole that the top overpressure valve comes out of, and use some paper towels or tape to insulate it in

Parts

42
QtyValueFootprintReferences
7100nCapacitor_SMD:C_0402_1005MetricC5, C7, C8, C10, C11, C12, C13
710kResistor_SMD:R_0402_1005MetricR2, R3, R8, R9, R12, R13, R14
4100kResistor_SMD:R_0402_1005MetricR6, R7, R10, R11
322uCapacitor_SMD:C_0805_2012MetricC1, C3, C9
2J115F21C12VDCS.9wifi-30A-relay:Relay_SPDT_CIT-J115F2K1, K2
2SS54Diode_SMD:D_SMAD1, D2
1100k_COLDConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_Vertical100k_COLD
1100k_HOTConnector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_Vertical100k_HOT
115nCapacitor_SMD:C_0603_1608MetricC6
11kResistor_SMD:R_0402_1005MetricR1
12.4kResistor_SMD:R_0402_1005MetricR5
13.3nCapacitor_SMD:C_0603_1608MetricC4
133uInductor_SMD:L_TDK_SLF6028L1
17.5kResistor_SMD:R_0402_1005MetricR4
18.2nCapacitor_SMD:C_0603_1608MetricC2
1ADS1115IDGSPackage_SO:TSSOP-10_3x3mm_P0.5mmU3
1AO3400APackage_TO_SOT_SMD:SOT-23Q1
1ESP-WROOM-02RF_Module:ESP-WROOM-02U1
1IRM-05-12Converter_ACDC:Converter_ACDC_MeanWell_IRM-05-xx_THTPS1
1PROGConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1SKRKAEE020Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRKSW1
1SMF05CT1GPackage_TO_SOT_SMD:SOT-363_SC-70-6D3
1TPS54331DRPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2

Similar boards

  • 2 layers134.9 × 48.5 mmCoolSWITCH, the printed circuit board in 3D

    CoolSWITCH

    bluetiger9/CoolSWITCH

    Wireless High Power Smart Switch

    45 parts8MIT
  • 2 layers70 × 65 mmFluepdot, the printed circuit board in 3D

    Fluepdot

    Fluepke/Fluepdot

    Project for controlling Annax flipdot panels used by the Berliner Verkehrsbetriebe

    116 parts17AGPL-3.0
  • 2 layers151.4 × 45.7 mmCNC Boosterpack, the printed circuit board in 3D

    CNC Boosterpack

    speters/CNC_BoosterWing

    CNC breakout board for the TM4C1294CL Launchpad running grbHAL

    159 parts
  • 4 layers230 × 135 mmVancontroller, the printed circuit board in 3D

    Vancontroller

    Camperlux/vancontroller

    VanController: ESP32-S3 12 V campervan controller board (6 fused relays, 6 PWM dimmers, CAN, RS485, GPS) - KiCad 10 design, manufacturing files and enclosure. Free for non-commercial use.

    259 parts
  • 6 layers160 × 136 mmSerie, the printed circuit board in 3D

    Serie

    npgo22/Serie

    The board itself is based around an STM32H723, the fastest microcontroller supported by Klipper at the moment.

    549 parts
  • 4 layers61 × 88.9 mmStm32-battery, the printed circuit board in 3D

    Stm32-battery

    agrif/bluegrass

    an STM32 board with on-board battery charging

    117 parts2
  • 4 layers86.6 × 85.1 mmDPB PCB, the printed circuit board in 3D

    DPB PCB

    V2-Tech/DPB-PCB

    118 parts1GPL-3.0
  • 4 layers101 × 80.5 mmMari stm32 datalogger, the printed circuit board in 3D

    Mari stm32 datalogger

    Marimugeshbabu/STM32-Industrial-Data-Logger

    4-layer STM32 Industrial Data Logger designed in KiCad 9 with RS485, microSD, voltage/current sensing and protection circuitry.

    57 parts

Questions

How big is the Wifi-30A relay PCB?

It measures 85 × 56 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Wifi-30A relay use?

42 parts, built around the ESP-WROOM-02, IRM-05-12, ADS1115IDGS and TPS54331DR-JSM. 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 Wifi-30A relay KiCad files?

From the flaviut/30a-water-heater-controller repository on GitHub, at the commit this page was made from: the board is wifi-30A-relay.kicad_pcb and its schematic wifi-30A-relay.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Wifi-30A relay design in my own project?

Its repository publishes it under the CERN-OHL-S-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).