0% found this document useful (0 votes)
21 views9 pages

Newjournal

The document presents an IoT-based Smart Water Quality Monitoring System designed to enhance water security, particularly in rural areas, by providing real-time monitoring of water quality parameters like pH, temperature, and turbidity. The system utilizes ESP32 microcontrollers and cloud services to collect and analyze data, sending alerts via WhatsApp with GPS location when contamination levels exceed safety thresholds. This affordable and scalable solution promotes early intervention and clean water goals, making it suitable for various applications including agriculture and community water systems.

Uploaded by

parigawali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views9 pages

Newjournal

The document presents an IoT-based Smart Water Quality Monitoring System designed to enhance water security, particularly in rural areas, by providing real-time monitoring of water quality parameters like pH, temperature, and turbidity. The system utilizes ESP32 microcontrollers and cloud services to collect and analyze data, sending alerts via WhatsApp with GPS location when contamination levels exceed safety thresholds. This affordable and scalable solution promotes early intervention and clean water goals, making it suitable for various applications including agriculture and community water systems.

Uploaded by

parigawali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 9

IoT - Based Smart Water Quality Monitoring System

Pari Gawli Ankur Rohilla Berlin M A


School of Computer Science and School of Computer Science and School of Computer Science and
Engineering Engineering Engineering
Vellore institute of technology Vellore institute of technology Vellore institute of technology
Vellore, INDIA Vellore, INDIA Vellore, INDIA
[email protected] [email protected] [email protected]
n

Abstract - The proposed system resolves to improve water security, especially in rural and marginalized communities where traditional
methods pose manual constraints, while intelligently balancing corpus, modularity, and ease of use. It is based on an Internet of Things
system that incorporates cloud services with ESP32 microcontrollers, which gather data from water sensors through wireless connections,
process it, and make the information publicly available on a web dashboard. The system is programmed to prompt users and associated
authorities in real-time on WhatsApp, with GPS location attached, whenever any monitored parameter goes beyond established safety limits.

1 Introduction

Water quality is crucial since it is essential for business, agriculture, and the environment as well as for human health.
Conventional testing techniques are precise, but they take a lot of time and are not suitable for usage in places far from labs.

This suggested system presents a real-time, intelligent IoT-based water quality monitoring system.It continuously monitors
variables including pH, temperature, and turbidity using inexpensive sensors and wireless modules. Through a web-based
interface, the data is broadcast to the cloud (ThingSpeak) for visualization and analysis. Its most important feature is its real-
time warning system, which uses GPS location WhatsApp messaging to notify users and authorities when dangerous amounts
are detected. This prevents health and environmental hazards and allows for prompt response. The system offers an affordable
and scalable way to ensure water safety since it incorporates IoT, cloud computing, and real-time notifications. Second, the
system is very versatile due to its modularity, which makes it easy to add more sensors and notification channels like email or
SMS.

Particularly in countries like India, industrial waste, agricultural runoff, and urbanization water pollution present serious
health and environmental risks. The concept proposes a low-cost, Internet of Things-based system that continuously monitors
the temperature, turbidity, and pH of the water and uploads real-time data to the cloud for study. It instantly notifies users and
authorities via GPS location-based WhatsApp alerts when the level of contamination surpasses safety thresholds, enabling
prompt action.The approach, which is deployable and inexpensive, is perfect for underprivileged and rural areas, promoting
early intervention and advancing clean water goals.The system uses open-source platforms and inexpensive hardware,
allowing for cost-effective deployment without sacrificing functionality.

It is a long-term sustainable solution because of its versatility, which also allows for future upgrades like additional sensors
or machine learning for predictive analysis. This project creates a real-time, Internet of Things-based Smart Water Quality
Monitoring System that uses sensors coupled to a microcontroller (such as an Arduino or NodeMCU) to measure important
factors like temperature, turbidity, and pH.

For real-time monitoring, the data is wirelessly transmitted to cloud platforms like ThingSpeak and shown on a web
dashboard. The system notifies users and authorities via real-time WhatsApp messages with GPS location if contamination
levels surpass safe thresholds so that prompt action can be taken. It can be used in homes, businesses, agricultural, and rural
areas and is modular, expandable, and reasonably priced.

2 Related Work

