
Controller pcb
chevalierid/alan-setup
Materials for experimental setup examining the effects of artificial light at night on insects

Install it and forget it: Detect leaks for over 20 years on a coin cell.
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.
Any two conductors can be connected to the screw terminals and the alarm will start if water shorts them out.





Based on revision 8f98e931fbc428e85092b7998ec07682605cf380.

How long can the device monitor for a leak?
\frac{810 \, C}{1.09 \times 10^-6 \, \frac{C}{s}} = 743.119 \times 10^6 \, s470.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 \, yearsNote: This does not account for the battery self discharge and the battery voltage going down over time.

https://github.com/fgervais/project-nrf-leak-detector
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.
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.
| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R2, R3 |
| 2 | 100nF | Capacitor_SMD:C_0603_1608Metric | C1, C3 |
| 2 | MountingHole | MountingHole:MountingHole_5mm | H1, H2 |
| 1 | 4.7uF | Capacitor_SMD:C_0805_2012Metric | C2 |
| 1 | 435151014824 | 435151014824:435151014824 | S1 |
| 1 | BK-912-TR | BK-912:MPD_BK-912-TR | BT1 |
| 1 | Conn_02x05_Odd_Even | Connector_PinHeader_1.27mm:PinHeader_2x05_P1.27mm_Vertical_SMD | J1 |
| 1 | D_Schottky | CUS10S30,H3F:DIO_CUS520,H3F | D1 |
| 1 | L | 22R686MC:INDP7870X750 | L1 |
| 1 | MS88SF3_NRF52840 | MS88SF3_NRF52840:MODULE_MS88SF3_NRF52840 | U1 |
| 1 | PKM13EPYH4000-A0 | PKM13EPYH4000-A0:SPKR_PKM13EPYH4000-A0_SMD | LS1 |
| 1 | Q_NMOS_GSD | Package_TO_SOT_SMD:SOT-323_SC-70 | Q1 |
| 1 | Val** | project-nrf-leak-detector_hardware:turtle-01.inverted | Ref** |
| 1 | Water Probe | TZ022101B000G:TZ022101B000G | J2 |

chevalierid/alan-setup
Materials for experimental setup examining the effects of artificial light at night on insects




andremdaraujo/EMBARCADOS-CURSO-PCB
Projeto desenvolvido durante o curso Projeto de PCB para Sistemas Embarcados


Acliad/toast-o-meter
Breadboard mounted DMM with volts, amps, ohms, continuity, and diode feature.

r3dpath/RpiFly_Hardware
While most of the functionality here has been tested to work theres certainally some marginal design decisions, just beware.
It measures 51.3 × 36.8 mm and has 2 copper layers, 1.6 mm thick.
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.
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.
Its repository states no licence, so its author keeps all rights: ask fgervais before reusing the design.