https://github.com/sandeepkumar-s-18/smart_wireless_water_meter_with_web_db
https://github.com/sandeepkumar-s-18/smart_wireless_water_meter_with_web_db
arduino-ide embedded-c esp32 thingspeak thingspeak-iot-cloud water-meter water-quality
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sandeepkumar-s-18/smart_wireless_water_meter_with_web_db
- Owner: Sandeepkumar-S-18
- Created: 2025-02-18T06:00:16.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-05-01T14:58:47.000Z (6 months ago)
- Last Synced: 2025-05-07T14:13:20.762Z (5 months ago)
- Topics: arduino-ide, embedded-c, esp32, thingspeak, thingspeak-iot-cloud, water-meter, water-quality
- Language: C++
- Homepage: https://thingspeak.mathworks.com/channels/2819273
- Size: 30.2 MB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐ฐ Smart Wireless Water Meter with Web Dashboard
A **Smart IoT-based Water Metering System** that enables real-time monitoring of water usage, ensures water quality, and supports automated pump control. Built using the **ESP32** and **Arduino UNO**, and integrated with the **[ThingSpeak IoT platform](https://thingspeak.mathworks.com/channels/2819273)**, this system enables remote access, live data visualization, and intelligent automation for water conservation.

---
## ๐ฏ Project Objectives
- Optimize water consumption through **smart metering**
- Monitor **flow rate**, **pH**, **TDS**, and **tank levels**
- Enable **automated water pump control**
- Provide **alerts and visualizations** via a web dashboard---
## ๐ฆ Features
- ๐ก **Wireless Monitoring** using ESP32 & Wi-Fi
- ๐ **ThingSpeak Dashboard** for real-time IoT analytics
- ๐ **Flow Rate Measurement** with flow sensor
- ๐ง **Water Quality Detection** via TDS & pH sensors
- ๐ **Automated Pump Control** with Relay Module
- ๐ฅ **LCD Display** for local data output
- ๐ **Reliable Dual MCU Setup** using ESP32 + Arduino UNO---
## ๐ ๏ธ Tech Stack
| Component | Description / Role |
|------------------------|----------------------------------------|
| **ESP32** | Main microcontroller with Wi-Fi |
| **Arduino UNO** | Secondary controller for sensor interfacing |
| **pH Sensor** | Measures water pH level |
| **pH Amplifier** | Amplifies pH sensor signal |
| **TDS Module** | Monitors total dissolved solids |
| **Flow Rate Sensor** | Measures water flow rate |
| **Relay Module** | Switches water pump on/off |
| **Water Pump** | Controls water supply |
| **LCD 16x2 Display** | Displays real-time readings locally |
| **Flyrobo** | Supplier of components |
| **Software** | Arduino IDE, Embedded C |
| **Cloud Platform** | ThingSpeak IoT Platform |---
## ๐งฐ Prerequisites
- ESP32 Development Board
- Arduino UNO
- Flow Sensor
- TDS Sensor
- pH Sensor with Amplifier
- Relay Module
- Water Pump
- LCD 16x2 Display
- Jumper Wires, Breadboard, Power Supply
- Arduino IDE + ThingSpeak Account---
## โ๏ธ Hardware Setup

1. Connect all sensors to Arduino UNO and ESP32 accordingly.
2. Ensure correct voltage levels and power supply.---
## ๐ป Firmware Installation
1. Install **Arduino IDE** and add board support for ESP32.
2. Install libraries
3. Upload the respective firmware to:
- ESP32: for Wi-Fi and ThingSpeak communication
- Arduino UNO: for reading and preprocessing sensor data
4. Configure:
- Wi-Fi credentials
- ThingSpeak channel & API keys---
## ๐ ThingSpeak Setup
1. Create a new **[ThingSpeak Channel](https://thingspeak.mathworks.com/)**
2. Add the following fields:
- TDS Level
- pH Level
3. Copy the Write API Key and use it in your ESP32 code.---
## ๐ System Workflow
1. The sensors gather real-time data via Arduino UNO and ESP32.
2. Data is sent to ESP32, which uploads it to ThingSpeak.
3. ThingSpeak displays data using dynamic graphs.
4. The Relay triggers the pump based on sensor thresholds.
5. The LCD displays key metrics locally for manual monitoring.---
## ๐ Repository Setup
1. Clone this repository:
```bash
git clone https://github.com/sandeepku-s/Smart_wireless_water_meter_with_Web_DB.git
```
2. Navigate to the project directory:
```bash
cd Smart_wireless_water_meter_with_Web_DB
```
3. Open the project in VS Code.---
## Software Requirement:
- [Arduino IDE](https://www.arduino.cc/)
> Arduino IDE used to upload programming in ESP32 Board with required library.
- [Thingspeak](https://thingspeak.com/)
> ThingSpeak is a cloud-based IoT analytics platform service that lets you collect, view, and examine real-time data streams. Data can be sent from your devices to ThingSpeak, enabling instantaneous live data display.---
## ๐ Results
### ๐ง Flow Rate
Real-time flow rate monitoring using FS400 sensor.
### ๐ซ TDS (Water Quality)
TDS module captures Total Dissolved Solids in water and sends values to ThingSpeak.
### ๐งช pH Level
The pH sensor with amplifier circuit helps determine the acidity or alkalinity of water.
### ๐ ThingSpeak Dashboard
Live analytics with charts for all monitored parameters.
### ๐งฑ Working Prototype
Physical setup of the smart water metering system using ESP32, Arduino UNO, and sensors.
---
## Under the Guidence:
- [Mrs. SWETHA S KULKARNI](https://www.linkedin.com/in/swetha-s-kulkarni-87280b101/)
- [Dr. DEEPTI RAJ]()## Team members:
- [HARSHAN S](https://www.linkedin.com/in/harshan-s/)
- [K SANTOSH](https://www.linkedin.com/in/k-santosh-102a73310/)
- [MANOJ KUMAR C S](https://www.linkedin.com/in/manoj-kumar-c-s-a981a0254/)
- [SANDEEPKUMAR S](https://www.linkedin.com/in/sandeepku-s/)---
## ๐ Folder Structure
Here is an overview of the project structure:
```bash
Smart_wireless_water_meter_with_Web_DB/
โ
โโโ Images/
โ โโโ ...
โ
โโโ Reports/
โ โโโ ...
โ
โโโ Paper/
โ โโโ ...
โ
โโโ Arduino_Code/
โโโ Esp32_Code/
โโโ README.md
```