

Wifi-30A relay
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
9ESP-WROOM-02
SMD-18P-40℃~+85℃ -98dBm 170mA 2.4GHz 2.7V~3.6V 20dBm 50mA、56mA ESP8266EX On-board PCB Antenna UART、SPI、I2C、GPIO、PWM、I2S SMD-18P WiFi Modules ROHSEspressif SystemsWiFi ModulesIRM-05-12
-- Power Module/Power Supply ROHSMWPower Supply Module,Power SuppliesADS1115IDGS
MSOP10Ultra-Small, Low-Power, 4 Channels 16-Bit Analog-to-Digital Converter with Internal ReferenceTexas InstrumentsUncategorisedTPS54331DR-JSM
SOP-8-40℃~+125℃ 1 2mA 3A 4.5V~40V 400kHz Adjustable Buck Built-in No Overcurrent Protection、Light load efficient mode、Cycle-by-cycle current limiting Step-down type SOP-8 DC-DC Converters ROHSJSMSEMIDC-DC ConvertersJ115F21C12VDCS.9
插件-55℃~+125℃ 10ms 110V@DC、277V@AC 12V 15ms 40A AgSnO2 One set changeover: 1C (SPDT - changeover) 插件 Power Relays ROHSCIT Relay and SwitchPower RelaysSS54
SMA(DO-214AC)-55℃~+125℃ 1mA@40V 40V 550mV@5A 5A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky DiodesAO3400A
SOT-23-55℃~+150℃ 1 N-channel 1.45V 1.4W 30V 48mΩ@2.5V 5.7A 50pF 630pF 75pF 7nC@10V N-Channel SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETsSKRKAEE020
SMD,3.9x2.9mm-40℃~+85℃ 1.6N 12V 2.9mm 200,000 Cycles 2mm 3.9mm 50mA Round Button SMD(SMT) Tab SPST-NO Surface Mount,Vertical SMD,3.9x2.9mm Tactile Switches ROHSALPSALPINETactile SwitchesSMF05CT1G
SOT-363-55℃~+125℃ 100W 100nA 10V 1A 30pF 5 5V 6V IEC 61000-4-2、IEC 61000-4-4 TVS SOT-363 ESD and Surge Protection (TVS/ESD) ROHSGOODWORKESD And Surge Protection (TVS/ESD)
README
README.md30A Water Heater Controller
This board contains a design for a water heater controller that is good for up to 30A water heaters.

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.yamlas 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | 100n | Capacitor_SMD:C_0402_1005Metric | C5, C7, C8, C10, C11, C12, C13 |
| 7 | 10k | Resistor_SMD:R_0402_1005Metric | R2, R3, R8, R9, R12, R13, R14 |
| 4 | 100k | Resistor_SMD:R_0402_1005Metric | R6, R7, R10, R11 |
| 3 | 22u | Capacitor_SMD:C_0805_2012Metric | C1, C3, C9 |
| 2 | J115F21C12VDCS.9 | wifi-30A-relay:Relay_SPDT_CIT-J115F2 | K1, K2 |
| 2 | SS54 | Diode_SMD:D_SMA | D1, D2 |
| 1 | 100k_COLD | Connector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_Vertical | 100k_COLD |
| 1 | 100k_HOT | Connector_JST:JST_XH_B2B-XH-AM_1x02_P2.50mm_Vertical | 100k_HOT |
| 1 | 15n | Capacitor_SMD:C_0603_1608Metric | C6 |
| 1 | 1k | Resistor_SMD:R_0402_1005Metric | R1 |
| 1 | 2.4k | Resistor_SMD:R_0402_1005Metric | R5 |
| 1 | 3.3n | Capacitor_SMD:C_0603_1608Metric | C4 |
| 1 | 33u | Inductor_SMD:L_TDK_SLF6028 | L1 |
| 1 | 7.5k | Resistor_SMD:R_0402_1005Metric | R4 |
| 1 | 8.2n | Capacitor_SMD:C_0603_1608Metric | C2 |
| 1 | ADS1115IDGS | Package_SO:TSSOP-10_3x3mm_P0.5mm | U3 |
| 1 | AO3400A | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | ESP-WROOM-02 | RF_Module:ESP-WROOM-02 | U1 |
| 1 | IRM-05-12 | Converter_ACDC:Converter_ACDC_MeanWell_IRM-05-xx_THT | PS1 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | SKRKAEE020 | Button_Switch_SMD:SW_Push_SPST_NO_Alps_SKRK | SW1 |
| 1 | SMF05CT1G | Package_TO_SOT_SMD:SOT-363_SC-70-6 | D3 |
| 1 | TPS54331DR | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U2 |
Similar boards
- 2 layers134.9 × 48.5 mm

- 2 layers70 × 65 mm

Fluepdot
Fluepke/Fluepdot
Project for controlling Annax flipdot panels used by the Berliner Verkehrsbetriebe
116 parts17AGPL-3.0 - 2 layers151.4 × 45.7 mm

CNC Boosterpack
speters/CNC_BoosterWing
CNC breakout board for the TM4C1294CL Launchpad running grbHAL
159 parts - 4 layers230 × 135 mm

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 mm

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 mm

- 4 layers86.6 × 85.1 mm

- 4 layers101 × 80.5 mm

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).