Skip to the content
PCBKitNew board
2 layers86.4 × 48.3 mmBlinky cube, the printed circuit board in 3D

The Leak Cube is a compact, wireless instrumentation module in the Blinky-Lite Instrumentation Platform. It is designed to detect water leaks using long, low-cost resistive wire detectors, then communicate leak states…

Size
86.4 × 48.3 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
38
Pads
83
Tracks, vias
78, 2
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
27 Aug 2023
Updated
19 Oct 2026

Overview

Blinky cube is an open-source printed circuit board by bl-instr, from the bl-instr/leak-cube repository on GitHub, published under the MIT licence. It is a 2-layer board of 86.4 × 48.3 mm with 21 parts on 38 nets, routed with 78 tracks and 2 vias.

Its parts include 11 resistors, 4 capacitors, 3 connectors, 1 IC and 1 diode. It belongs with the RP2040 boards of this library.

README

README.md

Leak Cube

Two-channel, wireless water-leak detection for wide-area coverage in remote equipment spaces, tunnels, basements, and other hard-to-reach locations.

EnclosurePCBInstallation
leak-cubeleakPCBtunnel-install

Overview

The Leak Cube is a compact, wireless instrumentation module in the Blinky-Lite Instrumentation Platform. It is designed to detect water leaks using long, low-cost resistive wire detectors, then communicate leak states and alarms to a central Blinky-Lite control system.

Each detector strip consists of two parallel thin stainless-steel wires embedded in a plastic mesh. When water bridges the wires, the resistance between them drops and the Leak Cube detects a leak. The strips can be many metres long, providing broad coverage along floors, cable routes, tunnels, basements, and other remote locations.

The high-impedance measurement network is sensitive to impedances on the order of 10 MΩ. This enables detection of small conductivity changes while also helping identify an open circuit caused by a damaged or cut detector strip.

Built around the Raspberry Pi Pico W / RP2040, the module uses 2.4 GHz Wi-Fi and MQTT publish/subscribe communication. This event-driven approach supports distributed deployments without wired data connections and enables Blinky-Lite to use device information for recording, notifications, visualisation, and machine-protection workflows.

Key features

  • Two-channel leak detection: Monitor two independent resistive water-leak detector strips.
  • Wide-area coverage: Low-cost parallel-wire detector strips can extend for many metres to cover long or remote areas.
  • High-impedance measurement: Detect impedances on the order of 10 MΩ for sensitive leak detection.
  • Detector-integrity indication: Identify open-circuit conditions that can indicate a damaged or cut detector strip.
  • Remote deployment: Wireless communication supports placement in out-of-the-way areas such as tunnels and basements.
  • PLC-style field wiring: 5 mm screw terminals simplify connection of detector strips in practical field installations.
  • Event-driven integration: MQTT publish/subscribe communication with Blinky-Lite for prompt leak and detector-fault reporting.
  • Open-source firmware: Microcontroller code can be adapted for site-specific instrumentation and integration requirements.

Technical summary

SpecificationDetails
Primary functionResistive water-leak detection and detector-integrity monitoring
Sensor / interfaceParallel thin stainless-steel wire detector strips embedded in plastic mesh
ChannelsTwo independent leak-detection channels
Detection principleWater bridging parallel detector wires lowers the measured resistance
Measurement sensitivityImpedances on the order of 10 MΩ
Detector coverageDetector strips can be many metres long
Detector integrityOpen-circuit detection can indicate a damaged or cut wire detector
Inputs / outputs5 mm screw terminals for two-wire detector-strip connections
Power input5 V DC via 2.1 mm barrel connector
Wireless2.4 GHz Wi-Fi
CommunicationMQTT publish/subscribe protocol
ControllerRaspberry Pi Pico W / RP2040
PCB dimensions48 mm × 86 mm
Enclosure and mounting53 mm × 93 mm × 25 mm; DIN Mod3-compatible enclosure with removable DIN-rail mount
PlatformBlinky-Lite Instrumentation Platform