By integrating IoT technology, water quality monitoring has advanced significantly, addressing most of the shortcomings of
conventional water testing techniques. A thorough analysis of the literature revealed that IoT-based systems are
revolutionising the field of water quality assessment by guaranteeing real-time monitoring and pointing out areas that still
require the development of predictive analytics.
The MDPI study IoT-Based Water Monitoring Systems: A Systematic Review [1] provided insight into how sensor data
models may accurately assess water quality in real time. However, it brought to light a serious flaw: the system cannot
predict contamination patterns in the absence of predictive analysis.
The necessity for more data processing mechanisms that enable trend analysis and early warning systems was highlighted
by their findings. The use of IoT sensors to monitor water quality indicators was also examined in the IJRAR Literature
Survey on Water Quality Monitoring Using IoT (2022), although it was pointed out that predictive capacities are limited by
the absence of machine learning. Two important aspects of preserving system accuracy that were discussed in the study were
sensor calibration and data dependability.

The SSRG study Integrating IoT and Water Quality: A Bibliometric Analysis (2024) expanded on these findings by
offering an analytical synopsis of the use of IoT in water monitoring. It enumerated glaring inadequacies, including the
failure to use AI and machine learning to forecast monitoring. The study emphasised the need to use sophisticated algorithms
to improve contamination predictions and anomaly identification even more. However, the IJCRT Review on IoT-Based
Water Quality Management System (2022) pointed out the absence of automated contamination warnings while emphasising
environmental sustainability through real-time monitoring. It suggested enhancing threshold-based systems to enable
immediate alerts when the quality of the water deteriorates.

The MDPI study on IoT-Based Smart Water Quality Monitoring in 2021 covered topics including data security, energy
efficiency, and wireless communications in IoT-based water systems, but it was more comprehensive. To ensure data
integrity, researchers called for low-power sensors, blockchain-based solutions, and improved encryption techniques. In a
similar vein, the IEEE Xplore article IoT Innovations in Sustainable Water and Wastewater Management (2023) explored the
necessity of real-time integration for mobile devices and suggested cloud computing and mobile-based interfaces as ways to
improve accessibility and decision-making.

Its use with IoT was further explored in JETIR's Water Quality Monitoring Using IoT and AI (2024), which included
minimal predictive modelling but only touched on the topic of improving real-time estimations. According to the study,
using hybrid AI models can improve prediction accuracy. IoT approaches to water level and quality monitoring were also
established by IJERT's A Review on Water Level & Quality Monitoring System (2019), although it was indicated that there
are currently no real-time data visualisation tools available. The study underlined the necessity of simple dashboards to
improve data interpretability.
By comparing power and bandwidth limits, MDPI's Resource Allocation Optimisation in IoT Water Monitoring (2023)
touched on system performance and pushed for edge computing solutions that may lower bandwidth consumption and
improve system performance overall. Finally, Springer's An Efficient IoT-Based Smart Water Quality Monitoring System
(2023) lacks real-time processing and forecasting skills but has improved monitoring capabilities. It suggested using AI
automation to increase monitoring accuracy and decision-making speed.

Together and separately, these studies show how blockchain, artificial intelligence, and the Internet of Things (IoT) are
paving the way for more intelligent and responsive water quality monitoring. These new developments, which focus on real-
time communications, predictive functionality, data security, and operational efficiency, offer hope for transforming water
resource management and paving the way for a safer, more sustainable world.

3 Proposed System

Water pollution is a major concern for environmental preservation and public health. Manual sampling is often used in
traditional water quality monitoring methods, which is time-consuming and prone to human error. The goal of the IoT-Based
Smart Water Quality Monitoring and Alert System is to offer a more effective and precise way to monitor water quality
parameters in real time. This system uses cloud computing, Internet of Things (IoT) technologies, and automatic
notifications to keep an eye on critical water parameters like temperature, turbidity, and pH. It is used in agriculture, water
supplies, and the environment.

3.1 System Components


Three main parts make up the suggested smart water quality monitoring system: Water Quality Monitoring Module: Using
cutting-edge sensors, this module continuously checks water quality factors like temperature, turbidity, and pH. In order to
identify areas of contamination, the GPS location module tracks the monitoring system's geographic location. The alarm and
response system automatically notifies users or authorities when the water quality falls below preset thresholds.
3.2 System Approach
In order to provide real-time monitoring and warning for improved water safety control, the smart monitoring system makes
use of Internet of Things technologies. Its key characteristics are:

Multi-Sensor Integration: To provide a comprehensive picture of water quality, there are temperature, turbidity, and pH
sensors.

Cloud-Based Monitoring: Using web-based dashboards and mobile applications, users can view historical plots and real-
time values after the sensor data is sent to ThingSpeak. Automated warnings: When the water quality surpasses acceptable
limits, it sends both email and WhatsApp warnings. Geographic Mapping: To pinpoint specific sources and areas of
pollution that need to be treated, GPS coordinates and sensor data are recorded.
Real-Time Data Visualisation: Web and mobile dashboards provide real-time data so that decisions may be made instantly.

