# ESP32 WiFi Pump Controller
## Description
Home Assistant-controlled 220 V AC water-pump controller using ESP32/ESPHome, a motor-rated contactor, fused load protection, and an independent BTicino manual-ON override.
## Project Details
- **Owner:** spiercer
- **Created:** 8/17/2026
- **Last Updated:** 8/17/2026
- **Visibility:** Public
- **Operating Voltage:** 220V
- **Connectivity:** Wi-Fi
- **Power Requirements:** 12A
- **Domain:** Industrial Control
- **Human Interface:** Home Assistant
- **Software:** ESPHome
## Key Components
### D1 — [SS14](https://www.flux.ai/jecstronic/ss14~ri4.md)
- Manufacturer Name: Slkor(SLKORMICRO Elec.)
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_Slkor-SLKORMICRO-Elec--SS14_C444721.pdf
- Part Type: Diode
- Manufacturer Part Number: SS14
- License: https://creativecommons.org/licenses/by/4.0/
- Role: Flyback Protection
- Role Details: Cathode to +5V, anode to transistor collector/relay coil low side
- Functional Group: 4. Low-Voltage Relay Driver
**Pins:**
- Anode [pin A]
- Cathode [pin C]
### J1 — [DB126V-5.0-3P-GN](https://www.flux.ai/jharwinbarrozo/db126v-5p0-3p-gn~6j.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: DIBO
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1912111437_DIBO-DB126V-5-0-3P-GN_C395850.pdf
- Manufacturer Part Number: DB126V-5.0-3P-GN
- Part Type: Connector
- Role: Mains Input
- Role Details: 230 VAC control supply L/N; PE terminal is a labeled landing only and must bond externally, not through PCB copper
- Functional Group: 1. Mains Input and External Motor Branch
**Pins:**
- PIN1 [pin 1]
- PIN2 [pin 2]
- PIN3 [pin 3]
### J2 — [1729128](https://www.flux.ai/adrian95/1729128~gmm.md)
- Package or Case Code: 1729128
- Manufacturer Name: Phoenix Contact
- Part Type: Connector
- Datasheet URL: http://www.phoenixcontact.net/product/1729128
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: 1729128
- Role: Contactor Coil Connector
- Role Details: A1 switched live, A2 neutral; suppression follows selected contactor manufacturer instructions
- Functional Group: 5. Mains Coil AUTO Manual OR
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J3 — [1729128](https://www.flux.ai/adrian95/1729128~gmm.md)
- Package or Case Code: 1729128
- Manufacturer Name: Phoenix Contact
- Part Type: Connector
- Datasheet URL: http://www.phoenixcontact.net/product/1729128
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: 1729128
- Role: Manual Override Switch Connector
- Role Details: External dry switch wired in parallel with K1 NO; manual force-ON only
- Functional Group: 5. Mains Coil AUTO Manual OR
**Pins:**
- 1 [pin 1]
- 2 [pin 2]
### J4 — [Pin Header 01x06 2.54mm PROGRAMMING CONNECTOR](https://www.flux.ai/zalak201285/pin-header-01x06-2p54mm-programming-connector~ji.md)
- Part Type: Connector
- License: https://creativecommons.org/licenses/by/4.0/
- Role: Programming Header
- Role Details: 3V3, GND, UART TX/RX, EN reset, GPIO9 boot
- Functional Group: 3. ESP32 and Programming Support
**Pins:**
- JTCK [pin 2]
- JTDI [pin 1]
- JTDO [pin 3]
- JTMS [pin 4]
- NJTRST [pin 5]
- RESET [pin 6]
### K1 — [G5Q-1A4-EU_DC5](https://www.flux.ai/adrian95/g5q-1a4-eudc5~be.md)
- Part Type: Relay
- Datasheet URL: https://omronfs.omron.com/en_US/ecb/products/pdf/en-g5q.pdf
- Manufacturer Name: Omron Electronics
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Part Number: G5Q-1A4-EU DC5
- Package or Case Code: G5Q1A4EUDC5
- Role: Interposing Relay
- Role Details: 5 V 40 mA coil; reinforced coil-contact insulation at 250 V; NO contact switches contactor coil only
- Functional Group: 4. Low-Voltage Relay Driver,5. Mains Coil AUTO Manual OR
**Pins:**
- COIL_1 [pin 1]
- COIL_2 [pin 5]
- COM [pin 2]
- N.O. [pin 3]
### PS1 — [IRM-05-5](https://www.flux.ai/cherepanyadima/irm-05-5~ho.md)
- Manufacturer Part Number: IRM-05-5
- Mount: PCB
- Manufacturer Name: Mean Well
- Part Type: Integrated Circuits
- Package or Case Code: 4-DIP
- Datasheet URL: https://www.meanwellusa.com/upload/pdf/IRM-05/IRM-05-spec.pdf
- Role: Isolated AC-DC Power Supply
- Role Details: 5 V rail design peak about 650 mA; certified Mean Well 5 V/1 A module
- Functional Group: 2. Isolated AC-DC and Low-Voltage Rails
**Pins:**
- -V [pin VNEG]
- +V [pin VPOS]
- AC(L) [pin AC/L]
- AC(N) [pin AC/N]
### Q1 — [MMBT2222ALT3G](https://www.flux.ai/adrian95/mmbt2222alt3g~vum.md)
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: onsemi
- Datasheet URL: https://www.onsemi.com/pdf/datasheet/mmbt2222lt1-d.pdf
- Manufacturer Part Number: MMBT2222ALT3G
- Part Type: Transistor
- Role: Relay Driver
- Role Details: Forced beta about 10 for 40 mA relay coil using 680 ohm base resistor
- Functional Group: 4. Low-Voltage Relay Driver
**Pins:**
- B [pin 1]
- C [pin 3]
- E [pin 2]
### SW1 — [B3FS-1050P](https://www.flux.ai/jharwinbarrozo/b3fs-1050p~hog.md)
- Manufacturer Part Number: B3FS-1050P
- Manufacturer Name: OMRON
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1809271215_Omron-Electronics-B3FS-1050P_C231326.pdf
- Part Type: Switch
- Role: Reset Button
- Role Details: Momentarily pulls EN low
- Functional Group: 3. ESP32 and Programming Support
**Pins:**
- P1 [pin 3]
- P2 [pin 1]
### SW2 — [B3FS-1050P](https://www.flux.ai/jharwinbarrozo/b3fs-1050p~hog.md)
- Manufacturer Part Number: B3FS-1050P
- Manufacturer Name: OMRON
- Datasheet URL: https://datasheet.lcsc.com/lcsc/1809271215_Omron-Electronics-B3FS-1050P_C231326.pdf
- Part Type: Switch
- Role: Boot Button
- Role Details: Momentarily pulls GPIO9 low for download mode
- Functional Group: 3. ESP32 and Programming Support
**Pins:**
- P1 [pin 3]
- P2 [pin 1]
### U1 — [LD39150DT33-R](https://www.flux.ai/adrian95/ld39150dt33-r~226.md)
- Datasheet URL: https://www.st.com/content/ccc/resource/technical/document/datasheet/4d/39/ee/07/53/02/48/d0/CD00150601.pdf/files/CD00150601.pdf/jcr:content/translations/en.CD00150601.pdf
- Manufacturer Part Number: LD39150DT33-R
- License: https://creativecommons.org/licenses/by/4.0/
- Manufacturer Name: STMicroelectronics
- Part Type: Integrated Circuit
- Role: 3.3 V Regulator
- Role Details: 3.3 V rail design peak 530 mA; DPAK selected for 5 V to 3.3 V thermal margin
- Functional Group: 2. Isolated AC-DC and Low-Voltage Rails
**Pins:**
- GND [pin 2]
- VI [pin 1]
- VO [pin 3]
### U2 — [ESP32-C3-WROOM-02-N4](https://www.flux.ai/lcsc/esp32-c3-wroom-02-n4~877i.md)
- Datasheet URL: https://documentation.espressif.com/esp32-c3-wroom-02_datasheet_en.pdf
- Voltage Supply: 3V ~ 3.6V
- Frequency: 2.4GHz
- Symbol Style: parametric-v1
- LCSC Part Number: C2934560
- Manufacturer Part Number: ESP32-C3-WROOM-02-N4
- Manufacturer Name: ESPRESSIF(乐鑫)
- Package or Case Code: BULETM-SMD_ESPRESSIF_ESP32-C3-WROOM-02-N4-4MB
- Part Type: RF Transceiver ICs
- JLCPCB Part Class: Extended Part
- Operating Temperature: -40°C ~ 85°C (TA)
- Role: Wi-Fi Microcontroller Module
- Role Details: ESP32-C3 module; GPIO4 selected for non-strapping boot-safe relay output
- Software: ESPHome
- Functional Group: 3. ESP32 and Programming Support
**Pins:**
- 3V3 [pin 1]
- EN [pin 2]
- EP [pin 19]
- EP [pin 20]
- EP1 [pin 21]
- EP3 [pin 22]
- EP4 [pin 23]
- EP5 [pin 24]
- EP6 [pin 25]
- EP7 [pin 26]
- EP8 [pin 27]
- GND [pin 9]
- IO0 [pin 18]
- IO1 [pin 17]
- IO10 [pin 10]
- IO18 [pin 13]
- IO19 [pin 14]
- IO2 [pin 16]
- IO3 [pin 15]
- IO4 [pin 3]
- IO5 [pin 4]
- IO6 [pin 5]
- IO7 [pin 6]
- IO8 [pin 7]
- IO9 [pin 8]
- RXD [pin 11]
- TXD [pin 12]
*The full schematic, PCB layout, bill of materials, and interactive design are available at [https://www.flux.ai/spiercer/esp32-wifi-pump-controller~gw](https://www.flux.ai/spiercer/esp32-wifi-pump-controller~gw).*
---
*Generated from [https://www.flux.ai/spiercer/esp32-wifi-pump-controller~gw](https://www.flux.ai/spiercer/esp32-wifi-pump-controller~gw)*