✨ Use RCAPP and get 5% off 👇
Skip to content
Free Delivery on Orders Above Rs 999/- Pan-India
Cash on Delivery Available for Orders above Rs.500/- and Upto Rs 3000/-
SAVE more when you BUY more. Upto 30% Off on BULK PURCHASE
GST Invoices for Your Business
Dedicated Technical Support Team
Safely Delivering Genuine Products PAN INDIA

Guide to Simple Water Level Indicator Project

Guide to Simple Water Level Indicator Project
-
Written By - Robocraze -
📅 Updated on 08 Sep 2025
Summarize with AI
✅ Prompt copied

Summary

If you’ve ever dealt with a water tank, you know the frustration of not knowing how much water is left.

The unexpected overflow that wastes precious water or the inconvenience of a tank running dry are all too common.

But what if you could solve this with a simple, smart, and fun DIY project?

In this walkthrough, we'll cover the key components, provide a detailed step-by-step guide, and show you the code that brings it all to life.

Let's find out if the Arduino water level indicator is the perfect weekend project for your home.

Guide to Simple Water Level Indicator Project - Cover image

What is an Arduino Water Level Indicator?

It’s an electronic device that uses an Arduino microcontroller as its brain to read data from a water level sensor and display the results in an easy-to-understand way.

Instead of relying on complex analog circuits with multiple transistors, this version centralizes the logic into a single, programmable board.

Components and Supplies

