Home Problem Features Architecture Hardware Software Testing Budget Team
A 3rd Year Project of Dept. of Computer Engineering, UOP

Smart Monitoring
for Intravenous
Drip Systems

SmartIV is an IoT-powered system that monitors IV drip flow rates in real time, sends automated alerts to nurses, and prevents critical medication errors — reducing patient risk and easing the burden on healthcare staff.

70%

Reduction in
missed IV alerts

Real-time

Flow rate
monitoring

24 / 7

Automated
nurse alerts

SmartIV Dashboard — Live
Flow Rate
42drops/min
Normal
Volume Left
178mL
Stable
Estimated Time Remaining
1h 24m Patient: Bed 04-A
62%

Low bag alert — Bed 07-B: Estimated empty in 18 minutes. Nurse notified.

1 in 3

IV-related incidents occur due to delayed nurse response to drip completion

[X]%

Of hospitals in Sri Lanka still rely on manual visual inspection of IV bags

~8 hrs

Average shift length for a nurse, during which dozens of IV bags must be monitored

SmartIV

Automates monitoring and alerts — so nurses focus on care, not checking drips

The Problem

Manual IV monitoring creates serious patient safety risks

Intravenous therapy is one of the most common procedures in hospitals. Yet in most wards, nurses must manually check each IV drip bag to determine flow rate and volume — a repetitive, error-prone process that is easy to miss during busy shifts.

When a drip runs dry unnoticed, air can enter the bloodstream. If the flow rate is incorrect, patients may receive too much or too little medication — with potentially life-threatening consequences.

  • No real-time flow rate visibility across multiple patients
  • Nurses alerted only after manually noticing an issue
  • High cognitive load during busy shifts leads to missed checks
  • No historical data to review IV administration patterns
See Our Solution
Key Features

Everything nurses and hospitals need, built in.

SmartIV combines hardware sensors, cloud infrastructure, and a mobile-first interface to deliver complete IV drip oversight.

Real-Time Flow Rate Monitoring

Optical drop sensors count drip rate continuously and stream data to the cloud for instant visibility on any device.

Automated Nurse Alerts

Push notifications are sent directly to nurses' devices when a bag is nearly empty, flow is abnormal, or the drip has stopped unexpectedly.

Bag Volume Estimation

Nurses input the initial bag volume via the device keypad. The system continuously calculates the remaining volume and time until empty based on the exact number of drops detected by the dual IR sensors.

Mobile & Web Dashboard

Nurses and ward managers can monitor all patients in real time through a clean mobile app or web dashboard, from anywhere in the hospital.

Historical Data & Analytics

Every IV session is logged. Doctors and administrators can review flow rate histories, alert logs, and trend data for quality improvement.

Secure Patient Records

All patient and session data is encrypted in transit and at rest. Role-based access ensures only authorised staff can view sensitive records.

Architecture

How SmartIV works end-to-end

A layered architecture connecting bedside hardware to the cloud and nurse interfaces.

Hardware
💧

Dual IR Sensors

Detects each drip with redundancy

⚙️

Nema 17 Stepper

Actuates the flow regulator

⌨️

Keypad & LCD

Local input and status display

Processing
🔲

ESP32 Edge Device

Local processing & flow control

🔌

ESP32 USB Dongle

Desktop station receiver

📡

MQTT Protocol

Lightweight IoT messaging

Cloud
☁️

AWS IoT Core

Device connectivity hub

⚙️

Backend API

Node.js / Spring Boot

🗄️

Database

MongoDB / MySQL

Interface
📱

Nurse Mobile App

React Native — alerts & monitoring

🖥️

Admin Web Dashboard

React.js — ward-level overview

Hardware

Bedside device design & components

The SmartIV unit attaches directly to the IV stand — compact, non-invasive, and battery-powered for full ward portability.

Concept Design Photo
SmartIV Circuit Design
Sensors & Actuators

Dual Optical IR Sensors

Two IR sensors accurately count drops passing through the IV drip chamber, ensuring precise real-time flow rate calculations and reliable redundancy.

Nema 17 Stepper Motor

Acts as the system's actuator, precisely compressing or releasing the IV tube to regulate the fluid flow rate autonomously.

Keypad Module & LCD Display

Allows nurses to manually input the initial IV bag volume (e.g., 500mL) and view real-time status, alerts, and settings directly at the bedside.

Processing & Communication

ESP32 Dual Setup (Edge & Dongle)

An ESP32 microcontroller in the edge device handles local processing, motor control, and sensing. A second ESP32 acts as a USB dongle connected to the desktop station for reliable local data reception.

