Saline (IV drip) level monitor with nurse alert

In crowded Indian hospital wards one nurse watches many patients, and an empty IV bottle lets air and backflow into the line. A clip-on monitor that measures the drip rate and remaining fluid and alerts the nurse station prevents this.

ESP32Mini or Major projectECE, EIE, BME, CSE
ESP32+992 gFeatured
Parts
₹2,840
Build
12 weeks
Board
ESP32
Objectives
6
Test with water in an IV set on a stand, never on a patient. The device must not touch or change the flow; it only watches.

Block diagram

Inputs
  • IR drop sensor on the drip chamberCounts drops
  • +
    Load cellWeighs the remaining fluid
Controller
  • ESP32
    ESP32Works out rate and time left
Outputs
  • NURSE
    Nurse station pageShows every bed
  • Buzzer and LEDWarn at the bed
  • 4G
    4G modemSends SMS alerts and calls over the mobile network+
  • CLOUD
    Cloud dashboardStores readings, plots trends and sends alerts+

Objectives

  1. To count drops and compute the drip rate in drops per minute and mL per hour.
  2. To measure remaining fluid by weight within ±10 mL.
  3. To alert the nurse station when 10% is left or the flow stops.
  4. To test against a timed manual drop count at three rates.
  5. To send SMS alerts through a 4G modem where no Wi-Fi is available.
  6. To publish readings over MQTT and show them on a live dashboard with threshold alerts.

Parts and specifications

Total about ₹2,840 at typical online prices. Tap a part for its pinout and datasheet notes.

Design calculations

Drip rate

Standard sets give 20 drops per mL. Flow (mL/h) = drops per minute × 60 / 20 = 3 × dpm. 30 dpm = 90 mL/h.

Time left

Remaining volume from weight: 1 g ≈ 1 mL for saline. 120 mL left at 90 mL/h = 80 minutes.

Drop timing

At 60 dpm drops are 1 s apart; a drop shadow lasts about 10 to 20 ms, so the interrupt catches each one.

Flow stopped

No drop for 3× the expected interval (for example 6 s at 30 dpm) = blocked or empty.

Pin map

SignalPin or connection
IR LED (through 100 Ω)3.3 V, always on
Photodiode → LM393 comparator outGPIO 27 (interrupt)
HX711 DT / SCKGPIO 16 / 4
Buzzer / OLEDGPIO 26 / I²C 21, 22

Firmware outline

  1. Tare the hook with an empty bottle weight entered once.
  2. Count drops by interrupt; compute dpm from the last 10 intervals.
  3. Read weight every 5 s; convert to mL left.
  4. Alert at 10% left, flow stopped, or rate 30% away from the prescribed rate.
  5. Send bed number, rate, mL left and time left to the nurse station page every 10 s.

Test plan

TestExpected result
Manual count with stopwatch at 20, 40, 60 dpmWithin ±1 dpm
Weight against measuring cylinderWithin ±10 mL
Clamp closedFlow-stopped alert within 10 s
Bottle near empty10% alert

These rows start your results table when you plan the project.

Viva practice

Say your answer out loud first, then check. The first 2 answers are free; Maker opens all 5.

1. Why count drops and also weigh?
2. What is a drop factor?
3. Why use a comparator?
4. Can ambient light affect it?
5. Why must it not control the flow?

Make it yours

One or two upgrades for a mini project, two to four for a major one.

Build these first

Datasheets and sources to cite

  • Avia Semiconductor HX711 datasheet
  • Vishay TSAL6200 IR LED datasheet
  • ISO 8536-4 (infusion sets: 20 drops ≈ 1 mL)

About this project

How much does the saline (iv drip) level monitor with nurse alert project cost?

About ₹1,250 for the parts in the base list: ESP32 DevKit V1, IR LED 940 nm, IR photodiode (black), LM393 dual comparator, Load cell 1 kg, HX711 load cell amplifier, Active buzzer 5 V, 0.96 inch OLED (SSD1306, I²C), 3D-printed drip chamber clip and hook, IV set and 500 mL saline bottle (for testing with water).

How long does it take?

About 8 weeks for the base project, built on an ESP32. Each upgrade adds time.

Which branches is it suitable for?

Electronics and Communication, Instrumentation, Biomedical, Computer Science / IT (IoT, AI), as a mini or major project.

Which pins and design calculations does it use?

IR LED (through 100 Ω) on 3.3 V, always on; Photodiode → LM393 comparator out on GPIO 27 (interrupt); HX711 DT / SCK on GPIO 16 / 4. Worked calculations on this page: drip rate, time left, drop timing, flow stopped.

How do I test it?

Manual count with stopwatch at 20, 40, 60 dpm: Within ±1 dpm. Weight against measuring cylinder: Within ±10 mL. Clamp closed: Flow-stopped alert within 10 s. Bottle near empty: 10% alert.

What are the objectives?

To count drops and compute the drip rate in drops per minute and mL per hour. To measure remaining fluid by weight within ±10 mL. To alert the nurse station when 10% is left or the flow stops. To test against a timed manual drop count at three rates.