Arduino Projects

Water level Monitoring With GSM


  • Water is a precious resource, and monitoring the water level in tanks is crucial for efficient utilization and conservation. In this article, we will explore how to build a water tank level monitoring system using Arduino, which allows you to remotely monitor the water level and take necessary actions to ensure a sufficient supply. By utilizing Arduino’s flexibility and various sensors, this system provides an effective and cost-efficient solution for monitoring water levels.
  • The Need for Water Tank Level Monitoring Water tanks is commonly used in residential, commercial, and industrial settings to store water for various purposes. However, without proper monitoring, it becomes challenging to determine the available water quantity accurately. This can lead to inefficient water usage, potential water shortages, and even damage to the pumping systems. A water tank level monitoring system addresses these concerns by providing real-time information about the water level, enabling users to make informed decisions.
  • Building an Arduino-Based Water Tank Level Monitoring System An Arduino-based water tank level monitoring system offers an affordable and versatile solution for monitoring water levels. The Arduino board serves as the brain of the system, interfacing with sensors to measure the water level and display the information on an LCD display. Let’s explore the components and steps involved in building such a system.

Components Needed

  1. Arduino board (e.g., Arduino Nano)
  2. GSM module (e.g., SIM900 or SIM900)
  3. Multiple Wire (e.g., Copper Wire)
  4. Power supply (e.g., battery or AC adapter)
  5. SIM card with an active mobile number

Arduino Nano

  • The Arduino Nano is powered by the ATmega328P microcontroller chip, which is the same microcontroller used in the Arduino Uno board. The ATmega328P operates at a clock speed of 16 MHz and has 32KB of flash memory, 2KB of SRAM, and 1KB of EEPROM.
Arduino Nano
Arduino Nano
  • The Nano is significantly smaller compared to other Arduino boards, measuring approximately 45mm x 18mm. It is designed in a compact DIP (Dual Inline Package) format, making it suitable for projects with space constraints or when a smaller form factor is required.
  • The Arduino Nano provides a total of 14 digital I/O pins, of which 6 can be used for PWM (Pulse Width Modulation) output. It also offers 8 analog input pins, each of which can provide a 10-bit resolution. These pins allow you to interface with various sensors, actuators, and other electronic components.
  • The Nano has a built-in USB interface for programming and serial communication with a computer. It uses a mini USB connector for connecting to a computer. Additionally, it features a dedicated ICSP (In-Circuit Serial Programming) header for advanced programming and debugging.

16×2 LCD Display

  • The 16×2 LCD display is rectangular in shape and typically measures around 80mm x 36mm. It usually consists of a backlit LCD screen, control circuitry, and a connection interface.
16x2 Lcd Display
16×2 Lcd Display
  • The display has two rows, with each row capable of displaying up to 16 characters. The characters can be letters (both uppercase and lowercase), numbers, punctuation marks, symbols, and special characters.
  • Many 16×2 LCD displays feature a built-in backlight, usually in the form of white or blue LEDs, to improve visibility in low-light conditions. The backlight can be controlled separately from the characters, allowing you to turn it on or off as needed.
  • The LCD display module often includes an integrated controller, such as the commonly used HD44780 controller. The controller simplifies the interface with external devices by handling the low-level operations of displaying characters, managing the cursor position, and interpreting commands.
  • The 16×2 LCD display can typically store and display custom-defined characters. These characters are created by defining a specific pattern of pixels and can be used to display icons, logos, or other specialized symbols beyond the standard character set.

GSM SIM900 Module

  • The SIM900 module operates on GSM networks, allowing devices to send and receive data, make voice calls, and send SMS messages. It supports various GSM frequencies and can be used globally, depending on the specific variant.

Screenshot 2023 06 11 at 12.55.36 AM


  • The SIM900 module usually comes in the form of a small PCB with pins for connecting to external devices. It requires a power supply (typically 5V) and uses UART (Universal Asynchronous Receiver-Transmitter) communication for interfacing with microcontrollers or other devices. It has TX (Transmit) and RX (Receive) pins for serial communication and additional pins for control and status monitoring.
  • The module includes a SIM card holder or connector for inserting a standard-sized SIM card. The SIM card provides the necessary identification and network credentials for the module to connect to the GSM network.
  • The SIM900 module communicates with external devices using AT (Attention) commands. These commands are sent via the UART interface and allow the device to control various features of the module, such as establishing network connections, sending SMS messages, making calls, and managing network settings. AT commands are ASCII-based instructions that follow a specific syntax defined by the module’s manufacturer.

Circuit Diagram

water level monitoring system

Source Code

Projects Demo

Screenshot 2023 06 11 at 1.18.57 AM

Screenshot 2023 06 11 at 1.17.55 AM

Screenshot 2023 06 11 at 1.17.32 AM

Screenshot 2023 06 11 at 1.17.18 AM

Video Tutorial



GSM Related More Projects


A water tank level monitoring system built using Arduino and appropriate sensors offers a cost-effective and reliable solution for efficient water management. By accurately monitoring water levels, users can optimize water usage, prevent wastage, and ensure a consistent water supply. Implementing such a system contributes to sustainable water resource management and helps address the global water scarcity challenge we face today.


Hi, Prateek Here I’m interested in Electronics That's why I Make Soo Many Projects, I’m currently Pursuing M Tech.. if you Relay Like To My Blog Plz Comment Below...Thanks To All Electronics Lover...❤️

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker