Skip to the content
2 layers60 × 80 mmUrine monitor, the printed circuit board in 3D

LoRaWAN hospital monitoring device concept with paid embedded IoT bring-up review support

Size
60 × 80 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
38
Pads
185
Tracks, vias
509, 30
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
8 Dec 2025
Updated
18 May 2026

Overview

Urine monitor is an open-source printed circuit board by lzbgt, from the lzbgt/lora-weight-device repository on GitHub. It is a 2-layer board of 60 × 80 mm with 29 parts on 38 nets, routed with 509 tracks and 30 vias.

It is built around the HX711, TPS61220DCK and MIC5504-3.3YM5, with the RAK3172-SIP, SS14 and SI2301 among its other parts. Its parts include 6 resistors, 5 ICs, 5 connectors, 4 capacitors and 3 diodes. It belongs with the radio and wireless and home automation and IoT boards and the ESP32 and STM32 boards of this library.

Main components

6

README

README.md

Hospital Urine Bag Monitoring System (LoRaWAN)

Project Overview

A low-power, connected IoT device designed to automatically monitor urine output in hospital wards. It replaces manual visual checks with real-time digital logging, improving patient care and reducing nurse workload.

Key Features:

  • Sensing: Weight-based (Load Cell) for non-contact, universal bag compatibility.
  • Connectivity: LoRaWAN (Sub-1GHz) for deep indoor penetration and low infrastructure cost (1 gateway per ward).
  • Battery Life: Multi-year operation on AA batteries or Li-SoCl2.
  • User Interface: E-Ink Display for always-on visibility and local "Tare" button.
  • Infrastructure: Supports both PoE and Wi-Fi backhaul for the Gateway.

Repository Structure

Design Documents (design_docs/)

  • system_architecture.md: High-level topology, data flow, and server stack (ChirpStack).
  • hardware_design.md: Schematic concepts, chip selection (RAK3172, HX711), and detailed pin mapping.
  • mechanical_design.md: Enclosure styling, IP65 sealing, and the miniature load cell integration (Hook mechanism).
  • firmware_design.md: Software logic, state machine (Deep Sleep), and LoRaWAN payload format.
  • pcb_layout_guide.md: Critical routing rules for RF impedance and Analog noise reduction.
  • detailed_bom.md: Bill of Materials with part numbers and cost estimates.
  • solution_proposal.md: original proposal.

Datasheets (datasheets/)

Contains reference specifications for critical components:

  • RAK3172: LoRaWAN Module.
  • GDEY0213B74: 2.13" E-Ink Display.
  • HX711: 24-Bit ADC.
  • SSD1680: Display Controller (Command Table).

Getting Started

1. Hardware Development

  • Review hardware_design.md for the schematic connectivity.
  • Follow pcb_layout_guide.md for board layout, paying special attention to the 50Ω RF Trace and E-Ink Booster loop.
  • Ensure the Schottky Diode OR-ing is implemented to protect the 3.3V rail.

2. Firmware Development

  • Toolchain: STM32CubeWL SDK + CMake + GCC ARM.
  • Key Logic: Implement the "Deep Sleep Loop" (Wait 400ms for HX711 -> Read -> Sleep).
  • Display: Use the SSD1680 driver with the specific bias voltages (+20V/-20V/+15V/-15V) defined in the hardware spec.

3. Mechanical Prototyping

  • Design the enclosure to fit the Miniature Load Cell (40mm).
  • Ensure the Tube Retention Clip is molded into the front shell to prevent measurement errors.

License

Proprietary / Internal Company Use.

Parts

