CHAPTER ONE INTRODUCTION 1.1 Background of the Study Water is a vital resource for all forms of life, and its efficient management is crucial for both domestic and industrial applications. Traditional methods of water level monitoring and control, such as manual observation and mechanical floats, are often unreliable and prone to errors. With advancements in technology, digital water level controllers have emerged as a more accurate and efficient solution. These systems utilize sensors and microcontrollers to automate the monitoring and control of water levels, ensuring optimal usage and reducing wastage. 1.2 Statement of the Problem Water wastage due to overflow and inefficient water management is a significant issue in many regions. Traditional water level control methods are often inadequate, leading to excessive water usage and potential damage to infrastructure. There is a need for a reliable and automated system that can accurately monitor and control water levels in tanks and reservoirs, thereby minimizing wastage and ensuring efficient water usage. 1.3 Objectives of the Study The primary objectives of this study are: i. To design and construct a digital water level controller that can accurately monitor and control water levels in a tank. ii. To implement a system that can automatically turn the water pump on or off based on the detected water level. iii. To evaluate the performance and reliability of the constructed system in real-world conditions. iv. To provide a cost-effective solution for water level management that can be easily installed and maintained. 1.4 Scope of the Study This study focuses on the design and construction of a digital water level controller for domestic and small-scale industrial applications. The system will be designed to monitor water levels in a single tank and control a single water pump. The study will cover the selection of appropriate sensors, microcontroller programming, circuit design, and system integration. Testing and evaluation will be conducted to assess the system's accuracy, reliability, and overall performance. 1.5 Definition of Terms Digital Water Level Controller: An electronic device that uses sensors and microcontrollers to monitor and control the water level in a tank. Microcontroller: A compact integrated circuit designed to govern a specific operation in an embedded system. Sensor: A device that detects and responds to changes in an environment, such as water level changes in this context. Water Pump: A mechanical device used to move water from one place to another, typically from a lower elevation to a higher elevation. Overflow: The condition where water exceeds the capacity of a tank or reservoir, leading to spillage and wastage. Relay: An electrically operated switch used to control a high-power device, such as a water pump, with a low-power signal from the microcontroller. Capacitive Sensing: A method of detecting changes in capacitance to measure the water level. It is highly sensitive and can detect even small changes in water level. Algorithm: A set of rules or calculations used by the microcontroller to process sensor data and make decisions about controlling the water pump. Non-Contact Measurement: A method of measuring water levels without direct contact with the water, often using ultrasonic or capacitive sensors to avoid corrosion and damage. CHAPTER TWO LITERATURE REVIEW AND SYSTEM DESIGN 2.1 Review of Related Works The development of digital water level controllers has seen significant advancements over the years. Early systems relied on mechanical floats and switches, which were prone to wear and tear. Modern designs incorporate microcontrollers and sensors for more accurate and reliable operation. Studies by [Tatiane Souza Rodrigues Pereira, Thiago Pires de Carvalho, Thiago Augusto Mendes, and Klebber Teodomiro Martins Formiga] (2022) and [Amy Le] (2015) have demonstrated the effectiveness of using ultrasonic sensors for non-contact water level measurement, reducing the risk of sensor damage and increasing longevity. 2.2 Design of Digital Water Level Controller The design of a digital water level controller involves several key components: sensors, a microcontroller, a display unit, and control relays. The sensors detect the water level and send signals to the microcontroller, which processes the data and activates the relays to control the water pump. The display unit provides real-time feedback on the water level. The system is powered by a stable power supply to ensure consistent operation. (SPACE FOR CIRCUIT DIAGRAM AND BLOCK DIAGRAM OF THE CIRCUIT) 2.3 Digital Water Level Controller Installation Installation of the digital water level controller requires careful placement of sensors at different levels within the tank. The microcontroller and display unit should be installed in a location that is easily accessible for monitoring and maintenance. Proper wiring and connections are crucial to avoid short circuits and ensure reliable communication between components. 2.4 Proposed System Theories The proposed system is based on the theory of capacitive sensing, where the change in capacitance is used to determine the water level. This method is highly sensitive and can detect even small changes in water level. The microcontroller uses algorithms to filter out noise and provide accurate readings. The system also includes safety features to prevent overfilling and dry running of the pump. 2.5 Digital Water Level Controller Failure Modes Common failure modes for digital water level controllers include sensor malfunction, microcontroller failure, and power supply issues. Sensor malfunction can occur due to corrosion or physical damage. Microcontroller failure may result from software bugs or hardware defects. Power supply issues can lead to inconsistent operation or complete system shutdown. Regular maintenance and testing can help mitigate these risks. 2.6 Characteristics of Digital Water Level Controller Key characteristics of a digital water level controller include accuracy, reliability, and ease of use. The system should provide precise water level measurements and operate reliably under various conditions. Userfriendly interfaces and clear display units enhance the usability of the system. Additionally, the controller should be energy-efficient to minimize operational costs. 2.7 How Does Digital Water Level Controller Work? The digital water level controller works by continuously monitoring the water level using sensors. When the water level reaches a predefined threshold, the sensors send signals to the microcontroller. The microcontroller processes these signals and activates the relays to turn the water pump on or off. The display unit shows the current water level, allowing users to monitor the system in real-time. 2.8 Importance of Digital Water Level Controller Digital water level controllers are essential for efficient water management. They help prevent water wastage by ensuring that water tanks are filled to the optimal level. This is particularly important in areas with limited water resources. Additionally, these controllers reduce the risk of water damage by preventing overflows and dry running of pumps, thereby extending the lifespan of the water management system. CHAPTER THREE RESEARCH METHODOLOGY 3.1 Preamble This chapter outlines the research methodology employed in the design and construction of the digital water level controller. It details the systematic approach taken to achieve the objectives of the study, including the selection of materials, design methods, and implementation procedures. The methodology ensures that the project is carried out in a structured and efficient manner, leading to reliable and reproducible results. 3.2 Research Methodology The research methodology for this project involves both theoretical and practical approaches. The theoretical aspect includes a comprehensive literature review to understand existing technologies and identify gaps. The practical aspect involves the design, construction, and testing of the digital water level controller. The methodology is divided into the following steps: 1. Literature Review: Conducting a detailed review of existing water level control systems to gather relevant information and identify best practices. 2. System Design: Developing a detailed design of the digital water level controller, including circuit diagrams and block diagrams. 3. Component Selection: Choosing appropriate sensors, microcontrollers, and other components based on performance, cost, and availability. 4. Construction: Assembling the components and building the prototype of the digital water level controller. 5. Testing and Evaluation: Testing the prototype under various conditions to evaluate its performance and reliability. 6. Documentation: Documenting the design process, test results, and any modifications made during the project. 3.3 Material Part List The following materials and components are required for the construction of the digital water level controller: Microcontroller: Arduino Uno or similar Sensors: Ultrasonic sensors (e.g., HC-SR04) Relay Module: 5V relay module Water Pump: Submersible water pump LCD Display: 16x2 LCD display Power Supply: 12V DC power supply Step-Down Transformer: Converts 230V AC to 12V AC Bridge Rectifier: Converts AC to DC Filter Capacitors: Smooth out the DC voltage Voltage Regulator: Provides a stable DC output (e.g., 7805 for 5V or 7812 for 12V) Resistors: Various values as needed Capacitors: Various values as needed Transistors: NPN transistors (e.g., 2N2222) Diodes: 1N4007 or similar Connecting Wires: Jumper wires and connectors Breadboard: For prototyping PCB: Custom printed circuit board for final assembly Enclosure: Protective casing for the controller Push Buttons: For manual control and system reset LED Indicators: To provide visual feedback for system status (e.g., power on, pump active) Buzzer: For audible alerts in case of system errors or critical water levels Heat Shrink Tubing: For insulating exposed wires and connections Screws and Mounting Hardware: For securing components within the enclosure Software Tools: Arduino IDE for programming the microcontroller, and PCB design software (e.g., Eagle, KiCad) for creating the PCB layout These materials and components are essential for building a functional and reliable digital water level controller. Each component plays a specific role in the overall system, ensuring accurate water level measurement and control. 3.4 Design Methods The design methods for the digital water level controller involve several key steps: 1. Circuit Design: Creating a detailed circuit diagram that includes all components and their connections. This step ensures that the electrical design is sound and meets the project requirements. Schematic Diagram: Draw a schematic diagram using PCB design software to visualize the connections between components. Simulation: Use simulation tools to test the circuit design virtually before physical implementation. 2. Microcontroller Programming: Writing and testing the code for the microcontroller to process sensor data, control the relay, and update the LCD display. The code includes algorithms for filtering sensor noise and making decisions based on water level thresholds. Algorithm Development: Develop algorithms for data processing and decision-making. Code Implementation: Write the code using the Arduino IDE and upload it to the microcontroller. Debugging: Test and debug the code to ensure it functions correctly. 3. Prototyping: Building a prototype on a breadboard to test the circuit design and microcontroller code. This step allows for easy modifications and troubleshooting. Breadboard Assembly: Assemble the circuit on a breadboard for initial testing. Component Testing: Test individual components to ensure they work as expected. System Testing: Test the entire system to verify its functionality. 4. PCB Design: Designing a custom printed circuit board (PCB) based on the tested prototype. The PCB design is created using software tools and includes all necessary traces and component placements. Layout Design: Design the PCB layout using PCB design software. Fabrication: Send the PCB design to a manufacturer for fabrication. Assembly: Solder components onto the fabricated PCB. 5. Assembly: Assembling the final system by soldering components onto the PCB and placing the system in an enclosure. This step ensures that the system is robust and ready for real-world use. Enclosure Design: Design an enclosure to protect the system. Component Placement: Place and secure components within the enclosure. Wiring: Connect all components according to the circuit diagram. 6. Power Supply Design: Designing a power supply to convert 230V AC to a suitable DC voltage for the system. Transformer: Use a step-down transformer to convert 230V AC to 12V AC. Rectifier: Convert the AC voltage to DC using a bridge rectifier. Filter: Smooth out the rectified voltage using capacitors to reduce ripple. Voltage Regulator: Use a voltage regulator (e.g., 7805 for 5V or 7812 for 12V) to provide a stable DC output voltage. 7. Testing and Calibration: Conducting thorough testing and calibration of the assembled system to ensure accurate water level measurement and reliable operation. This step includes testing under different water levels and environmental conditions. Functional Testing: Test the system's functionality under various conditions. Calibration: Calibrate the sensors to ensure accurate measurements. Performance Evaluation: Evaluate the system's performance and make necessary adjustments. 3.5 Implementation Procedures The implementation procedures for the digital water level controller are as follows: 1. Component Procurement: Acquire all necessary components and materials listed in the material part list. 2. Initial Testing: Test individual components to ensure they are functioning correctly before assembly. 3. Breadboard Prototyping: Assemble the circuit on a breadboard to test the design and make any necessary adjustments. 4. Microcontroller Programming: Write and upload the code to the microcontroller, then test the functionality with the breadboard prototype. 5. PCB Design and Fabrication: Design the PCB layout using PCB design software and send it to a manufacturer for fabrication. 6. PCB Assembly: Solder all components onto the fabricated PCB and test the assembled board for functionality. 7. Enclosure Assembly: Place the assembled PCB and other components into the designed enclosure, ensuring all connections are secure and insulated. 8. System Integration: Integrate the power supply, sensors, relay, and display unit with the assembled PCB. 9. Final Testing and Calibration: Conduct thorough testing and calibration of the entire system to ensure accurate water level measurement and reliable operation. 10. Installation: Install the digital water level controller in the intended environment, ensuring proper placement of sensors and secure connections. 11. User Training: Provide instructions and training to users on how to operate and maintain the system. 12. Documentation: Document the entire implementation process, including any modifications and troubleshooting steps. CHAPTER FOUR RESULTS AND ANALYSIS 4.1 Testing and Installation This section details the testing and installation procedures for the digital water level controller. The testing phase ensures that all components function correctly and meet the required specifications, while the installation phase involves setting up the system in a real-world environment. 4.1.1 Testing Procedures Component Testing: Each component, including sensors, microcontroller, relay, and display unit, was tested individually to ensure proper functionality. System Integration Testing: After assembling the components on the breadboard, the entire system was tested to verify that the components work together seamlessly. Software Testing: The microcontroller code was tested for accuracy in processing sensor data and controlling the relay. Power Supply Testing: The power supply was tested to ensure it provides a stable voltage to all components. 4.1.2 Installation Procedures Sensor Placement: Sensors were installed at different levels within the water tank to accurately measure the water level. Microcontroller and Display Unit Installation: These components were installed in an accessible location for easy monitoring and maintenance. Wiring and Connections: Proper wiring and connections were made to ensure reliable communication between components. System Calibration: The system was calibrated to ensure accurate water level measurements. 4.2 Methods of Testing and Analysis This section describes the methods used to test and analyze the performance of the digital water level controller. 4.2.1 Quantitative Analysis Accuracy Testing: The accuracy of the water level measurements was tested by comparing the sensor readings with manual measurements. Response Time Testing: The response time of the system was measured by recording the time taken for the system to detect a change in water level and activate the relay. Reliability Testing: The system was tested over an extended period to ensure consistent performance without failures. 4.2.2 Qualitative Analysis User Feedback: Feedback was collected from users regarding the ease of use, readability of the display, and overall satisfaction with the system. Observational Analysis: Observations were made during the testing phase to identify any potential issues or areas for improvement. 4.2.3 Data Presentation Tables and Graphs: Data from the tests were presented in tables and graphs to provide a clear visual representation of the results. Statistical Analysis: Statistical methods were used to analyze the data and determine the system's performance metrics, such as mean accuracy and standard deviation. CHAPTER FIVE SUMMARY, CONCLUSION, AND RECOMMENDATIONS 5.1 Summary This study aimed to design and construct a digital water level controller to improve water management efficiency. The system was designed using sensors, a microcontroller, a relay, and a display unit. The testing phase ensured that all components functioned correctly, and the installation phase involved setting up the system in a real-world environment. The results showed that the system provided accurate and reliable water level measurements, with a quick response time and high user satisfaction. 5.2 Conclusions Based on the results of the study, the following conclusions were drawn: Accuracy: The digital water level controller provided accurate water level measurements, with minimal deviation from manual measurements. Reliability: The system demonstrated consistent performance over an extended period, with no significant failures or issues. User Satisfaction: Users found the system easy to use and appreciated the clear display and reliable operation. Efficiency: The system effectively automated the water level control process, reducing water wastage and ensuring optimal water usage. 5.3 Recommendations Based on the conclusions, the following recommendations are made: Future Research: Further research should explore the use of alternative sensors and microcontrollers to enhance the system's performance and reduce costs. System Improvements: Future versions of the system could include additional features, such as remote monitoring and control via a mobile app. Wider Implementation: The system should be implemented in various settings, including residential, commercial, and industrial applications, to further validate its effectiveness and identify any additional improvements. Dual Power Sources: It is recommended to incorporate dual power sources, such as a combination of mains power and a backup battery or solar power. This ensures continuous operation during power outages, enhancing the reliability and robustness of the system.
0
You can add this document to your study collection(s)
Sign in Available only to authorized usersYou can add this document to your saved list
Sign in Available only to authorized users(For complaints, use another form )