

Urine monitor
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
6HX711
SOP-16-40℃~+85℃ 1.4mA 10Hz、80Hz 1MHz~20MHz、11.0592MHz 2 2.6V~5.5V 20mV、40mV、80mV 24 Built-in External、Built-in SPI Support Yes SOP-16 Analog to Digital Converters (ADC) ROHSAvia SemiconAnalog To Digital Converters (ADC)TPS61220DCK
SC-70-6(SOT-363)-40℃~+125℃@(TJ) 1 1.8V~6V 200mA 2MHz 5.5uA 700mV~5.5V Adjustable Boost Boost Built-in Yes SC-70-6(SOT-363) DC-DC Converters ROHSTexas InstrumentsDC-DC ConvertersMIC5504-3.3YM5
SOT-23-5-40℃~+125℃@(Tj) 1 120uVrms 15uA 180mV@(300mA) 3.3V 300mA 5.5V 75dB@(1kHz) Fixed Over Temperature Protection、Enable Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTECH PUBLICVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsRAK3172-SIP
LGA73_12X12mmLGA73_12X12mm New Arrivals ROHSRAKwirelessUncategorisedSS14
SMA(DO-214AC)-55℃~+150℃ 1A 25A 300uA@40V 40V 550mV@1A Independent SMA(DO-214AC) Schottky Diodes ROHSMDDSchottky DiodesSI2301
SOT-23-3L-55℃~+150℃ 1 P-Channel 1.5V 120mΩ@4.5V 2.2A 200pF 20V 700mW 80pF P-Channel ±10V SOT-23 MOSFETs ROHSYONGYUTAIMOSFETs
README
README.mdHospital 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.mdfor the schematic connectivity. - Follow
pcb_layout_guide.mdfor 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C2, C4 |
| 2 | 10uF | Capacitor_SMD:C_0603_1608Metric | C1, C3 |
| 2 | 1M | Resistor_SMD:R_0603_1608Metric | R1, R2 |
| 2 | 5k1 | Resistor_SMD:R_0603_1608Metric | R5, R6 |
| 2 | SS14 | Diode_SMD:D_SOD-123 | D2, D3 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric | R3 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | 2N7002 | Package_TO_SOT_SMD:SOT-23 | Q2 |
| 1 | 4.7uH | Inductor_SMD:L_0603_1608Metric | L1 |
| 1 | Antenna_UFL | Connector_Coaxial:U.FL_Hirose_U.FL-R-SMT-1_Vertical | J5 |
| 1 | BAT_JST | Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_Horizontal | BT1 |
| 1 | Buzzer | Buzzer_Beeper:MagneticBuzzer_CUI_CMT-8504-100-SMT | BZ1 |
| 1 | EInk_FPC | Connector_FFC-FPC:TE_2-1734839-4_1x24-1MP_P0.5mm_Horizontal | J2 |
| 1 | HX711 | Package_SO:SOIC-16_3.9x9.9mm_P1.27mm | U2 |
| 1 | I2C+BOOT0+PWR | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J4 |
| 1 | LoadCell | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J1 |
| 1 | MIC5504-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U4 |
| 1 | RAK3172 | RF_Module:RAK3172 | U1 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | SI2301 | Package_TO_SOT_SMD:SOT-23 | Q1 |
| 1 | STM32F042F6P6 (USB CDC + CMSIS-DAP) | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U5 |
| 1 | TPS61220 | Package_TO_SOT_SMD:SOT-363_SC-70-6 | U3 |
| 1 | USB-C_Dev | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J3 |
| 1 | USER_BTN | Button_Switch_SMD:SW_SPST_TL3342 | SW1 |
Similar boards
- 2 layers83.7 × 53.7 mm

- 2 layers115.6 × 106.7 mm

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 mm

- 2 layers31.4 × 44 mm

- 2 layers

Meshtastic node
ben-labs-ltd/BL-N305X
Meshtastic intended LoRa Node - Ben Labs Node 30.5dBm
115 parts1MIT - 2 layers56 × 28.1 mm

Luminography
ayuusweetfish/Luminography
(🚧 ETA 2024.09) « Jeu de luminographie » — An electronic toy encouraging outdoor exploration
145 parts - 2 layers16.1 × 14.2 mm

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 mm

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.