Skip to the content
2 layers51.3 × 36.8 mmProject nrf leak detector, the printed circuit board in 3D

Install it and forget it: Detect leaks for over 20 years on a coin cell.

Size
51.3 × 36.8 mm
Copper layers
2
Thickness
1.6 mm
Parts
18
Nets
60
Pads
110
Tracks, vias
107, 39
Pours
4
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
13 Nov 2022
Updated
1 Aug 2024

Overview

Project nrf leak detector is an open-source printed circuit board by fgervais, from the fgervais/project-nrf-leak-detector_hardware repository on GitHub. It is a 2-layer board of 51.3 × 36.8 mm with 18 parts on 60 nets, routed with 107 tracks and 39 vias.

It is built around the BK-912-TR and PKM13EPYH4000-A0. Its parts include 3 capacitors, 3 resistors, 2 connectors, 1 IC and 1 diode. It belongs with the nRF52 and nRF5x boards of this library.

Main components

2

README

README.md

Leak Detector, revision 3

Any two conductors can be connected to the screw terminals and the alarm will start if water shorts them out.

Complete Project

Front side

Front

Back side

Back

PCB

Front side

Front

Back side

Back

Water Probe

Water Probe

Power Consumption

Based on revision 8f98e931fbc428e85092b7998ec07682605cf380.

Idle

Idle

How long can the device monitor for a leak?

  • Energizer CR2032 = $810 \, C$
  • Idle consumption = $1.09 \, \frac{{\mu}C}{s}$
math
\frac{810 \, C}{1.09 \times 10^-6 \, \frac{C}{s}} = 743.119 \times 10^6 \, s
math
470.93 \times 10^6 \, seconds \times \frac{1 \, minute}{60 \, second} \times \frac{1 \, hour}{60 \, minute} \times \frac{1 \, day}{24 \, hour} \times \frac{1 \, year}{365.25 \, days} = 23 \, years

Note: This does not account for the battery self discharge and the battery voltage going down over time.

Alarm

Alarm

Firmware

https://github.com/fgervais/project-nrf-leak-detector

Notifications

When a leak is detected, the information is sent to Home Assistant tough MQTT which then sends a notification to computers and mobile devices.

A notification is also sent when the leak detector is reset and rearmed to let the user know that the leak monitoring is ready.

notification

Alarm Note

The chain of events from leak detection to a nofication being delivered is pretty long and a lot could go wrong which would prevent the notification from being received.

Even though a lot of effort has been put in error handling and retry mechanism, the focus is to first make sure the alarm starts without being affected by the notification delivery process.

For this reason, the alarm is setup first before any networking work is started. Once started, the alarm is entirely handled by the hardware PWM module and so even if a problem happens the alarm will still be heard.

Parts

18
QtyValueFootprintReferences
310kResistor_SMD:R_0603_1608MetricR1, R2, R3
2100nFCapacitor_SMD:C_0603_1608MetricC1, C3
2MountingHoleMountingHole:MountingHole_5mmH1, H2
14.7uFCapacitor_SMD:C_0805_2012MetricC2
1435151014824435151014824:435151014824S1
1BK-912-TRBK-912:MPD_BK-912-TRBT1
1Conn_02x05_Odd_EvenConnector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMDJ1
1D_SchottkyCUS10S30,H3F:DIO_CUS520,H3FD1
1L22R686MC:INDP7870X750L1
1MS88SF3_NRF52840MS88SF3_NRF52840:MODULE_MS88SF3_NRF52840U1
1PKM13EPYH4000-A0PKM13EPYH4000-A0:SPKR_PKM13EPYH4000-A0_SMDLS1
1Q_NMOS_GSDPackage_TO_SOT_SMD:SOT-323_SC-70Q1
1Val**project-nrf-leak-detector_hardware:turtle-01.invertedRef**
1Water ProbeTZ022101B000G:TZ022101B000GJ2

Similar boards

  • 4 layers102.2 × 74.4 mmController pcb, the printed circuit board in 3D

    Controller pcb

    chevalierid/alan-setup

    Materials for experimental setup examining the effects of artificial light at night on insects

    62 parts2
  • 2 layers90 × 80 mmUnix clock improved, the printed circuit board in 3D

    Unix clock improved

    derenrich/unix-clock

    kicad project for a LED unix clock board

    25 parts
  • 4 layers26 × 26 mmBoard latest, the printed circuit board in 3D

    Board latest

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    45 parts397Apache-2.0
  • 4 layers100 × 82 mmEMBARCADOS CURSO PCB, the printed circuit board in 3D

    EMBARCADOS CURSO PCB

    andremdaraujo/EMBARCADOS-CURSO-PCB

    Projeto desenvolvido durante o curso Projeto de PCB para Sistemas Embarcados

    175 parts9
  • 2 layers53.6 × 53.3 mmBadge, the printed circuit board in 3D

    Badge

    make717/MemoryGame-PCB

    KiCad PCB files for custom Make717 memory game soldering badge

    53 parts2
  • 4 layers89.3 × 90.7 mmBreadboard DMM, the printed circuit board in 3D

    Breadboard DMM

    Acliad/toast-o-meter

    Breadboard mounted DMM with volts, amps, ohms, continuity, and diode feature.

    152 parts1
  • 4 layers50 × 75.2 mmRpiFly v3, the printed circuit board in 3D

    RpiFly v3

    r3dpath/RpiFly_Hardware

    While most of the functionality here has been tested to work theres certainally some marginal design decisions, just beware.

    108 parts1

Questions

How big is the Project nrf leak detector PCB?

It measures 51.3 × 36.8 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Project nrf leak detector use?

18 parts, built around the BK-912-TR and PKM13EPYH4000-A0. 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 Project nrf leak detector KiCad files?

From the fgervais/project-nrf-leak-detector_hardware repository on GitHub, at the commit this page was made from: the board is project-nrf-leak-detector.kicad_pcb and its schematic project-nrf-leak-detector.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Project nrf leak detector design in my own project?

Its repository states no licence, so its author keeps all rights: ask fgervais before reusing the design.