Poseidon: the Water Saver
by Jasmeeet Singh in Circuits > Electronics
2613 Views, 28 Favorites, 0 Comments
Poseidon: the Water Saver
Water is such an important resource in our life that a human being cannot even live a day without water. But still we humans cause so much wastage of this precious resource. We waste more than we save!! Now its time we try to save the life giving resource.
Many times it happens that we forget to turn off the water pump after the water tank gets filled. This leads to wastage of a great amount of water. Poseidon is an easy to make wireless Water Overflow control system which automatically switches off the water pump when the water in the tank reaches a certain level and switches on the water pump when the tank gets empty.Controlling of the motor is done wirelessly using the HC-12 module which has a range of about 1km.
Not only this, it also gives you call as a notification after the work is done. :D :D
So come on lets start building!!
MATERIALS REQUIRED:
1) 2 X Arduino UNO
2) 2 X HC-12 module
3) An ultrasonic sensor
4) A GSM module
5) A relay module
6) Some jumper wires
HOW THE DEVICE WORKS??
At The Tank:
The ultrasonic sensor is used to measure the level of water in the tank. The sensor is placed on the lid of the tank which sends ultrasonic bursts on the water inside the tank. The ultrasonic waves bounce off the surface of the water and are received by the sensor. The sensor then feeds the data to arduino UNO which calculates the distance of water from the sensor using simple math. When the water level reaches a certain level arduino commands the HC-12 module to send a message to the HC-12 module on the receiver end.
Receiver End:
At the receiver end, the HC-12 module receives the data from HC-12 on the sender end and feeds it to the arduino UNO. The arduino UNO checks the received data and accordingly controls the relay connected to the water pump. It also gives a command to the GSM module to give a call to the entered number with the help of AT commands.
NOTE:
The tank should have an appropriate diameter. If the tank has a small diameter then the ultrasonic waves may bounce off the walls of the tank and give false readings.
WIRE UP THE ELECTRONICS!!!!
Sender End:
5v pin of Arduino UNO ----> Vcc of ultrasonic sensor
5v pin of Arduino UNO -----> Vcc of HC-12 module
GND of Arduino UNO -----> GND of ultrasonic sensor
GND of Arduino UNO -----> GND of HC-12 Module
Arduino UNO pin 5 ----> Trig pin of ultrasonic sensor
Arduino UNO pin 6 -----> Echo pin of ultrasonic sensor
Arduino UNO pin 2 ------> TX of HC-12 module
Arduino UNO pin 3 ------> RX of HC-12 module
Receiver End:
5v pin of Arduino UNO ----> Vcc of Relay Module
5v pin of Arduino UNO -----> Vcc of HC-12 module
GND of Arduino UNO -----> GND of Relay Module
GND of Arduino UNO -----> GND of HC-12 Module
Arduino UNO pin 2 ------> TX of HC-12 module
Arduino UNO pin 3 ------> RX of HC-12 module
Arduino UNO pin 6 ------> IN1 on Relay Module
GND of Arduino UNO -----> GND of GSM Module
Arduino UNO pin 4 ---------> TX of GSM Module
Arduino UNO pin 5 ---------> RX of GSM Module
NOTE:
1)The GSM module I used was powered from a separate power supply from a 9v wall wart adapter but some GSM module can also be used from the power from the arduino's 5v pin.
2)I soldered some female headers on the HC-12 module for easy use. You can also solder the spring antenna which comes with the module or use a different antenna for better communication.
THE CODE:
Now upload the code to the arduino boards and you are ready to rock!!!
SAVE WATER AND SAVE ENVIRONMENT!! :D