Fig. 1. A figure depicting architecture

3.3 Water Quality Monitoring Module


It is in charge of precisely monitoring water quality parameters and issuing warnings in advance of possible contamination.

Function Overview. Advanced Sensors: Measures the important water quality parameters using temperature sensors
(DS18B20 or LM35), turbidity sensors (SEN0189), and pH sensors (Gravity Analogue pH Sensor v2).
Real-Time Data Processing: The ESP32 microcontroller provides precise and prompt outputs by processing sensor data in
real-time.
Threshold-Based Alerts: When values drop below one of the pre-established safe thresholds, the system notifies the user.
Data Logging: All sensor data is recorded in ThingSpeak for future analysis of trends, water quality, and system
performance. Key Features:
Multi-Platform Alerts: Send out real-time notifications via email, WhatsApp, and smartphone apps.
Cloud storage and analytics include system diagnostic analysis, data logging for later review, and maintenance.
User-friendly Interface: Offers dashboarding on the web and mobile devices for remote control and real-time monitoring.

Fig. 2. A figure depicting the workflow and architecture of the system

3.4 GPS Location Module


This module enables the system to track each monitoring station's exact location, making it easier to identify the real
contamination locations.

Functional Description. GPS Module (NEO-6M): The water quality monitoring station's geographical location is
continuously tracked
Location Logging: allows users to monitor water quality at various sites by sending sensor and GPS data to the cloud and
storing it there.
Geographical Mapping: To find possible contamination sites, GPS coordinates can be plotted on dashboard maps.
Major Features:
Real-Time Location Monitoring: Monitors GPS coordinates along with water quality data for proper monitoring.
Location-Based Alerts: provides GPS locations and warnings, enabling officials to react to pollution issues right away.

Fig. 3. A figure modelling the static structure of the system

3.5 Alert and Response System


It guarantees that, in the event that the quality of the water deteriorates, appropriate action is performed promptly.

Major Functionalities. Threshold Alerts: Notifies users when temperature, turbidity, or pH levels exceed predetermined
thresholds.
Automated Notifications: Notifies consumers and authorities via mobile apps, email, and WhatsApp so they can take prompt
action.
Cloud Integration: Data is automatically sent to ThingSpeak via the system, enabling remote monitoring and immediate
access to data.

Fig. 4. figure illustrating the flow of data within the system

3.6 Real-Time Monitoring & Cloud Integration


One of the key components of this system is cloud-based infrastructure, which allows for intelligent data processing and
constant online operations.
Cloud-Based Features. Continuous Data Logging: allows users to access historical data for reporting and analysis by
storing sensor data in the cloud.
Real-Time Monitoring: Dashboards on the web and mobile devices provide users with access to real-time water quality data.
.
Automated Reports & alerts: It provides insightful information about trends in water quality by sending out periodic reports
and real-time notifications.
Predictive analytics: Using previous data, machine learning may be used in future research to forecast possible
contamination incidents.

4 Experimental Results And Discussion

The system is managed by the ESP8266, which also collects data from water quality sensors and sends out notifications when
certain metrics surpass preset limits.

Fig. 5. Bread board image

Water pollution is detected by the temperature, turbidity, and pH sensors, and real-time data visualisation is offered via the
ThingSpeak platform. When contamination levels surpass acceptable limits, the system further sends location-based
WhatsApp notifications.
Fig. 6. Turbidity graph on thingspeak showing real time values

Fig. 7. Temperature graph on thingspeak showing real time values

The ESP8266 is used by the Internet of Things-based Smart Water Quality Monitoring System to track water characteristics
such as temperature, turbidity, and pH. When dangerous contamination levels are found, notifications are sent via WhatsApp
messaging and the ThingSpeak platform. To ensure water safety, users can track data in real-time, receive notifications, and
remotely monitor the system.
.

Fig. 8. pH graph on thingspeak showing real time values

When contamination levels rise above acceptable bounds, the IoT-based Smart Water Quality Monitoring System instantly
sends a WhatsApp message to the user's smartphone. Even when consumers are not physically present at the location, these
alerts allow them to respond right away.
Fig. 9. Water quality monitoring system showing real time values

Fig. 9. Water quality index graph with real time values and date and time

For environmental safety, the system displays sensor data while monitoring temperature, turbidity, and pH levels. With
controls for turning the system on and off, the app displays real-time data on water quality.

