Water Level Indicator

The Water Level Indicator employs a simple mechanism to detect and indicate the water level in an overhead tank or any other water container. The sensing is done by using a set of nine probes which are placed at nine different levels on the tank walls (with probe 9 to probe 1 placed in increasing order of height, common probe (i.e. a supply carrying probe) is placed at the base of the tank). The level 8 represents the “tank full” condition while level 0 represents the “tank empty” condition.

Do you know – How Water Level Controller Circuit Works using 8051 Microcontroller?

When the water-level is below the minimum detectable level (MDL), the seven segment display is arranged to show the digit 0, indicating that the tank is empty, when the water reaches level1 (but is below level2) the connection between the probes gets completed (through the conducting medium – water) and the base voltage of transistor increases. This causes the base-emitter junction of transistor to get forward biased, this switches transistor from cut-off to conduction mode thus PIN (B7) of microcontroller is pulled to ground hence, the corresponding digit displayed by the seven segment display is 1. The similar mechanism applies to the detection of all the other levels. When the tank is full, all input pins of microcontroller become low. This causes the display to show 8 and also in this case a buzzer sound is given, thereby indicating a “tank full” condition.

Most water level indicators are equipped to indicate and detect only a single level. The Water Level Indicator implemented here can indicate up to nine such levels and the microcontroller displays the level number on a seven segment display. So, the circuit not only capable of cautioning a person that the water tank has been filled up to certain level, but also indicates that the water level has fallen below the minimum detectable level. This circuit is important in appliances such as the water cooler where there is a danger of motor-burnout when there is no water in the radiator used up also it can be used in fuel level indication.

Also Read the post: Water Level Alarm Using 555 Timer

In this project we show the water level indicator using eight transistors which conducts as level rises, a buzzer is also added which will automatically start as the water level becomes full, auto buzzer start with the help of microcontroller. With the help of this project we not only show the level of water on seven segment display but also indicate the water full condition using a buzzer.

Water Level Indicator Project Circuit Features:

  • Easy installation.
  • Low maintenance.
  • Compact elegant design.
  • The Automatic water level controller ensures no overflows or dry running of pump there by saves electricity and water.
  • Avoid seepage of roofs and walls due to overflowing tanks.
  • Fully automatic, saves man power.
  • Consume very little energy, ideal for continuous operation.
  • Automatic water level controller provides you the flexibility to decide for yourself the water levels for operations of pump set.
  • Shows clear indication of water levels in the overhead tank.

Water Level Indicator Project Block Diagram:

Block Diagram of Water Level Indicator

Water Level Indicator – Block Diagram

Water Level Indicator Circuit Diagram:

Water Level Indicator Circuit Diagram

Water Level Indicator Circuit Diagram

How to Design Water Level Indicator Project using AVR Microcontroller?

  • A constant 5v power supply is given to the microcontroller and rest of the circuit from a battery.
  • The tank has 9 conductive type sensors (other types of sensors have been mentioned earlier but in our project only conductive type are used) embedded into it and 8 wires of sensors out of 9 are connected to transistors and the 9th is connected to 5v+ supply.
  • The use of transistor is it acts as inverter (i.e. in on state gives low voltage at output and in non conducting state gives high voltage at its output), all transistors outputs are connected to PORTB of microcontroller.
  • Seven segment display is connected to PORTD. It is connected in common cathode fashion.
    The Output for the 7th level is not only shown on seven segment display but also indicated with a discontinuous buzzer sound.
  • Output for the 8th level (i.e. tank full condition) is not only shown in seven segment display but also indicated with a continuous buzzer sound.

How Water Level Indicator Project Circuit Works?

The operation of this project is very simple and can be understood easily. In our project “water level indicator” there are 3 main conditions:

  1. There is no water available in the source tank.
  2. Intermediate level i.e. either of 3rd to 7th level.
  3. There is ample amount of water available in the source tank.

So let us discuss more about these 3 conditions

CONDITION 1: Water not available

When the tank is empty there is no conductive path between any of the 8 indicating probes and the common probe (which is connected to 5v+ supply) so the transistor base emitter region will not have sufficient biasing voltage hence it remains in cut off region and the output across its collector will be Vc approximately 4.2v. As in this case the microcontroller is used in the active low region (which means it considers 0-2 volts for HIGH and 3-5 volts for LOW) now the output of transistor which is 4.2v approximately will be considered as LOW by the microcontroller and hence the default value given by microcontroller to the seven segment display is 0 which indicates as the tank is empty.

CONDITION 2: Intermediate levels

Now as the water starts filling in the tank a conductive path is established between the sensing probes and the common probe and the corresponding transistors get sufficient biasing at their base, they starts conducting and now the outputs will be Vce (i.e. 1.2v-1.8v) approximately which is given to microcontroller. Here the microcontroller is programmed as a priority encoder which detects the highest priority input and displays corresponding water level in the seven segment display. In this project while the water level reaches the 7th level i.e. last but one level along with display in seven segment a discontinuous buzzer is activated which warns user that tank is going to be full soon.

CONDITION 3: Water full

When the tank becomes full, the top level probe gets the conductive path through water and the corresponding transistor gets into conduction whose output given to microcontroller with this input microcontroller not only displays the level in seven segment display but also activates the continuous buzzer by which user can understand that tank is full and can switch off the motor and save water.

Water Level Indicator Project Working Flow Chart:

Water Level Indicator Flow Chart

Figure 4.2.1 Flow chart

Flow chart gives the clear and easy understanding of the project. The process goes on as follows:
The microcontroller checks for tank full condition, if the condition is satisfied it indicates the same on display unit and also sounds a buzzer if the condition fails it checks again and this process continues and the corresponding level is indicated in the display unit.

Do you know - How to Interface Seven Segment Display to 8051 Microcontroller?

Water Level Indicator Project Applications:

  • Automatic Water level Controller can be used in Hotels, Factories, Homes Apartments, Commercial Complexes, Drainage, etc., It can be fixed for single phase motor, Single Phase Submersibles, Three Phase motors. (For 3Æ and Single Phase Submersible Starter is necessary) and open well, Bore well and Sump. We can control two motor and two sumps and two overhead tanks by single unit.
  • Automatic water level controller will automatically START the pump set as soon as the water level falls below the predetermined level (usually 1/2 tank) and shall SWITCH OFF the pump set as soon as tank is full.
  • Fuel level indicator in vehicles.
  • Liquid level indicator in the huge containers in the companies.

Note 1:

If you are interested to get code, kindly take some time and answer following questions in the comment section, so that we will send you the code.

  • Why you need this project code?
  • Are you trying to make the same project or different one?
  • Give us more details about your project.

Note 2: Here, we are showing some of the videos on Water Level Indicator Project which are collected from various Youtube channels. Get latest electronics projects updates by visiting this site regularly.

How to Make Water Level Indicator – Video 1:

 Resource Link: http://www.youtube.com/watch?v=Zftovgq-6m4 (Prepared by srinivas srini)

Simple Water Level Indicator Using Transistors – Video 2:

Resource Link: http://www.youtube.com/watch?v=2eEidOOtD9w (Prepared by Navneet Kumar)

Demonstration of Water Level Indicator Project – Video 3:

Resource Link: http://www.youtube.com/watch?v=aNLMOmwCPzs (Prepared by Dipendra Dev Raikut)

Water Level Indicator (from Sunday Projects) – Video 4:

Resource Link: http://www.youtube.com/watch?v=VQMPquWrGC0 (Prepared by Junaid Sully)

Water Level Indicator Using 2n2222 – Video 5:

Resource Link: http://www.youtube.com/watch?v=tPWCKa4Ykh0 (Prepared by Jibran Shahid)

Simple Water Level Indicator – Video 6:

Resource Link: http://www.youtube.com/watch?v=cVmqFOWDBUg (Prepared by TheKash40)

Simple Water Level Circuit – Video 7:

 Resource Link: http://www.youtube.com/watch?v=DowptWbjiN4(Prepared by Bulliondon)

Water Level Indicator – Video 8:

 Resource Link: http://www.youtube.com/watch?v=2qXq0WjqL6g (Prepared by Prathamesh Dingankar)

Simple Water Level Indicator – Video 9:

 Resource Link: http://www.youtube.com/watch?v=Ps3wClVK-Ds (Prepared by Popescu Marian)

Tank Water Level Indicator – Video 10:

 Resource Link: http://www.youtube.com/watch?v=47cUyoIVQTQ (Prepared by Lou Lucano)



  1. Hadi Mortada says:

    hello i wonder if i can get the source Code for this project..

  2. JC Cansancio says:

    hello Good day ! .. what kind of microcontroller is being used here ? specifications ? thanks

Speak Your Mind