Water Tank Overflow Notifier With LinkitONE




Introduction: Water Tank Overflow Notifier With LinkitONE

About: I build products which solve real world problems.

Does your water overflow every time? Do you forget to close your water valve when your water tank is full? Then I have a solution to the problem!

Here i'll show you how to make a water overflow notifier that notifies you when ever your water tank leaks. You will automatically get an SMS when your water leaks.

Step 1: What Do You Need?

1 . LinkitONE board

2. Water tank.

3. Breadboard

5. LinkitONE GSM antena

6. Battery pack

7. Relay module

Step 2: Hacking Into the Water Tank!

Now we'll look for all places where we can connect a water sensor and then detect if there's any current flowing (or water is there or not).

I found the top of my water tank to be the right place to install the device easily. So i fixed my breadboard and Linkit there.

Step 3: Attaching the Electrodes

Now we need to attach the electrodes which will detect water leaks. We'll attach it from the cap above the tank.

Step 4: Attaching the LinkitONE

Now attach the LinkitONE to the electrodes. Check it carefully so that water does not leak and destroys the board..

Step 5: Finalizing the Setup

Now finalize the setup by sticking it to the tank. It also makes it look cool :P

Step 6: Setting Up GSM and SMS

Set up the GSM and SIM card by inserting it into the card slot. Attach the GSM antenna as well.

Do it carefully as we are doing everything in water!

Step 7: Writing Some Code

The code is really simple here!

We're just taking some digital readings from sensor, detecting if circuit is completed and processing them and then sending SMS.




void setup() {

Serial.begin(9600); pinMode(8,INPUT);

char smsnum[14]="xxxxxxxxxx";


void loop()


int iread=digitalRead(9);

if(iread==1) {

char textforsms[]="Fridge door open! Please check!";








Now burn this code and then lets start playing!

Step 8: Testing It Out

Now test your system out!

Just overflow get once!

Excited? Impress your friends!

Be the First to Share


    • Colors of the Rainbow Contest

      Colors of the Rainbow Contest
    • Leather Challenge

      Leather Challenge
    • Build a Tool Contest

      Build a Tool Contest



    6 years ago

    a RVs Holding/water Tank Sensors with a txt ... nice


    6 years ago

    This is a really good idea! I see some room for improvement, however.
    I work with fuel tank systems (as an operator, not a designer or installer), and what they use are a set of floats to detect the level of the fuel, setting off an alarm at 90% (high product) and at 95% (overfill) tank capacity.
    I imagine you could emulate this by setting two electrodes at almost - full and full (the 90% capacity is I believe federal law for fuel holding tanks in the US) and another on a float, just below the water line. Position the float and the electrodes so that they pass within a centimeter of each other.
    Now, when the water level causes the electrodes to pass by each other when submerged, current will pass through and set off the alarm. This way, you have time to act before there is an overflow situation!

    Kuldeep Barodiya
    Kuldeep Barodiya

    6 years ago

    Bhai 300 400 me market me mil jata hai wo etna bada bhi nhi aapki process kafi badi hai