Water quality and quantity measuring system with prepaid billing
Due to the increase in water pollution and climate variations, the water should be used smartly. In addition to this, the quality of water must be checked before drinking. In this project, an online android app-based system has been designed to check water quality (pH and turbidity). Beside it, a pr
2025-06-28 16:36:44 - Adil Khan
Water quality and quantity measuring system with prepaid billing
Project Area of Specialization Electrical/Electronic EngineeringProject SummaryDue to the increase in water pollution and climate variations, the water should be used smartly. In addition to this, the quality of water must be checked before drinking. In this project, an online android app-based system has been designed to check water quality (pH and turbidity). Beside it, a prepaid water billing system has been introduced for smart water use. The control methodology designed in a way that the controller regularly detects the water level and quality (pH and turbidity) in the tank, and notify the user about the states on the mobile app.
Project ObjectivesThe scope basically involves the implementation of our knowledge encompassing microcontrollers based electronic and sensor circuits to design and develop a “Water Quality and Quantity Measuring System with Prepaid Billing” capable of operating effectively.
The main objectives of this project are the following:
- To make sure that water is distributed and charged according to its consumption.
- The distribution is charged in real-time with the prepaid billing system.
- The quality of water is monitored regularly in real-time.
- The IoT is utilized to monitor water quality and to make water bill payments in real-time.
- The android based mobile app is also designed to monitor all the activities in real-time.
In this project, the controller acquires all the data from sensors (water level, pH level, and turbidity level). Then all the data is transferred to the user (android app) through the internet. The block diagram of the project is shown in the Figure below.

The user regularly checks the level of the available water in the tank and decides whether he want to purchase the water or not. If the user wants to purchase the water, then he entered the passcode (according to the amount of the water) to buy the water. Then this passcode sends back to the controller, and the controller confirms that the passcode is valid or not. If the passcode matches the code already feed to the controller, then the controller calculated the solenoid valve opening time. After calculation, the valve is opened for a fixed amount of time, as calculated by the controller. The flow sensor calculated the amount of water and close the solenoid valve accordingly. In addition to this, the controller regularly checks the water quality and informs the user through the android app. The main controller design is also illustrated in Figure below.

Following are the advantages and usage of our proposed projects:
- In the current situation, it can be effectively installed at homes to monitor the consumption of water.
- It can be utilized for pre-paid water usage billing.
- This project ensures a clean/healthy water supply at homes that can reduce health issues related to drinking water.
- It can be employed in hospitals for monitoring of water quality and other parameters.
- It can be deployed at a commercial level to monitor water wastage, e.g., carwash centers.
In this work, a real-time prepaid water billing system will be introduced for smart water use. The android based app will be developed to purchase the water online and to monitor the water quality and quality in the tank. The controller will be designed in a way that it regularly checks water level and quality, and inform the consumer on the android mobile app. If the user wants to purchase water, he/she can enter a passcode and the controller verifies the passcode and calculates the valve opening time. The controller automatically turned off the solenoid valve after taking feedback from the flow sensor. This smart water quality and quantity measuring system will be implemented for domestic and industrial users for safe and healthy water.
Final Deliverable of the Project HW/SW integrated systemCore Industry HealthOther Industries Agriculture Core Technology Internet of Things (IoT)Other TechnologiesSustainable Development Goals Good Health and Well-Being for People, Clean Water and SanitationRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 70950 | |||
| Arduino controller 2560 | Equipment | 2 | 1500 | 3000 |
| Raspberry pi (EBRP-B-14) | Equipment | 1 | 13500 | 13500 |
| Wifi Module | Equipment | 3 | 500 | 1500 |
| Hall-effect water flow sensor | Equipment | 3 | 1500 | 4500 |
| Solenoid valve for water stoppage | Equipment | 2 | 2000 | 4000 |
| LCD | Equipment | 3 | 750 | 2250 |
| Water Level sensor | Equipment | 4 | 450 | 1800 |
| Ph Sesnor | Equipment | 2 | 5100 | 10200 |
| Turbidity sensor | Equipment | 4 | 1300 | 5200 |
| miscellaneous | Miscellaneous | 1 | 10000 | 10000 |
| Tablet | Equipment | 1 | 15000 | 15000 |