loading

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.

CODE:

------------------------------

#include

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!";

sms.beginSMS(smsnum);

sms.println(textforsms);

sms.endSMS();

}

delay(50000);

}

------------------------

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!

<p>a RVs Holding/water Tank Sensors with a txt ... nice </p>
This is a really good idea! I see some room for improvement, however.<br>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. <br>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.<br>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!
Bhai 300 400 me market me mil jata hai wo etna bada bhi nhi aapki process kafi badi hai

About This Instructable

3,023views

49favorites

License:

More by ssarthak598:DIY Smart Home Monitoring Bottle Arduino Video Game (The DIY Gift) Is My Fridge Door Open?! 
Add instructable to: