Free delivery on orders above Rs 900 | Single Delivery charges for Multiple Items


Your Cart is Empty

Back To Shop


Your Cart is Empty

Back To Shop

Water Level Indicator: Interfacing With Arduino – Connection and Code

The water level indicator with Arduino is a mini water management system. Here, you will get step by step guide of how to build this water level indicator.
By using this project you will get an exact idea about how much water you should use.

Water level indicator interfacing with Arduino

Nowadays, all over India, there is a water crisis. To solve this crisis, we need proper water management on the individual level and we need a water level indicator. By doing water management at the individual level we can save plenty of water and could get rid of the water crisis.

You may have a doubt here about how to do water management individually? Well, it’s simple. All we have to do is to use a little sensor in our water storage system i.e. water tank.

The sensor will give you an indication of the water level in your water tank. If you know the water level every time, you can easily turn your water pump ON/OFF as per the need.

In this tutorial, we are going to interface the water level sensor with the Arduino UNO and we are going to measure the water level of the water tank. If the water level will be low it will turn ON the pump, If the water level is high it will turn it OFF.

Why We Need Water Level Indicator?

This tutorial guides you on how to develop a water level control system. Many times we cannot guess the water level in the water tank from outside, hence we keep the water pump ON. This results in wastage of water. By using this project we can control the water level in the tank.

Also, we can analyze the water level in the tank by the indication with simple LEDs. This helps us to do the water management on our own. By using this tutorial we are not only controlling the water level but also monitoring it. So let’s get started.

Water Level Sensor

Screenshot 285 1

Let’s discuss, what is water level sensor, its hardware, working, and pin description in detail.

Hardware Outline Of The Water Level Sensor

Here, we are going to use a water level sensor to detect water levels. Basically, this sensor is a combination of the attached series of ten exposed copper traces. The copper traces are merged with each other in order to have one sense trace between two copper traces.

In short, there are alternate copper traces and sense traces. These traces form a bridge by water when dipped in the water. For power indication, there is an onboard power LED.

Working Of The Water Level Sensor

This sensor works on the principle of variable resistance. The sensor consists of a series of parallel exposed conductors. Together this series acts as a variable resistor, whose resistance varies according to the water level in the water tank.

As more water sensor is submerged in, the better is the conductivity and the lower is the resistance. The less the water sensor is submerged in, the poor is the conductivity and the higher is the resistance.

The output of the water level sensor is according to the resistance of the water produced. i.e. it will produce a voltage proportional with resistance.

Pin Description

S(signal pin) is an analog output that will be connected to the analog pin of the Arduino.

+VCC is powering pin of the sensor. The approved input voltage is 3.3v to 5v.

-GND is simply a ground connection.

How To Calibrate Water Level Sensor

To make sure the sensor provides accurate data you need to calibrate the sensor for the particular type of water you are going to use.

Before initiating the project or storing the data in the sensor, you should see what readings you are exactly getting from your sensor.

Make a note of the proper values of your sensor outputs when the sensor is completely dry, when it is partially submerged in the water and when it is completely submerged.

In this calibration, you need to do some trial and error. It will be difficult in starting to calibrate this sensor with accurate values. once you will get the accurate values you can handle the project very well. Now you are ready to start.

Final Words

We hope everyone got all information about the sensor and how to interface it with Arduino. If you found this tutorial helpful let me know in the comment section.

Nowadays, water management is very important for all of us, hope you will use this sensor in your water management systems and refer to this tutorial while doing your project.


Your Cart is Empty

Back To Shop

It will take just few seconds to claim 7% Discount, After Submitting check Email for Coupon code.