Original Arduino Uno R3 microcontroller board with ATmega328P and USB port - Arduino Uno Board -RobocrazeOriginal Arduino Uno R3 microcontroller board with ATmega328P and USB port - Arduino Uno Board -Robocraze

    Arduino Uno R3 Original

    Arduino UNO R3 Original The Arduino Uno R3 is a microcontroller board based on the ATmega328P chip and is widely recognized as the best original Arduino Uno board for beginners and projects. This board has 14 digital I/O pins (6 support PWM), 6 analog...
    Rs 2,499/-
    Rs 2,499/-
    Rs 2,649/-
    Save Rs 150/-
    Turbidity Sensor - High-sensitivity turbidity sensor for water clarity detection. -Turbidity Sensor -RobocrazeTurbidity Sensor - High-sensitivity turbidity sensor for water clarity detection. -Turbidity Sensor -Robocraze

      Turbidity Sensor module- INDIA MAKE - RNDMFG (174)

      Turbidity Sensor Module Kit The Turbidity Sensor emits at its end an infrared light, imperceptible to human vision, capable of detecting particles that are suspended in water, measuring the light transmittance and the dispersion rate, which changes according to the Amount of TSS (Total...
      Rs 919/-
      Rs 919/-
      Rs 1,249/-
      Save Rs 330/-
      9V Small Piezo Buzzer – Compact 9V buzzer for DIY electronics & alerts. -Electronic Components - Robocraze9V Small Piezo Buzzer – Compact 9V buzzer for DIY electronics & alerts. -Electronic Components - Robocraze

        3.3V Small Piezo Buzzer

        3.3V Small Piezo Buzzer  This is a 3.3V buzzer - a piezoelectric audio signalling device. It can be easily used with 9v Battery or any other Microcontroller. The items Listed here are for Hobby Electronics /DIY activities. The product is really good quality at...
        Rs 14/-
        Rs 14/-
        Rs 24/-
        Save Rs 10/-
        1 Ohm Resistor (10PC) – Current-limiting precision resistors. -Basic Components -Robocraze1 Ohm Resistor (10PC) – Current-limiting precision resistors. -Basic Components -Robocraze

          1 Ohm Resistor - (Pack of 10)

          1 Ohm Resistor - (Pack of 10) The 1 ohm Carbon Film Resistors are typical axial-lead resistors, which have much better temperature stability and provide lower noise, and are generally better for high frequency or radiofrequency applications. A resistor is a passive two-terminal electrical component that implements...
          Rs 13/-
          Rs 13/-
          Rs 19/-
          Save Rs 6/-
          3mm Red LED (Pack of 10) – Bright & long-lasting LED for DIY circuits - Electronic Components - Robocraze3mm Red LED (Pack of 10) – Bright & long-lasting LED for DIY circuits - Electronic Components - Robocraze

          3mm Red Led (Pack of 10)

          3mm Red LED (Pack of 10) A Red light-emitting diode (LED) is a semiconductor light source. LED's are used as indicator lamps in many devices and are increasingly used for other lighting. It looks like a white led and illuminate's blue light. When a light-emitting...
          Rs 15/-
          Rs 15/-
          Rs 23/-
          Save Rs 8/-
          10mm Bright Green LED - 10pcs Pack10mm Bright Green LED - 10pcs Pack

            10mm Bright Green LED - 10pcs Pack

            10mm Bright Green LED - 10pcs Pack The 10mm Bright Green LED - 10pcs Pack includes super bright LEDs that shine with a wide beam. They are perfect for projects, lighting up models, headlamps, spotlights, car lighting, and more. These LEDs use low power...
            Rs 50/-
            Rs 50/-
            Rs 69/-
            Save Rs 19/-
            3mm DIP Diffused Blue LED (Pack of 10) – Long-lasting LED with diffused output - Electronic Components - Robocraze3mm DIP Diffused Blue LED (Pack of 10) – Long-lasting LED with diffused output - Electronic Components - Robocraze

              3mm DIP Diffused Blue Led (Pack of 10)

              3mm DIP Diffused Blue Led (Pack of 10) A  Blue light-emitting diode (LED) is a semiconductor light source. LEDs are used as indicator lamps in many devices and are increasingly used for another lighting. It looks like a blue led and it luminate blue...
              Rs 15/-
              Rs 15/-
              Rs 27/-
              Save Rs 12/-
              High Sensitivity Water Level Sensor – Water sensor for liquid detection in smart projects.-Water Sensor -RobocrazeHigh Sensitivity Water Level Sensor – Water sensor for liquid detection in smart projects.-Water Sensor -Robocraze

                High Sensitivity Water Level Sensor compatible with Arduino

                High Sensitivity Water Level Sensor compatible with Arduino Are you tired of inaccurate water level measurements in your Arduino projects? Say hello to the Water Level Depth Detection Sensor for Arduino – your ultimate solution for precise and reliable water level detection. With an...
                Rs 21/-
                Rs 21/-
                Rs 29/-
                Save Rs 8/-

                Step – by – Step Guide: 

                An Arduino Board (The Brain): An Arduino Uno is the perfect choice for this project. It has all the necessary input/output pins and is incredibly easy to work with, making it the reliable centerpiece of our build. 

                Water Level Sensor Module (The Senses): This is the key component that detects the water. It’s a specialized sensor with exposed conductive traces. As water rises and covers more of the traces, its electrical properties change, sending a clear signal back to the Arduino. 

                LEDs (The Visuals): We'll use 3 or 4 LEDs in different colors. A common setup is: 

                • Yellow LED for low level (e.g., 25%) 
                • Green LED for medium level (e.g., 50%) 
                • Blue LED for high level (e.g., 75%) 
                • You could also add a Red LED for the "full" alert. 

                Piezo Buzzer (The Alarm): To prevent overflows, a simple 9V Piezo Buzzer will act as our audible alarm. When the water reaches the highest point, the Arduino will make it beep, giving you a clear alert. 

                Resistors (The Protectors): You will need one 220Ω resistor for each LED you use. These small but crucial components protect your LEDs from receiving too much current from the Arduino, ensuring they don't burn out. 

                Step 1: The Wiring

                Circuit Diagram for Arduino Water Level Indicator

                First, we'll connect all our components on the breadboard

                1. Connect the Sensor: Connect the sensor's Signal pin to A0 on the Arduino, the '+' pin to 5V, and the '–' pin to GND. 
                2. Connect the LEDs: Wire each LED (through a 220Ω resistor) to a separate digital pin on the Arduino (e.g., pins 7, 8, and 9). Connect the other leg to GND. 
                3. Connect the Buzzer: Connect the buzzer's positive pin to another digital pin (e.g., pin 10) and its negative pin to GND. 

                Step 2: Upload the Code 

                Copy the following code into your Arduino IDE and upload it to your board. This code reads the sensor and controls the indicators based on the water level.

                
                const int sensorPin = A0; 
                const int yellowLedPin = 7; 
                const int greenLedPin = 8; 
                const int blueLedPin = 9; 
                const int buzzerPin = 10; 
                 
                void setup() { 
                  pinMode(yellowLedPin, OUTPUT); 
                  pinMode(greenLedPin, OUTPUT); 
                  pinMode(blueLedPin, OUTPUT); 
                  pinMode(buzzerPin, OUTPUT); 
                  Serial.begin(9600); 
                } 
                 
                void loop() { 
                  int sensorValue = analogRead(sensorPin); 
                  Serial.println(sensorValue); 
                 
                  // Reset all indicators 
                  digitalWrite(yellowLedPin, LOW); 
                  digitalWrite(greenLedPin, LOW); 
                  digitalWrite(blueLedPin, LOW); 
                  noTone(buzzerPin); 
                 
                  // Adjust these values after testing! 
                  if (sensorValue > 300) { digitalWrite(yellowLedPin, HIGH); } 
                  if (sensorValue > 450) { digitalWrite(greenLedPin, HIGH); } 
                  if (sensorValue > 600) { digitalWrite(blueLedPin, HIGH); } 
                  if (sensorValue > 750) { tone(buzzerPin, 1000); } 
                 
                  delay(500); 
                }
                

                Step 3: Test and Calibrate

                With the code running, dip the water sensor into a container of water and open the Arduino's Serial Monitor.

                Watch the sensorValue numbers change as you raise and lower the sensor. Note down the values for the different levels you want to mark.

                Finally, update the numbers in the if statements in the code to match your noted values. This calibrates your system perfectly.

                The performance of this Arduino water level indicator is both reliable and accurate, providing instant feedback as the water level changes. 

                 

                 

                Conclusion 

                So, what's the final verdict on the Arduino water level indicator? After walking through the build, I can confidently say that this is one of the best introductory projects for anyone interested in home automation or Arduino.

                It's practical, affordable, and incredibly satisfying to see it work.

                Excerpt

                Arduino water level indicator uses a water level sensor, LEDs in yellow, green, blue, and a piezo buzzer with 220Ω resistors to display levels and give overflow
                Prev Post
                Next Post

                Leave a comment

                Please note, comments need to be approved before they are published.

                Thanks for subscribing!

                This email has been registered!

                Shop the look

                Choose Options

                Edit Option
                Back In Stock Notification
                Compare
                Product SKU Description Collection Availability Product Type Other Details

                Choose Options

                this is just a warning
                Login
                Shopping Cart
                0 items
                FREE SHIPPING!
                ₹100 OFF
                ₹200 OFF
                ₹999
                ₹2500
                ₹4900
                WhatsApp Chat Chat