Sefism is free for learners. We are here to help you grow, one step at a time.Join for free
Sefism.
IoT & Embedded

Single-Point Pressure Sensor for Household Water Leak and Tap Detection

Build a device that screws onto one tap in a home, samples water pressure hundreds of times a second, and works out which fixture is in use, how much water it used and whether there is a hidden leak. The research behind the idea was done on pressurised mains plumbing; most South Asian homes run on rooftop tanks with low gravity pressure. Finding out whether and how it works there is the core of the project.

Difficulty

Advanced

Needs a team, real planning, and a supervisor who knows the area.
Effort

2 semesters · 2 students

Deliverables

7 to ship

4 optional extras

Suggested stack

ESP32Analogue pressure transducerExternal ADC such as ADS1115 or ADS1015C++ firmware with FreeRTOSPython with SciPy and scikit-learnMQTTWeb dashboard
A suggestion, not a requirement. Swap anything for what you already know.

What you should ship

  • A pressure sensing unit that attaches to a tap or tank outlet without plumbing changes, sampling at several hundred hertz
  • Firmware that detects pressure events on the device and sends event windows rather than raw streams
  • A labelled dataset of fixture events (taps, showers, toilet flush, washing machine) from at least three homes
  • Event segmentation and a fixture classifier, with accuracy per fixture and per home
  • A leak detector based on slow, continuous pressure decline or never-quiet periods at night
  • A comparison of results on gravity-fed tank plumbing and pump-pressurised plumbing
  • A dashboard showing daily use by fixture, and an alert for suspected leaks

If you have time left

  • Water volume estimates per event, checked against a flow meter
  • A tank level sensor added so total use is measured directly
  • On-device classification with a small model
  • A short study of how households change use after seeing the breakdown

The problem: water is scarce, and homes cannot see where it goes

Cities across Pakistan and South Asia face growing water stress. Households pay for tanker deliveries, run pumps for hours, and still do not know where their water goes. A running toilet cistern or a leaking pipe inside a wall can waste a large share of a household's supply without anyone noticing until the tank runs dry or a wall shows damp.

Installing a flow meter on every fixture is impractical. A single sensor that can tell taps, showers and toilets apart, and spot leaks, would change that. Research has shown this is possible on pressurised plumbing. Whether it works on the gravity-fed rooftop tank systems used in most South Asian homes is an open question, and an excellent one for a final year project.

What already exists and the gap

  • Phyn Plus measures water pressure at high frequency on the main supply line, fingerprints fixtures and detects leaks, with an automatic shut-off valve. It is designed for pressurised North American plumbing and installed by a plumber.
  • Flo by Moen monitors pressure, flow and temperature on the main line and runs periodic pressure tests to find small leaks.
  • Tank level sensors sold locally show how full the tank is, not which fixture used the water.

The gap is a low-cost, install-it-yourself sensor that has been tested on South Asian tank-fed plumbing, with honest results about where it works and where it does not.

Inspiration

Froehlich and colleagues introduced HydroSense at UbiComp 2009: a single pressure sensor attached to any accessible tap, which identified activity at individual fixtures from the pressure transients created when valves open and close. They reported fixture identification with 97.9 percent aggregate accuracy in their test homes. Those homes had pressurised supply. Your project reproduces the method and tests it in a very different plumbing setting.

What you build

  • The sensor unit threads onto a spare tap or tank outlet with an adapter, measures pressure at high rate and runs event detection on the ESP32.
  • The data pipeline stores event windows with timestamps and lets you label them during data collection sessions.
  • The models segment events, classify fixtures and look for leak signatures.
  • The household sees daily water use by fixture and receives an alert if a leak is suspected.

The technically interesting part

  • Low pressure, small signals. A rooftop tank one or two storeys up gives far less pressure than a mains supply, so valve transients are smaller and noisier. Choose a sensor range and ADC resolution to match, measure the noise floor, and find out which fixtures are still distinguishable.
  • Sampling and events. Water hammer transients last tens of milliseconds. Sample fast enough to capture them, detect events on the device and send only short windows around them to save bandwidth.
  • Features and classification. Extract features from the open and close transients and the steady pressure drop, then train a classifier. Report accuracy on homes not used for training, because plumbing differs from house to house.
  • Leaks. A slow leak shows as a small, steady pressure drop or a system that never returns to its quiet baseline overnight. Simulate leaks with a slightly open tap and measure the smallest leak you can detect.
  • Pumps. Many homes use a pressure pump on top of the tank. Its cycling dominates the signal, so detect and separate pump events.

How to evaluate it

  • Fixture identification: accuracy per fixture type, within a home and across homes.
  • Plumbing comparison: the same metrics on gravity-fed and pump-pressurised systems, side by side.
  • Leak detection: smallest detectable leak rate and false alarm rate over several quiet nights.
  • Practicality: installation time by a non-expert following your guide.

Suggested plan

  • Weeks 1 to 4: sensor selection, test rig with a raised tank and several fixtures, firmware for high-rate sampling.
  • Weeks 5 to 9: event detection, labelling tool, first data from the rig.
  • Weeks 10 to 14: data collection in real homes, features and classifier.
  • Second semester: leak detection, pump handling, cross-home evaluation, dashboard and report.

Path to a product

Water utilities, housing societies, apartment buildings and environmentally minded households all want to cut water waste. A low-cost sensor with a clear leak alert is a credible product for South Asian and Middle Eastern markets, where tank-fed plumbing is common and existing products do not fit. The research result alone, how pressure sensing behaves on tank systems, is publishable.

Scope warning

Do not modify household plumbing beyond attaching to an existing tap with a proper adapter, and get the owner's permission. Do not install shut-off valves in the first version. Report negative results honestly; finding that some fixtures cannot be separated on gravity systems is a valid outcome.

Learn what you need on Sefism

Get help with this idea

The real research question is whether the signal survives low tank pressure. Tauseef can help you design the test rig, the labelling sessions and an evaluation that is honest about what works. If you are new here, create a free account first.

Ideas and guidance, not finished projects

These are project ideas and scoping guidance, published free for students to use as a starting point. I do not build, write, or sell final-year projects, and I do not complete coursework for anyone. Take an idea, make it yours, and build it.

Not sure this one fits you?

I help students pick an idea that matches their skills and their deadline, then scope it down until it is finishable. Guidance only, never done for you.

Discuss this idea
Work with me

Stuck on something specific?

Writing only gets you so far. If you want an answer to your situation rather than the general case, book a session and we will work through it together. Sessions are free for approved Sefism members, and a few slots open each week.