Sump pump monitor
patrick-th·sump-pump-monitor·hardware/WatchdogSquare.kicad_pcb
About the Sump pump monitor PCB
Sump pump monitor is an open source ESP32 PCB design by patrick-th, published on GitHub. It is a 2-layer board measuring 68 × 114.5 mm, with 40 components from 28 distinct parts.
Its main chip is the ESP32-DEVKITC, from the ESP32 family. Other key parts include the XIAO_ESP32C3, INA226AIDGSR, 24LC32 and LM2596T-5. By type, the board carries 11 capacitors, 8 diodes, 8 resistors, 5 ICs, 3 connectors and 1 fuse.
It belongs with the power & battery, rf & radio and iot & wireless designs in this gallery.
From the project
PCB to monitor battery SOC and flow rate of a sump pump
A small ESP32-based monitor for battery-backed sump pumps. It tracks the 12 V lead-acid battery's state of charge by coulomb counting, counts pump cycles via an inline flow sensor, and exposes everything to Home Assistant over MQTT and (optionally) to a MeshCore mesh radio for off-grid status.
I built it for a Basement Watchdog Emergency Pump (BWE) running off the supplied 75 Ah trickle-charged battery, but it should work with any 12 V lead-acid setup that has its own charger.

Main components on the Sump pump monitor
Sump pump monitor bill of materials (BOM)
40 components, 28 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | XIAO_ESP32C3 | MODULE_XIAO_ESP32C3 | U1 |
| 1 | INA226AIDGSR | SOP50P490X110-10N | U2 |
| 1 | 24LC32 | SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | LM2596T-5 | TO-220-5_P3.4x3.7mm_StaggerOdd_Lead3.8mm_Vertical | U4 |
| 1 | ESP32-DEVKITC | ESP32-DEVKITC | U5 |
| 1 | BAT_BWE_CON | CUI_TB005-762-02BE | J1 |
| 1 | POWER_CON | CUI_TB005-762-02BE | J2 |
| 1 | TB001-500-04BE | CUI_TB001-500-04BE | J4 |
| 1 | 1A | FUSE_4527 | F1 |
| 1 | Relay_DPDT | Relay_DPDT_Finder_30.22 | K2 |
| 1 | 0.005 | R_Shunt_MSR3_15.2mm | Rshunt1 |
| 1 | 100SP1T1B4M2QE | SW_100SP1T1B4M2QE | S1 |
| 1 | 1N5822 | D_DO-201AD_P12.70mm_Horizontal | D1 |
| 1 | LED_ext | LED_D5.0mm | D2 |
| 2 | 3V6 | D_DO-35_SOD27_P7.62mm_Horizontal | D3, D4 |
| 3 | 1N5819 | D_DO-41_SOD81_P10.16mm_Horizontal | D5, D6, D8 |
| 1 | 30V | D_DO-201AD_P15.24mm_Horizontal | D7 |
| 1 | 33uH | L_Axial_L7.0mm_D3.3mm_P10.16mm_Horizontal_Fastron_MICC | L1 |
| 3 | 100n | C_Disc_D5.0mm_W2.5mm_P5.00mm | C1, C3, C5 |
| 3 | 4.7u | CP_Radial_D6.3mm_P2.50mm | C2, C4, C6 |
Show 8 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 4700uF | CP_Radial_D18.0mm_P7.50mm | C7 |
| 2 | 220uF | CP_Radial_D10.0mm_P5.00mm | C8, C9 |
| 2 | 0.1uF | C_Disc_D5.0mm_W2.5mm_P5.00mm | C11, C12 |
| 2 | 4k7 | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R1, R2 |
| 2 | 10k | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R3, R4 |
| 1 | 2.2k | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R5 |
| 2 | 330 | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R6, R7 |
| 1 | 1000 | R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_Horizontal | R8 |
Sump pump monitor design files
The KiCad project lives in the patrick-th/sump-pump-monitor repository on GitHub; these links point at the commit this page was built from.
Sump pump monitor: common questions
What microcontroller does the Sump pump monitor use?
The Sump pump monitor is built around the ESP32-DEVKITC, from the ESP32 family.
How big is the Sump pump monitor PCB?
The Sump pump monitor measures 68 × 114.5 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Sump pump monitor?
40 components, from 28 distinct parts. The full bill of materials is listed on this page.
Where can I download the Sump pump monitor design files?
From the patrick-th/sump-pump-monitor repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Sump pump monitor design in my own project?
The repository has no license, so all rights stay with patrick-th. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Sump pump monitor without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.
Similar boards
ESP32
OSO-BOOK-B1
joeycastillo
85 × 115 mm65 parts2LCC-BY-SA-4.08.1kESP32
Powertrain
byrantech
64 × 45.4 mm171 parts4LMIT4.3kESP32
Badge
atopile
56.3 × 39 mm239 parts4LMIT4.0kESP32
Esp32 minimal
atopile
36.2 × 26.8 mm20 parts2LMIT4.0kESP32
Controller
StuckAtPrototype
29 × 74 mm58 parts4LApache-2.03.8kESP32
Racer
StuckAtPrototype
36 × 50.2 mm70 parts4LApache-2.03.8k