Table 1. WhatsApp Alert System and Action


Parameter Threshold Level System Response WhatsApp Alert Content
pH <6.5 or >8.5 Trigger WhatsApp alert Acidic/Alkaline, GPS Location, Timestamp

Turbidity >5 NTU Trigger WhatsApp alert Turbid Water, GPS Location, Timestamp

Temperature <0°C or >35°C Trigger WhatsApp alert Extreme Temp, GPS Location, Timestamp

This table highlights the WhatsApp alert system's functionality, which sends real-time alerts when water quality parameters
exceed safe levels, accompanied by GPS location and timestamp for precise reporting.
Table 2. System Responses to Threshold Breaches
pH Level Turbidity Level Temperature Notification SMS Alert
Level

Safe Safe Safe No Alert No

Acidic/Alkaline Safe Safe Low Alert No


Safe Turbid Safe Moderate Alert No

Safe Safe Extreme Temp High Alert Yes

Acidic/Alkaline Turbid Extreme Temp Critical Alert Yes

This table combines the system's responses to breaches in pH, turbidity, and temperature thresholds. When multiple thresholds
are breached simultaneously, a combined SMS alert is sent with critical information about the water contamination and safety
measures.

Fig. 10. Real time alert message on whatsapp

Table 3. Water Quality Parameter Thresholds


Parameter Safe Contamination System Action Alert Content
Range Threshold
pH 6.5 – <6.5 or >8.5 Trigger WhatsApp Acidic/Alkaline, GPS Location, Timestamp
8.5 alert
Turbidity 0 – 5 >5 NTU Trigger WhatsApp Turbid Water, GPS Location, Timestamp
NTU alert
Temperatur 0°C – <0°C or >35°C Trigger WhatsApp Extreme Temp, GPS Location, Timestamp
e 35°C alert

This table defines the contamination thresholds for water quality parameters. If any parameter falls outside the safe range, the
system triggers a WhatsApp alert with the type of contamination, location, and timestamp
5 Conclusion

This project effectively illustrates how to use inexpensive hardware and cloud platforms to create an Internet of Things-
enabled smart water quality monitoring system that provides real-time monitoring and immediate alarms. An ESP8266
microcontroller is integrated with a pH, turbidity, and temperature sensor to continuously collect water quality data, which
is then uploaded to ThingSpeak for real-time analysis. The device's real-time WhatsApp-based alert system, which notifies
the owner and relevant authorities anytime any parameter surpasses its safety limit, is one of its most noteworthy features.
The contextually appropriate alert mechanism is improved by GPS-based location monitoring, making it easier to identify
the point source of contamination and take prompt action. This system offers a proactive, scalable, and remotely accessible
solution for managing water quality, in contrast to traditional methods that are labour-intensive, time-consuming, and
reactive in nature. It is appropriate for home, agricultural, industrial, and community water systems because it eliminates the
need for manual data gathering, provides real-time feedback, and improves responsiveness to contamination issues. All
things considered, the project is successful in achieving its objectives of real-time monitoring, effective alerting, and user-
friendly data visualisation. It is also affordable and simple to execute, making it a useful model for next water safety
projects

6 References

1. Al-Fuqaha, A., Guizani, M., Mohammadi, M., Aledhari, M., & Ayyash, M. (2015).
Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications. IEEE Communications
Surveys & Tutorials, pp.2347 - 2376.
2. P. K. Sharma, S. Y. Moon, and J. H. Park. (2017). IoT-based smart water quality monitoring system. Journal
of Ambient Intelligence and Humanized Computing, Springer, vol. 8, no. 4, pp. 1305–1312.
3. MathWorks. ThingSpeak IoT Platform. [Online]. Available: https://thingspeak.com/
4. K. Patel and A. Shah. (2020). IoT based real time water quality monitoring system. In Proceedings of the
International Conference on Intelligent Computing and Control Systems (ICICCS), pp. 1513–1518.
5. S. R. Mule and S. Babar. (2021). Water Quality Monitoring System Using IoT and Cloud Computing. Journal
of Emerging Technologies and Innovative Research (JETIR), vol. 8, issue 5, pp. c356–c360.
6. Twilio Inc. (2024). WhatsApp Business API Overview. [Online]. Available:
https://www.twilio.com/whatsapp
7. Neo-6M GPS Module Datasheet. [Online]. Available:
https://www.ublox.com/en/product/neo-6-series
8. Arduino Project Hub. IoT Based Water Monitoring Using ESP8266. [Online]. Available:
https://create.arduino.cc/projecthub

You might also like