Battery & Power Management

Rechargeable Li-Po battery with a BMS ensures the unit runs independently of mains power, supporting full ward mobility.

Custom PCB

All components integrated onto a custom-designed PCB for a compact, reliable, and production-ready form factor.

Software

Intuitive interfaces for nurses & administrators

SmartIV's software stack delivers real-time monitoring, instant alerts, and historical insights across mobile and web.

Mobile App Screenshot
Desktop Dashboard Screenshot
  • Live Patient Overview

    All patients on a ward displayed on a single screen with current flow rate, volume, and estimated time remaining.

  • Push Notifications & Alerts

    Nurses receive immediate push alerts when a bag is low, the drip has stopped, or the flow rate is outside normal range.

  • Patient & Session History

    Full log of each IV session per patient including flow rate graphs, alert events, and administration timestamps.

  • Role-Based Access Control

    Nurses, ward sisters, and admins each have differentiated views and permissions to keep data secure and relevant.

  • Alert Acknowledgement

    Nurses can acknowledge alerts directly in the app, creating an audit trail of response actions per patient event.

⚛️
React Native

Mobile app (iOS & Android)

🌐
React.js

Web dashboard frontend

🖥️
Node.js / Spring Boot

Backend API server

☁️
AWS IoT Core

Device cloud gateway

🗄️
MongoDB / MySQL

Database

📨
MQTT Broker

IoT messaging layer

Testing

Rigorous validation — from sensor to screen

SmartIV is tested at every layer to ensure reliability, accuracy, and real-world readiness.

Hardware Testing

Drop sensor accuracy testing against known flow rates

✓ Validated

Stepper motor precision and automated flow regulation accuracy

✓ Validated

Battery life and power management under continuous operation

⏳ In Progress

Wi-Fi connectivity and MQTT data transmission reliability

✓ Validated

Device performance in hospital temperature and humidity conditions

⏳ In Progress

Software Testing

Unit testing for all backend API endpoints and business logic

✓ Validated

Integration testing: hardware → MQTT → backend → mobile app

✓ Validated

Load testing simulating full ward with 20+ simultaneous devices

⏳ In Progress

User acceptance testing with nursing staff at [Hospital Name]

◌ Planned

Alert delivery latency — target under 3 seconds from sensor trigger

✓ Validated
Budget

Estimated project budget

# Item Model / Notes Qty Unit Price (LKR) Total (LKR)
1 Primary MCU ESP32-S3 Development Board 1 2,150.00 2,150.00
2 Secondary MCU ESP32 DevKit V1 1 1,835.00 1,835.00
3 Stepper Motor NEMA 17 Stepper (Bipolar) 1 2,240.00 2,240.00
4 Motor Driver TMC2208 Silent Driver 1 1,390.00 1,390.00
5 UI Display Module Arduino LCD + Logic Level Converter 1 1,950.00 1,950.00
6 Input Peripherals 4x4 Keypad Module + Buttons 820.00
7 Drop Detection IR Speed sensor module LM393 1 150.00 150.00
8 Main Power Supply WX-DC2412 Switching Power Module 1 2,950.00 2,950.00
9 Battery System 2x 18650 Cells + Holder + BMS 1 1,305.00
10 Voltage Regulation Buck convertor + Protective Cover 1 300.00 300.00
11 Medical Testing Kit Standard IV sets (x3) + NaCl IV bags (x4) 1,258.08
12 Chassis 3D Injection moulding 1 5,000.00 5,000.00
13 Alert System Buzzer 1 55.00 55.00
14 Misc. Hardware PCBs, Screws, Bearings & Connections 1 4,820.00 4,820.00
Total Estimated Hardware Cost (per unit) LKR 26,223.08

* Prices are estimates based on local market rates. Cloud hosting and software development costs are separate.

Our Team

The people behind SmartIV

Project Supervisors
Ms. Yasodha Vimukthi

Ms. Yasodha Vimukthi

Lecturer, Department of Computer Engineering
Faculty of Engineering, University of Peradeniya

Dr. Isuru Nawinne

Dr. Isuru Nawinne

Senior Lecturer, Department of Computer Engineering
Faculty of Engineering, University of Peradeniya

Team Members
Pavindran V.

Pavindran V.

E/21/283
Hardware / Firmware
Shagiththiah K.

Shagiththiah K.

E/21/375
Mobile App
Suthail A.L.M

Suthail A.L.M

E/21/395
Desktop App
Paarkavi J.

Paarkavi J.

E/21/206
Cloud & Network