29
QtyValueFootprintReferences
20.1uFCapacitor_SMD:C_0603_1608MetricC2, C4
210uFCapacitor_SMD:C_0603_1608MetricC1, C3
21MResistor_SMD:R_0603_1608MetricR1, R2
25k1Resistor_SMD:R_0603_1608MetricR5, R6
2SS14Diode_SMD:D_SOD-123D2, D3
1100kResistor_SMD:R_0603_1608MetricR3
11kResistor_SMD:R_0603_1608MetricR4
12N7002Package_TO_SOT_SMD:SOT-23Q2
14.7uHInductor_SMD:L_0603_1608MetricL1
1Antenna_UFLConnector_Coaxial:U.FL_Hirose_U.FL-R-SMT-1_VerticalJ5
1BAT_JSTConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalBT1
1BuzzerBuzzer_Beeper:MagneticBuzzer_CUI_CMT-8504-100-SMTBZ1
1EInk_FPCConnector_FFC-FPC:TE_2-1734839-4_1x24-1MP_P0.5mm_HorizontalJ2
1HX711Package_SO:SOIC-16_3.9x9.9mm_P1.27mmU2
1I2C+BOOT0+PWRConnector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ4
1LoadCellConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1
1MIC5504-3.3Package_TO_SOT_SMD:SOT-23-5U4
1RAK3172RF_Module:RAK3172U1
1REDLED_SMD:LED_0603_1608MetricD1
1SI2301Package_TO_SOT_SMD:SOT-23Q1
1STM32F042F6P6 (USB CDC + CMSIS-DAP)Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU5
1TPS61220Package_TO_SOT_SMD:SOT-363_SC-70-6U3
1USB-C_DevConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J3
1USER_BTNButton_Switch_SMD:SW_SPST_TL3342SW1

Similar boards

  • 2 layers83.7 × 53.7 mmNode Analog, the printed circuit board in 3D

    Node Analog

    maivananh111/DoAnTotNghiep

    LoRaWAN wireless sensor network

    131 parts
  • 2 layers115.6 × 106.7 mmErgoSNM v3 left, the printed circuit board in 3D

    ErgoSNM v3 left

    siderakb/ergo-snm-keyboard

    ErgoSNM is a split ergonomic keyboard integrated with trackball, wireless is in beta

    90 parts172CERN-OHL-P-2.0
  • 4 layers77.8 × 56.2 mmMini ble, the printed circuit board in 3D

    Mini ble

    mooltipass/minible_hw

    Repository for the Mini BLE Hardware

    176 parts23MIT
  • 2 layers31.4 × 44 mmSoleil, the printed circuit board in 3D

    Soleil

    ayuusweetfish/Petit-Soleil-Lenormand

    (🚧) Solar magic. WIP, inside be daemons.

    56 parts1
  • 2 layersMeshtastic node, the printed circuit board in 3D

    Meshtastic node

    ben-labs-ltd/BL-N305X

    Meshtastic intended LoRa Node - Ben Labs Node 30.5dBm

    115 parts1MIT
  • 2 layers56 × 28.1 mmLuminography, the printed circuit board in 3D

    Luminography

    ayuusweetfish/Luminography

    (🚧 ETA 2024.09) « Jeu de luminographie » — An electronic toy encouraging outdoor exploration

    145 parts
  • 2 layers16.1 × 14.2 mmTPS61220 Breakout Board, the printed circuit board in 3D

    TPS61220 Breakout Board

    MichielvanBeers/tps61220-boost-converter

    Repository for an example breakout board for the TPS61220 boost converter IC from Texas Instruments.

    8 partsMIT
  • 2 layers47.6 × 31.3 mmBp3.1, the printed circuit board in 3D

    Bp3.1

    Neurotechnology-Exploration-Team/Psylink-NXT

    This is intended as a human input device (like a keyboard) that predicts your intention from muscle signals. Using a neural network, trained through a process where you press keys at the exact same time that you make…

    26 parts2GPL-3.0

Questions

How big is the Urine monitor PCB?

It measures 60 × 80 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Urine monitor use?

29 parts, built around the HX711, TPS61220DCK, MIC5504-3.3YM5 and RAK3172-SIP. 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 Urine monitor KiCad files?

From the lzbgt/lora-weight-device repository on GitHub, at the commit this page was made from: the board is hardware/pcb/urine_monitor.kicad_pcb and its schematic hardware/pcb/test.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Urine monitor design in my own project?

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