Skip to content
Delivered May 2026

Making air leaks measurable,
not a judgment call

An inline retrofit monitor for a standard chest drain. It reads pressure in real time and shows one of four damage tiers on a bedside LCD, so leak severity becomes a number instead of a guess from watching bubbles. Built and bench-tested in a 3-person capstone team.

Role Team lead, firmware, technical verification (3-person team)
Timeline Jan – May 2026
Course BME 565 Medical Device Design
Institution Stevens Institute of Technology
Read time 10 min

Leak severity is still judged by eye

After a chest tube goes in for a pneumothorax, the drainage system shows whether air is still leaking from the lung. In most setups, clinicians judge severity by watching bubbles in a water-seal chamber. That call is subjective, it isn't trended, and two people can read the same chamber differently.

Digital drainage systems like the Medela Thopaz+ measure air flow directly, but they cost thousands of dollars. Our question was narrower: can a cheap inline add-on give a standard drain an objective severity reading?

Current state
Visual assessment, no shared threshold

Bubble counting in a water-seal chamber. Categorical at best, subjective in practice, no trend data.

Our approach
Inline sensing, four severity tiers

Pressure and flow sensors on the drain line feed a microcontroller that maps held pressure to NONE, SLIGHT, MODERATE, or SEVERE on a 16x2 LCD. About $80 in core hardware.

Two sensors on one bus. One verdict on the screen.

An Adafruit MPRLS pressure sensor and a Renesas FS3000 flow sensor share an I2C bus on an Arduino Nano Every. The firmware takes a 10-sample baseline at startup, reads both sensors at 2 Hz, classifies the held pressure into one of four tiers, and writes the result to a 16x2 LCD and a CSV serial log.

Signal Chain
Drain line Ambu bag + balloon rig on the bench
→
MPRLS + FS3000 Pressure (cmH2O) + flow, shared I2C
→
Arduino Nano Every Baseline, 2 Hz loop, classify()
→
16x2 LCD + CSV log NONE / SLIGHT / MODERATE / SEVERE
One verdict, not raw numbers

The LCD shows a severity tier in the same words clinicians already use, with the raw pressure underneath. A busy nurse should be able to read it at a glance.

50 kHz I2C clock

Both breakouts sit on one bus with uneven pull-up loading, so we ran the bus at 50 kHz instead of the default 100 kHz, with 4.7 kΩ pull-ups, for noise margin.

Fail loud, not silent

If a sensor fails to start, the firmware halts instead of running on bad data. For a measurement meant for clinical use, a dead screen is safer than a confident wrong number.

Cut scope before adding alarms

An early firmware version drove a buzzer alarm off the tier thresholds. I pushed to verify the core sensing on the bench first, because an alarm on top of an unverified sensor only makes a wrong answer louder. The final prototype shows the classification on the LCD with no audible alarm, and an active alarm is listed as future work.

Where a clinical version would land

The final report includes a regulatory pathway section. It is analysis of what a clinical version would need, not a filing and not a completed risk file.

FDA Class II, 510(k)

A clinical version would most likely be Class II and go through 510(k), claiming substantial equivalence to an existing drainage monitor.

Predicate: Medela Thopaz+

A digital chest drainage system that already measures air flow. It sets the bar we would be compared against.

Future compliance

Named in the report as future work for a clinical version: 21 CFR Part 820, ISO 13485:2016, and IEC 60601-1. None of these were performed on the prototype.

Where we are

Status: Delivered May 2026

Final paper, final presentation, and bench-tested prototype shipped. Four balloons (intact, slight, moderate, severe) were tested on a benchtop rig with pressure-based severity classification on a 16x2 LCD. Bench test table and the FS3000 sensor saturation finding are documented in the Bench Test Results section below.

3
person team
5
months, Jan–May 2026
~$80
core hardware cost
4
severity tiers, bench-validated

What went into the build

Adafruit MPRLS Renesas FS3000 Arduino Nano Every I2C @ 50 kHz 16x2 LCD Arduino C++ SolidWorks Bambu Lab FDM
Firmware

Arduino C++ using the Adafruit MPRLS, SparkFun FS3000, and LiquidCrystal libraries. setup() takes a 10-sample pressure baseline. loop() runs at 2 Hz, calls classify() to map pressure to a tier, and prints a 4-column CSV line (ms, P_cmH2O, F_mLmin, damage) at 115200 baud so every run can be logged.

Bench rig

An adult Ambu bag and a T-piece manifold push air into latex balloons in four sizes, one per leak severity, through 6 mm OD / 4 mm ID PU tubing. Two 3D-printed adapters connect the FS3000 to the tubing.

Tier Held pressure threshold (cmH2O) Where it came from
NONE24 or higherMidpoint between intact (31.0) and slight (17.0)
SLIGHT15 to 24Midpoint between slight (17.0) and moderate (12.9)
MODERATE11.5 to 15Midpoint between moderate (12.9) and severe (10.5)
SEVEREBelow 11.5Below the moderate/severe midpoint