Typical applications

  • Water-leak monitoring in tunnels and basements
  • Leak detection beneath equipment, piping, and utility installations
  • Remote monitoring of cable routes and service areas
  • Distributed facility monitoring requiring central visibility
  • Leak alarms and machine-protection workflows

Getting started

Hardware

  1. Install the Leak Cube close to the detector strips or area being monitored.
  2. Route each parallel-wire detector strip across the area requiring leak coverage.
  3. Connect each detector strip to its assigned 5 mm screw terminals according to the product wiring documentation.
  4. Connect the cube to a regulated 5 V DC supply through the 2.1 mm barrel connector.
  5. Verify the detector-strip condition and confirm that each channel reports normal, leak, and open-circuit states as expected.
  6. Mount the enclosure on a DIN rail when required, or remove the DIN-rail mount for an alternative installation.

Firmware build target

The firmware targets the Raspberry Pi Pico W / RP2040 using the Arduino-Pico board support.

  • Board: Pico W / RP2040-compatible target
  • Flash layout: Sketch 1920 KB, filesystem 128 KB
  • FQBN flash option: flash=2097152_131072

Open-source software and licensing

The firmware is released under the MIT License, giving users broad permission to study, modify, and adapt the code for their own applications. The open hardware design can likewise be customised to suit site-specific requirements. The firmware uses the open-source Arduino-BlinkyPicoW library, which is also available under the MIT License.

Configuration

  1. Build and upload the firmware using the project’s source and configuration files.
  2. Use the onboard web interface to set or update Wi-Fi credentials.
  3. Configure the MQTT connection and create the corresponding device integration in Blinky-Lite.
  4. Set leak and detector-integrity thresholds appropriate to each detector strip and installation environment.
  5. Configure alarm thresholds and any required machine-protection or notification workflows.
  6. Verify that normal, leak, and detector-fault events appear as expected in Blinky-Lite.

Integration model

The Leak Cube uses MQTT to publish detector states, leak events, and detector-fault events. This event-driven model avoids conventional polling and enables prompt control-system responses to changing conditions.

In a typical deployment, the device connects by Wi-Fi to the network and communicates through an MQTT broker. Blinky-Lite represents it as an integrated instrumentation node and can use its information for recording, display, notification, alarms, and machine-protection logic.

Measurement, safety, and installation considerations

  • Confirm that detector strips, wiring, connectors, and environmental conditions are suitable for the intended installation.
  • Route detector strips to provide the desired coverage while protecting them from physical damage.
  • Validate normal, leak, and open-circuit behaviour before relying on the device for operational or protection decisions.
  • Set thresholds appropriate to the detector length, installation environment, and required sensitivity.
  • Review connector, cable, grounding, shielding, enclosure, and environmental requirements before installation.

Parts

21
QtyValueFootprintReferences
41uFCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC1, C3, C4, C5
3100kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR4, R5, R6
3120kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR8, R10, R12
382kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR7, R9, R11
2Screw_Terminal_01x02TerminalBlock_Phoenix:TerminalBlock_Phoenix_MKDS-3-2-5.08_1x02_P5.08mm_HorizontalJ4, J5
110kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR2
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P7.62mm_HorizontalR1
1Barrel_Jack_SwitchConnector_BarrelJack:BarrelJack_HorizontalJ2
1LEDLED_THT:LED_D5.0mmD1
1PicoMCU_RaspberryPi_and_Boards:RPi_Pico_SMD_THU1
1SW_PushButton_Switch_THT:SW_PUSH_6mmSW1

Questions

How big is the Blinky cube PCB?

It measures 86.4 × 48.3 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Blinky cube use?

21 parts. 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 Blinky cube KiCad files?

From the bl-instr/leak-cube repository on GitHub, at the commit this page was made from: the board is schematics/kiCad/blinky-cube.kicad_pcb and its schematic schematics/kiCad/blinky-cube.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Blinky cube design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463