The analog pin read gave values between 265 to 300 indicating an input probe voltage of ~1V. This idea can be extended further to replenish the sump if we add water level sensors to the sump as well. The Node MCU (and ESP8266) has an onboard 10-bit Analog to Digital Converter (ADC). Among all the components the most important components are Transistors BC 547. The ultrasonic sensor as a trigger and an echo pin. #define MOTORPIN 8 // Arduino pin tied to Relaypin of the Relay Circuit, #define BUZZER 9 // Arduino pin tied to +ve terminal of the Buzzer, float TankHeight, WaterLevelMAX, GapbwSonar, SonarReading, ActualReading, Temp. All the commercial products available on Amazon use a similar approach to detect water level. If Water level below 20% then Pump will start Running and. In view of this, Bluetooth module based Water Level Monitoring system is an innovative idea that will inform the users about the level of liquid and will prevent it from overflowing. If P4 is hung close to the top of the tank, the motor can be turned off once non-zero voltage is detected at P4. The idea is to connect two probes to two digital pins of the Arduino, one set to output mode and the other to input mode. This caused the voltage to drop below the threshold for logic level HIGH for the digital pin and it would always read logic level LOW (0). I built a AWS Lambda Function that writes the water level received over a HTTP API call to a DynamoDB table. As P2 and P3 are immersed in water, we should get a non-zero voltage reading at P2 and P3, and zero voltage at P4. A few months back I had a discussion with a colleague about the need for a water level sensor for his house. I mainly work with printed circuit boards on proteus to bring life to my inventions. Fix that loop of wire with nuts and bolts in that PVC pipe and afterward add a common wire to the casing. We can observe that LEDs are glowing and the topmost blue LED will glow when the tank is filled thus, turning ON the buzzer. We discussed about having a smart sensor hooked to a programmable switch that can turn on/off the motor. indicator gsm bengaluru Level Monitoring and Control with dry Pump run protection using Ultrasonic Sensor and Android Application via bluetooth HC-05. There is a current limiting resistor involved between transistor and LED and it prevents higher voltage to destroy the LED. Unlike the digital pin read which gives a login level HIGH or LOW based on a threshold, the analog pin provides a scaled value. http://xtel.in/water-level-monitor-using-sr04-and-labview.html. Once enough water is pumped up, the motor has to be switched off manually. Buzzer, this is used to notify when the sump tank is empty. Free shipping on orders above Rs.499/- Dismiss, PiBOX India Raspberry Pi 4 8GB Jump Start8 Combo kit 4813W with Pi4 8GB, Pi4 Black case,16GB Noobs Card, BIS 3 amps Charger, Copper Heatsink, HDMI Cable, Ethernet Cable and Adapters 2022 Model, REES52 Ultrasonic Range Finder Module Sensor Distance Measuring Transducer New, PiBOX India Raspberry Pi 4 4GB Easy Cool 4 Combo kit 4413W with Pi4 4GB, Pi4 Fan case, Dual Speed Fan,16GB Noobs Card, BIS 3 Amps Charger, 3 Piece Heatsink, HDMI Cable and Accessories, Erratum Solutions FPM10A Fingerprint Reader-Sensor Module Arduino Locks. Your personal data will be used to support your experience throughout this website, to manage access to your account, and for other purposes described in our privacy policy. Firstly, measure the height of the tank and then with equal intervals mark 4 points on it. The output pin would send 5V DC voltage into the probe and water and the input pin would read the voltage and would give back logic level HIGH (1) if the voltage is above (2.6V) a threshold value. In any case, everybody who has a water tank above knows the sort of issues that they face. I choose ESP8266 based Node MCU microcontroller board. This means, the input probes can be connected to the multiplexer channels and the Node MCU can read from them one after the other by altering the state of the multiplexer (think of it as three taps connected to the same pipe and we get to choose the one pipe that is open at any time). The second resistor (R2 - 22,000 ohms) acts as a pull down resistor and prevents input pin D4 from floating. if Pump running and Sump tank empty then Pump will stopped. Firmly fix the rod inside the tank and make sure that the rod (PVC pipe) touches the bottom of the tank. View the water integrity and level of selected areas on your Android phone by using an HC-06 Bluetooth module to make an irrigation system. When we start the water pump water starts to get pumped from the underground water reservoir to the overhead tank. It is this value that will enable us calibrate the tank.Here introduced a push button, this is used to measure the Tank height at the time of installation of this Circuit. Take a PCB board and solder the LEDs on it according to the levels defined above. We will screw the two L hooks to the device and fix it into the wall and afterward take A/C 220V from any socket and give it to the board. Fully automatic function (manual on and auto off function). Tank water level monitored in Android Mobile using app. If Water level above 100% then Pump will stopped. My colleague stays in an independent house and has a water tank on the terrace. I decided to build a microcontroller based solution that detects and transmits the water level to a cloud hosted database. #define MAX_DISTANCE 500 // Maximum sensor distance is rated at 400-500cm. Corrosion less sensors. Make holes on those points and then make a loop of wire which will be carrying the current. Project tutorial by Robodia Technology Solutions. Manual/auto/off modes. This may not be ideal depending on the house/apartment. It works on the principle of echolocation. This process can be problematic during monsoon season. (A high resistance between GND and D4 grounds residual voltage without grounding the signal from P2). Now, that weve collected all the components lets assemble them and design the circuit. If the input probe is connected to the A0 pin, we would get the voltage as an integer between 0 and 1023. Presently for the establishment of the gadget, we should locate a reasonable spot for a clear view of LED lights. This is probably one of the challenges every one of us faced at some point. This design works on the premise that the home WiFi signal is accessible on the terrace near the water tank and mains power supply is available to power the Node MCU board. You are quite an inspiration, Great Kishor. These days everyone has an overhead tank at their homes. The digital pins on the Node MCU board output 3.3V DC and hence a 330 Ohm current limiting resistor (R1) was used instead of the 440 Ohms used with the Arduino Nano board. The data in the cloud can then be used to control a programmable switch to turn on/off the motor. The scarcity is mainly due to the wastage of the water. We have to see how long the carbon electrodes work in real world scenario. Easy to install. #define ECHO_PIN 7 // Arduino pin tied to echo pin on the ultrasonic sensor. . Some of the alternatives that were considered and dropped: I built two boards with the Mk2 design and they are being tested by two colleagues at their respective houses. Ive tackled it in a slightly different way sometime back, using an ultrasonic sensor. Pure water is a bad conductor of electricity and impurities in water improve conductivity. Additional software changes to the AWS Lambda function to perform decision making (to turn on/off the motor) and propagate the on/off commands to the switch that controls the motor. Manual mode: (motor pump will be constantly On). Fundamentally, the unit is comprised of different sensors going about as a switch. This means we can use a threshold of our choice (based on the purity of water in an area) and the system would still work. Secondly, the controller is not programmable and handles the one task of turning off the motor. level indicator water diagram schematic breadboard circuit project circuits This meant that the Mk1 design is not suitable for use in certain parts of the world and we had to go back to a new design. I considered alternate methodologies for detecting water level, but they had practical issues and hence I had to go with the carbon probe with voltage detection. If the initial prototypes meet the end user needs, and if there is interest in this design, PCB fabrication could be done to make the final board look professional, To view or add a comment, sign in Once the design was validated with an Arduino board, the next step was to use a board with WiFi capability and send the water levels to a cloud hosted database. There is a total of 7 transistors and they will be sensing the water level. As a first step I built a prototype to validate this idea with an Arduino Nano. In such cases, the design has to be changed and alternate transmit/receive modules that provide wireless connectivity in 2.4Ghz band or the ISM band have to be used. This unit will display the Water Level in percentage, Pump status, tank Height and Sump tank status.. MAX_DISTANCE 500 // Maximum sensor distance is rated at 400-500cm. The HC-SR04 ultrasonic module is a module that can provide non-contact measurement within the range of 2cm to 400cm with ranging accuracy that can reach 3mm. The Node MCU board can also be stripped down further and could be powered by a battery, but we did not venture in that direction as power supply was available on the terrace. This would be too low for the digital pin to give a logic level HIGH and that explains the failure of the older design in Trivandrum. if Pump stopped and Sump tank empty then Pump will stopped. This video will illustrate the working principle of the Water Quality Monitoring and Notification System. This problem can be tackled in an electronic way. One of the major problems faced by most of the countries is the issue of water scarcity in the world. Right, so the usage of carbon based electrodes instead of the generally available steel electrodes was to avoid rusting. So, there is an overflow of water in the tank, which results wastage of energy and water. The water level monitoring system is a automatic process to detect and indicate the level of water in the reservoirs, overhead tank or any other storage containers, etc. #define TRIGGER_PIN 6 // Arduino pin tied to trigger pin on the ultrasonic sensor. In auto mode: ( auto motor on and auto off) . The Arduino Nano was programmed to light the green on-board LED when the D4 pin reads logic level HIGH (1) and show the red LED when the D4 pin reads logic level LOW (0). LEDs light up from Red to Yellow and then Green and finally Blue, thus making a sound. The prices listed are Exclusive of 18% GST. A current limiting resistor (R1 - 440 ohms) is connected in series with the output pin D7 and probe P1 to limit the total current to ~11 milli amps (or lower). Project tutorial by Pranav Kundaikar and Vinayak Shantaram Joshi. The Atmega 328p or similar micro controllers do not have built in WiFi, so, we decided to stick with the Node MCU and add a Multiplexer/Demultiplexer. NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE); float TankHeight, WaterLevelMAX, GapbwSonar, SonarReading, ActualReading, Temp; lcd.begin(20, 4); // set up the LCD's number of columns and rows: pinMode(MOTORPIN, OUTPUT);// Relay pin as output pin, digitalWrite(MOTORPIN, LOW); //Turn off the relay, pinMode(BUZZER, OUTPUT);// Buzzer pin as output pin, digitalWrite(BUZZER, LOW); //Turn off the Buzzer, WaterLevelMAX=0.9*TankHeight; // 10CM GAP BETWEEN MAX WATER LEVEL TO SONAR FIX. To resolve this type of problems by using implementation of water level monitors and control systems using wireless technology which will transmit the information to the smart phone and indicate the level of water in the overhead tanks. Save electricity and easy installation and 12 months warranty +package contains:1 water level controller unit, 6 pic sensors probes (For upper and down tank), 1 user manual with all technical details, It can use with suitable up to 2hp motor and suitable for single phase mcb starter panel, submersible motors and jet pumps, It can use with overhead tank and under ground tanks or overhead tank only, Dry run protection. After analyzing the circuit we came to know that five supply lines need to be taken out from the main circuit board to the sensor. The CD74HC4067 multiplexer has 4 data pins (S0, S1, S2, S3) that can be set to HIGH or LOW and the combination of the HIGH/LOW values determine the channel (C0 through C15) that is operational. This requires a person to check the water levels in the overhead tank and the sump at periodic intervals, turn on the motor when the water level drops down in the overhead tank and turn off the motor once the tank is filled. After the HC-SR04 is triggered, it sends out eight 40Khz sound waves to the surface of the water. This ADC can map the input voltage to an integer between 0 to 1023. The good thing is that, you get high resolution, plus no contact with water. I looked at a few products available on Amazon that detect water level and turn off the motor/pump (there are different variants that work with single phase motors and 3 phase motors). Another problem Ive observed is with the diaphragm getting water vapour settled on it causing accuracy problems. My colleague built a prototype with the Mk1 design and tested it at his home (in Trivandrum, Kerala). During testing, the digital input pins always read logic level LOW (0) even when the probes were immersed in water. I am Hamza. I am an Electrical Engineer who has a very innovative approach towards daily life stuff. I tend to make life easier by making circuits and designs to automate things around me. Level Monitoring and Control with dry Pump run protection using Ultrasonic Sensor and Android Applcation via bluetooth HC-05. This project monitors the water level and emails alerts. Awesome project. We need to put the circuit in a small box and make holes in it appropriately so that LEDs may come out of the box easily. In the tank, there is a set of sensors and they act like a switch. Once salt was added to water, the conductivity would go up (and resistance would down) and the voltage drop was not significant. In this configuration we can read water level in the tank at 5 levels by hanging probes P2, P4, P5, P6, P7 at different heights (ex: if probes are placed at 1, 2, 3, 4, 5 meter heights in a 5 meter heigh tank, and pins D2, D5, D6 read logic level 1 while D7, D8 read logic level 0, then we know that the tank is 60% full. LEDs will be monitoring the water level in the tank and the functionality of each LED is explained below : Presently, as the water ascends the sensors begin to get in contact with the water and the transistors are activated and there is a progression of current in the transistors making the LEDs light up. Most of these products use carbon/steel probes. Adding salt to the water resolved the problem. level water calculated dam measurement electronic wanted couple there LCD 20x4 line display. This was a bit puzzling at first and after ruling out possibilities like soldering issues etc he was able to get to the root cause of the issue. I decided to give this a shot and see if I can come up with a solution. When the water pump is started and the water level starts to rise, what actually happens is that every sensor gets activated one by one and finally, when the water level reaches the topmost sensor a buzzer is activated from the unit indicating that the tank is full and one needs to turn off the water pump hence, saving the electricity bill and as well as flow of water from the tank. We have successfully installed the device and it is indicating the water level in the tank. On getting to the surface of the water, the wave is echoed back to the sensor and the arduino reads the echo pin to determine time spent between triggering and receiving of the echo. Maximum sensor distance is rated at 400-500cm. There is a need to control the water wastage to save the environment and water resources. This is a low cost board that comes with WiFi networking. The arduino provides a high signal of 10microseconds to this pin. Kishor Gandham yup, 4m range is a limitation. Choose that place which is out of reach of children and from where you can easily turn ON and OFF the switch. As we are using 5 digital pins in input mode, this circuit requires 5 pull down resistors. Hey! The hole of the bare wire and bolt should be kept a minimum and in the event that you need, you can solder a little bit of wire to the common line just next to the nut and screw as the sensing would be more at the point when the water interacts with the normal wire and the bolt, there will be transfer of current from the stripped wire to the bolt and hence, the sensing part is complete. // put your main code here, to run repeatedly: Water Quality Monitoring and Notification System, Christmas Tree Water Level via Cayenne and MKR1000. percentage=(ActualReading/WaterLevelMAX*100); else if(percentage>20 && percentage<=100), if(percentage>20 && percentage<=100 && flag ==1), else if(percentage>20 && percentage<=100 && flag ==0), https://drive.google.com/file/d/11egiPu2fzW4Sn2ypX6yYpG9r5-iuY-TP/view?usp=sharing, https://drive.google.com/file/d/1_5t3tVkQNHQk60k0gRRFQR1lUCjvaC1z/view?usp=sharing. Water level detection (or liquid level detection) is not a new problem and there are a number of commercial off-the-shelf products available in the market. Yet another very useful utility for day to day life. Stick the buzzer behind the PCB board and also fix the power supply by taking care of the transformer. Valve to Reduce Steam Deck Supply Chain Issues, Intel Arc A770M Tested in 3DMark Time Spy, Performance Equal to the RTX 3070M, Apple Claims That Supply Issues Are Severely Hurting Mac Sales, AMDs Upcoming Zen 4 Based 7600X Tested, Crushes the i9-12900K, AMDs Rembrandt Based APU Tested, Features the Zen3+ Architecture. We possibly need to make two channels so when they are in contact with water they will go about as a switch, as water is a good conductor of electricity. Gap between Ultrasonic and Max water level adjusted in Arduino code. How To Detect Water Level In The Overhead Tank Installed On Roof? Since we know that the speed of sound is around 340m/s then we can calculate the distance using; To determine the level of the water in the tank we must know the total length of the tank. Get an alert via email when the water level reaches a critical threshold. #include // Include library used for measuring the distance using HC-SR 06 sonar sensor. WiFi connectivity would be an issue for certain homes and apartments. This could be done via a self hosted MQTT server or using a cloud service like AWS IoT core. Finally, we will install the device into the tank. Then cut the plastic board for the Power Switch. Water level monitoring system is one of the techniques to address the control of water wastage. And also to design a contactless water level indicator and controller using ultrasonic sensor with DRY PUMP RUN PROTECTION. However, the Node MCU board has one Analog pin and this would limit the number of input probes and the detected water levels to just one. It observes the level of water and provides the information to the registered users through wireless. However, this setup requires running electric wires from the controller located in the ground floor to the probes hanging in the water tank on the terrace. At this point, we had two options. Keep rocking. Water is pumped into the overhead tank from a ground level water sump using an electric motor. We decided to build a solution that does not require wires between the probes and the controller. I selected the CD74HC4067 16 channel multiplexer (for it's relatively low cost and the reasonably good switching speed). The next step would be to get a plastic enclosure to protect the board from rain when deployed on the terrace. This unit will display the Water Level in percentage, Pump status, tank Height and Sump tank status.. I tested this prototype with packaged drinking water and the results were as expected. The water in Trivandrum had less impurities and hence had a higher resistance. We can use a PVC pipe and make holes in it. When the P2 probe was dropped into the mug with water, the green LED lit up validating this design. Digital pin D1 is set to output mode while pins D2, D5, D6, D7, D8 are set to input mode. A more elegant solution that provides a programming interface would let the end user build different solutions of his/her choice. Lets move on to the designing part in which we will first design the circuit and then do the conversion from A/C 240V to the regulated 5V for operating the circuit. A decent and very cheap office entrance door alarm system to keep track of every person's entry or departure. Samsung Breaks Barriers Implements Notebook Level Water Cooling Solution in the, Maximum Content Processes To Be Increased From 4 To 8 in Firefox 66 To Solve, How to Automate Your Sprinkler Control to Detect Weather conditions Through. Four lines are of the sensors and one is for Common Positive Pin. To view or add a comment, sign in, Great write up Kishor, by the way great solve too.hope you can turn this to a commercial product, Awesome, man. We could go with a micro controller like Atmega 328p (used on the Arduino board) that has multi-channel ADC (and hence multiple Analog pins) or use a multiplexer/demultiplexer with the Node MCU board. PiBOX India, USB C to VGA Adapter, Aluminium Type C to VGA Adapter, (Compatible Thunderbolt 3), USB 3.1 Type C (USB-C) to VGA Adapter, Compatible with MacBook Pro/Chromebook Pixel/Samsung Galaxy, Its 2 to 5 business days gives in available to select pincodes/ control both tank underground tank to overhead tank fully automatically. It works very long life. But it is a slightly better than electrodes corroding under water. A single page application built with Google Charts helps users visualise the water level. Subsequently the Mk2 prototype was tested in Trivandrum and was able to detect water level without the need for mixing salt. My colleague had WiFi connectivity in his upper floor and the WiFi signal strength on the terrace was at acceptable levels. How To Detect Rainfall Using Rain Sensor? These probes are attached at different levels in the water tank and electricity is passed into one of them and voltage level is read from others (water conducts electricity and the probes in water will provide non-zero voltage reading). In this example configuration, electricity is passed into water through probe P1 and voltage is measured at probes P2, P3 and P4. Used advanced embedded technology, 7.29921259098 7.29921259098 5.09842519165 in. #define MAX_DISTANCE 500 // Maximum distance we want to ping for (in centimeters). When the water is stored in the tank, no one can identify the level of water and also, no one can know when the water tank will be filled. Sump Water level sensor, which are dipped in to the Sump Water Tank or Use non-contact sensor for Pump suction line, And Analog pin present on the Arduino Nano will be used to sense the presence of water. Interface for Serial Communication, 5pcs 3V~5V IIC I2C Logic Level Converter Module Bi-Directional Sensor Module for Arduino with Pins, 15 Ir Infrared Obstacle Avoidance Sensor, E18, D80Nk, PiBOX India Raspberry Pi 4 Heatsink, 3 Pieces Raspberry Pi Aluminum Heatsinks with Thermal Conductive Adhesive Tape for Raspberry Pi 4B Model B 3 Pieces, Embedded Kart TCS230 TCS3200 Color Recognition Sensor Detector Module for MCU Arduino. When you have a 'real' Christmas tree, it is important to keep it watered. This can further used if you wish to replace the water tank with a new one. tank water reed control switches automatic float pump controller overflow overhead level circuit motor switch admin december All the householders are storing the water in overhead tanks by using the motor pumps. The components used in this project are easily available in the market. level tank transmitter water pressure