Sump pump monitor

patrick-th·sump-pump-monitor·hardware/WatchdogSquare.kicad_pcb

Sump pump monitor PCB layout, top view — open source ESP32 board by patrick-th

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.

Sump pump monitor, from the project README
From the project README

Main components on the Sump pump monitor

Sump pump monitor bill of materials (BOM)

40 components, 28 distinct parts.

QtyPartRefs
1
XIAO_ESP32C3
U1
1
INA226AIDGSR
U2
1
24LC32
U3
1
LM2596T-5
U4
1
ESP32-DEVKITC
U5
1
BAT_BWE_CON
J1
1
POWER_CON
J2
1
TB001-500-04BE
J4
1
1A
F1
1
Relay_DPDT
K2
1
0.005
Rshunt1
1
100SP1T1B4M2QE
S1
1
1N5822
D1
1
LED_ext
D2
2
3V6
D3, D4
3
1N5819
D5, D6, D8
1
30V
D7
1
33uH
L1
3
100n
C1, C3, C5
3
4.7u
C2, C4, C6
Show 8 more
QtyPartRefs
1
4700uF
C7
2
220uF
C8, C9
2
0.1uF
C11, C12
2
4k7
R1, R2
2
10k
R3, R4
1
2.2k
R5
2
330
R6, R7
1
1000
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