Thresholds come from our balloon calibration, not from clinical data. Validating them against real patient flow data is the first item on the future-work list.

Most of the work was proving the measurement

01
The first concept was too big for one semester.

We started with a ventilator-integrated monitor that would compare delivered tidal volume to chest tube outflow. We scoped it down early to an inline drain monitor we could actually build and test by May. Cutting scope on purpose beat finishing nothing.

02
Write the pass/fail criteria before the test, not after.

I wrote the bench test protocol and the pass/fail criteria before we ran the balloons. When the flow sensor misbehaved, there was no arguing about whether it passed. It didn't, and the protocol said so.

03
A part that doesn't fit the rig blocks everything.

The FS3000 has a tiny rectangular flow channel and no tubing fitting. Until the adapter existed, we couldn't test the flow side at all. A small mechanical part held up the whole electrical test plan.

04
Report the limitation instead of hiding it.

Reporting dual-sensor output that we knew was unreliable would have looked better on a slide. We documented the saturation, moved classification to pressure only, and listed a wider-range flow sensor as future work.

Four balloons, four severity tiers, real numbers.

An Ambu bag and a T-piece manifold push air into a balloon that simulates the lung. Each balloon represents a different leak severity. The MPRLS pressure sensor reads gauge pressure inside the simulated pleural cavity. Steady-state held pressure is what the LCD classifies.

Test condition Held pressure (cmH2O) LCD classification
Intact (sealed balloon)31.0Damage: NONE
Slight leak (pinhole)17.0Damage: SLIGHT
Moderate leak (medium puncture)12.9Damage: MODERATE
Severe leak (large breach)10.5Damage: SEVERE

Pressure readings cleanly separated the four tiers, monotonically decreasing as severity increased. Classification thresholds (24, 15, 11.5 cmH2O) sit at the midpoints between adjacent calibration values, giving margin on either side. The LCD switched between tiers in real time as balloons were swapped, with no flicker at boundaries.

Honest finding on the flow sensor. The FS3000 returned values at or near maximum range during pressurization across all four balloons and near zero during the held phase. Neither phase varied with severity, which is what drove the pivot to pressure-only classification. The FS3000 still reads on the LCD as a sensor-status indicator, but it does not contribute to the severity decision in this rig. See the post-mortem section below for the full debrief.

Custom 3D-printed adapter. The FS3000 ships as a small breakout with a 7.8 by 4.0 mm rectangular flow channel and no native fitting for laboratory tubing. I designed a parametric saddle-cap adapter that mates to the module on its inner side and transitions to a 6 mm ID barb on the outer side. I modeled it in SolidWorks (7.8 x 4.0 mm cavity with 0.4 mm print clearance, 7.5 mm OD barb) and printed two on a Bambu Lab FDM printer. Without this part, dual-sensor characterization on the bench rig would not have been possible.

What I got wrong.

Most case studies end on the win. This one doesn't. These are the parts I'd want someone to ask me about.

01
The flow sensor saturated in bench testing, so classification moved to pressure only.

The original design used an Adafruit MPRLS pressure sensor and a Renesas FS3000 flow sensor on a shared I2C bus. In the four-balloon test, the FS3000 sat at maximum range during pressurization for every balloon and fell below useful resolution during the held phase. It could not tell the severities apart in this rig. We moved classification to pressure only and kept the FS3000 on the LCD as a sensor-status readout. The lesson: characterize each sensor in the real operating range before locking the classification logic. For a v2, I would pick a flow sensor with a higher ceiling and run a saturation test before integrating it.

02
The thresholds come from balloons, not patients.

The four tiers separate cleanly on our rig, but a latex balloon is not a lung. Until the thresholds are checked against clinical air leak data (Cerfolio's work or Thopaz+ flow data are the obvious references), they are a bench result, not a clinical one.

03
A breadboard can't go near a patient.

The prototype lives on a breadboard and can't be sterilized. The future-work plan in the report is a sealed inline cartridge with wireless logging and an active alarm. That is the version a clinician could actually use.

Questions I get about this one.

Three questions people ask about this project, answered up front.

Q1
What was your part, specifically?

I was team lead. I wrote the firmware, handled the clinical literature and the bill of materials, and ran technical verification, including the bench test protocols and pass/fail criteria. I also designed and printed the FS3000 tubing adapter in SolidWorks. My teammates handled hardware assembly and the test rig, and logistics and validation runs. The report and presentation were shared.

Q2
Why not just buy a digital drainage system?

Hospitals can, and the Medela Thopaz+ is the obvious comparison. It also costs thousands of dollars. Our core hardware cost about $80. The question was whether a cheap add-on could give a standard drain an objective reading. On the bench, pressure alone was enough to separate four severities.

Q3
If you had another semester, what would you do?

Three things, all from the report's future-work section. Check the thresholds against clinical air leak data. Swap in a wider-range flow sensor so both channels work and back each other up. Package it as a sealed inline cartridge with wireless logging and an alarm.

Questions about this project?

Happy to talk through the build, the bench testing, or what I would change.