Real-Time Measurement and Analysis for Critical Parameters such as pH, Turbidity, Temperature, and TDS
Category: IoT, Embedded Systems, Water Quality Monitoring
Tools & Technologies: ESP32 Microcontroller, pH Sensor, TDS Sensor, Waterproof Temperature Sensor,
Turbidity Sensor, Liquid Crystal Display (LCD), Charging module, LED
indicator,
18650 Lithium-Ion Batteries, Boost Converter, Mobile Application (BLYNK), Fritzing for Circuit
Design, Arduino IDE for
Programming.
Status: Completed
This project addresses the critical need for portable, reliable, and cost-effective water quality monitoring solutions, particularly in regions with limited access to traditional testing facilities. By integrating multiple sensors into a compact handheld device, this innovation enables real-time assessment of key water quality parameters, including pH, turbidity, temperature, and total dissolved solids (TDS). Designed with user-friendly interfaces and IoT capabilities, the device bridges the gap between accessibility and advanced technology for improved public health outcomes.
Aim:
To develop a portable and user-friendly water quality monitoring
device capable of real-time assessment and accurate reporting of critical parameters.
Objectives:
The objectives of the project are outlined below:
Note: The "Data Handling with Custom Code" mentioned above refers to explicit code implementations created to handle data from their respective sensors. These are not prebuilt libraries but custom logic tailored for specific sensor functionality. In contrast, other components rely on dedicated libraries for their operations.
The following is the pinout diagram for the ESP32 Development Board. Refer to it while recreating or designing, along with the GPIO pins utilized in the project.
Pinout Diagram:GPIO Pin | Component | Description |
---|---|---|
GPIO 39 | pH Sensor | Reads pH values. |
GPIO 36 | Turbidity Sensor | Reads water clarity. |
GPIO 27 | Temperature Sensor | Measures water temperature. |
GPIO 34 | TDS Sensor | Measures total dissolved solids. |
GPIO 21 | LCD (SDA) | I2C communication for data display. |
GPIO 22 | LCD (SCL) | I2C clock signal for data display. |
GPIO 26 | WiFi LED Indicator | Shows the status of WiFi connectivity. |
This layout emphasizes the efficient and structured utilization of GPIO pins to ensure smooth functionality.
Components Used: ESP32 Microcontroller, pH Sensor, TDS Sensor, Waterproof Temperature Sensor, Turbidity Sensor, Liquid Crystal Display (LCD), 18650 Lithium-Ion Batteries, Boost Converter, Charging module, and LED indicators.
Functions of the Components Used
Hardware Assembly
All Components
pH, Turbidity, TDS, and Temperature Sensors with its 4.7k ohm resistor
Type C Charging Port, Boost Converter, and LCD (front & back)
I2C for LCD, Veroboard, and 18650 Battery Charging Module (front & back)
DIL Connector, Ribbon Cables, Jumper Cables (male to male), and 18650 Lithium
Batteries
Switch, LEDs and 220ohm Resistor, Heat Shrink, and Soldering Lead
LED Soldered
LCD Soldered
pH Sensor Soldering
Connected the Turbidity Sensor Cables
Connected DIL to Veroboard
ESP32 Mounted on the DIL that was connected on the veroboard
Charging Module with Battery Test
Power Supply Section
Everything Altogether Without Casing
Final Results
TDS Sensor Gradual Increment by Adding Salt - 0ppm, 77ppm, 176ppm, 188ppm ... until
967ppm
TDS Sensor Guage Result Displayed at 967ppm (for high concentration of
Salt)
Turbidity Sensor in Clean Water (processed in percentage)
Turbidity Sensor Gradual Increment Result (in percentage) as the Concentration of
Dirt Increases.
Temperature Sensor in Warm or Room Temperature Water
Temperature Sensor in Iced Water (Low Temperature)
Typical pH Scale
pH Sensor in Pure Water
pH Sensor in Soapy Water
The Gmail Notification for When the Device Gets Powered and Connected to the
Internet
The Message Body of the Email
Notification for When an Event Happens
BLYNK Web and Mobile Application Real-Time Integration
LCD Result Displayand Mobile Application Real-Time Integration
I sincerely appreciate you taking the time to explore my portfolio and learn about my work and expertise. It is my hope that these projects and insights have demonstrated my passion for innovation, my technical skills, and my dedication to delivering impactful solutions.
If you have any questions, require further information, or wish to discuss potential collaborations, I would be delighted to connect. Please feel free to reach out via the Contact section. Your feedback and inquiries are highly valued and will be addressed promptly.
Thank you once again for your interest in my work. I look forward to the opportunity to collaborate and contribute meaningfully to your projects or organization. Together, let us innovate and achieve excellence.
Best regards,
Damilare Lekan, Adekeye.