Detection of clogs can be done through a number of techniques, like using gas sensors or internal mechanisms, But i also can be done by soundwaves, as we know that knocking on a tube where it's opened is different sound from that happened when being closed. we train a model the sound patterns o
Drain Clog Detector using Tensor Flow
Detection of clogs can be done through a number of techniques, like using gas sensors or internal mechanisms, But i also can be done by soundwaves, as we know that knocking on a tube where it's opened is different sound from that happened when being closed. we train a model the sound patterns occurring on tube surface during clogs as well as those patterns occurs in opened pipes, to detect clogs.
Our idea is to let home owners as well as enterprises like city/compounds maintenance departments and specialized service providers to have an efficient and intelligent system that alerts whoever in charge as early as possible to take action, which contributes in enriching smart cities with an important feature.
Project has three phases, gathering data, learning and prediction. Sound of clogged and opened pipe will be captured and model will be trained.
water pipe will be connected to hardware and sound sensor. Hardware reads the sensor value and send it back to Cloud.
This has been done for 10 mins for a blocked tube, then another 10 mins for a tube that isn't blocked.
To detect the water sound inside the pipe, a sound sensor will be attached. However Raspberry Pi 3 doesn't have Analog GPIO. To handle this issue we will use Arduino as Arduino has analog GPIO.


A machine learning algorithm classify the readings into two classes, developed using R applying the Fisher rules , where class 1 represents open mode, and class two represents clog mode.
we will collect 20 minutes of readings, 10 for open mode, and 10 for clog mode, each minute of data was stored in different file and was represented by a vector, and labeled with matching mode, each file contains 60000 readings (60 seconds * 1000 milliseconds).
This project will decrease maintance cost, Clogged drains not only can bring your home to a halt, but will consume additional costs from our pockets, 10k on average is cost of clearing a clogged drain according to HomeAdvisor, in addition to hidden costs of damaged carpets, wooden furniture.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Sound Sensor | Equipment | 5 | 1500 | 7500 |
| Sound sensor shield | Equipment | 4 | 3000 | 12000 |
| Arduino mega | Equipment | 2 | 3800 | 7600 |
| Raspberry Pi 4 | Equipment | 1 | 23000 | 23000 |
| Google Fire store subscription | Equipment | 1 | 8000 | 8000 |
| Wires, Batteries | Miscellaneous | 1 | 10000 | 10000 |
| Solder | Equipment | 2 | 3000 | 6000 |
| Total in (Rs) | 74100 |
The proposed final year project would be an enhanced prototype of an instant messaging app...
As there is no system in Azad Kashmir?s hospital to control the crowd. Spreading of covid-...
This robot is designed to help people focus on activities. People can easily find what has...
A regular person will never truly comprehend what it is like to live with any form of impa...
The electricty is now one of the most important part of the world. The transmission lines...