Final Project: Water for Aduvan¶
Final Project Presentation¶

Final Project Video¶
Project overview¶

Water for Aduvan is a modular water filtration and monitoring system developed for.It brings together a physical filtration system, water-quality sensors,controller, electronic outputs and a remote monitoring dashboard.
Water is pumped from the source into the elevated storage tank. From the tank, water flows into the filtration unit, where sediment filtration removes suspended particles. The filtered water then passes through the turbidity chamber, where the turbidity sensor measures the water clarity.
If the turbidity level is above the set limit, the solenoid valve closes to stop the water from flowing to the end user. If the turbidity level is within the acceptable limit, the valve allows water to proceed through the flow sensor and then to the end user.
The flow sensor measures the amount of water passing through the system. Data collected from the sensors, including turbidity and flow rate, is transmitted to the monitoring dashboard using MQTT for real-time monitoring.
Main functions¶
- Filters water through a physical filtration unit.
- Measures turbidity and water flow.
- Uses an ESP32 controller to process sensor readings.
- Provides control signals for the pump and solenoid valve.
- Sends system information to an IoT dashboard using MQTT.
- Uses a modular design so that parts can be tested, maintained or improved separately.
1. What problem does it address?¶
Access to safe drinking water remains a challenge in many communities. I chose this project to explore a practical, locally maintainable approach to water filtration and monitoring.
The project is also motivated by my daughter, Aduvan. I wanted to develop something useful that connects engineering, technology and a real community need.
The prototype is not yet certified to produce safe drinking water. Laboratory testing is required before it can be recommended for drinking-water use.
2. Who has done what beforehand?¶
Water treatment systems already use methods such as physical filtration, reverse osmosis, electrocoagulation and photocatalysis. Embedded systems and IoT are also used to monitor water-quality parameters and control equipment.
I reviewed existing water-treatment projects, Fab Academy documentation, technical references and component datasheets. These references helped me understand how filtration, sensors, control electronics and remote monitoring could be combined.
My project explores this combination in a modular prototype that uses digital fabrication and components that can be sourced or replaced locally.
3. What did I design?¶
I designed and developed parts of the mechanical structure, electronics and monitoring system.
3.1 2D design and fabrication¶


I created a 2D design of the project logo and printed it for use on the final product.
I also prepared 2D electronic layouts for the custom control PCB. These layouts included the board outline, copper traces and component arrangement. The PCB design was then used to prepare the manufacturing files.

3.2 3D design and fabrication¶
I designed custom parts to support the physical assembly and protect the electronics.
The main parts included:
- Sensor housing and holder: positions the sensor in the water system and supports installation and maintenance.
- Electronics control box: provides space for the ESP32 controller, power regulation, control electronics and wiring.
- Sediment holder: supports the initial screening stage.
- Other mounting parts: support the arrangement of the system components.


3.3 Electronics design¶
I designed a custom control PCB to organise connections between the ESP32 module, sensors, power supply and control outputs.
The ESP32-S2 Mini is used as the microcontroller module in the control system. The custom PCB provides the connections needed by the project.

3.4 Input devices¶

The input devices collect information from the water system.
- Turbidity sensor: provides readings used to monitor the clarity of the water.
- Flow-rate sensor: provides information about water movement through the system.
3.5 Output devices¶
LCD Pump Valve
The output devices respond to the controller’s programmed instructions.
- Water pump: moves water through the system.
- Solenoid valve: controls water flow through the selected path.
- LCD display: provides local system information.
4. Materials and components¶

Mechanical materials¶
- PVC pipes and fittings
- PPR pipes and fittings
- Acrylic
- Fasteners
- Sand and gravel/pebbles
- Filtration media
- 3D-printed parts

Electronic components¶
- ESP32-S2 Mini
- Turbidity sensor
- Flow-rate sensor
- Solenoid valve
- Water pump
- Relay/control components
- LCD display
- DC-DC buck converters
- Custom control PCB
- Wires and connectors
- Power supply/battery components
5. Where did the materials come from?¶
The project used materials and components from the following sources:
- Fab Lab Winam inventory and fabrication facilities.
- Local hardware and plumbing suppliers in Kisumu.
- Local electronics suppliers.
- Online marketplaces and other project suppliers.
6. Bill of Materials and cost¶
The estimated prototype cost recorded during development was KES 16,900.
| Item | Estimated cost (KES) |
|---|---|
| ESP32-S2 Mini | 1,200 |
| Turbidity sensor | 1,500 |
| Flow sensor | 800 |
| Solenoid valve | 1,500 |
| Relay module | 400 |
| PCB materials | 1,000 |
| Aluminium electrodes | 1,500 |
| Acrylic and fabrication materials | 3,000 |
| Filtration media | 2,000 |
| Plumbing components | 2,500 |
| Miscellaneous | 1,500 |
| Total | 16,900 |
7. What parts and systems were made?¶
7.1 Water-treatment structure¶
The physical system was assembled from plumbing components and filtration materials. It includes a sediment-screening section, a filtration chamber and connections for water movement.



7.2 Sensor mounting¶
A sensor holder was made to position the water-quality sensor in the water path. The holder supports sensor placement and makes it easier to access the sensor during testing and maintenance.

7.3 Electronics and control system¶
The electronics system brings together the ESP32 module, sensor connections, power regulation and output-control connections.

7.4 Software and IoT system¶
The software has two main parts:
- ESP32 firmware: reads sensor information, processes readings and manages the control logic for the pump and solenoid valve.
- IoT dashboard: receives system information through MQTT and displays it for remote monitoring.

8. Fabrication processes¶
The following table connects each process to the part or result produced. Include photographs of the process and the finished part as evidence.
| Process | What I made or produced |
|---|---|
| 2D design | Project logo artwork and PCB layout/traces |
| 2D printing | Printed project logo for the product |
| 3D CAD modelling | Sensor housing, sensor holder and electronics control box |
| 3D printing | Custom sensor and mounting parts, and enclosure parts where applicable |
| PCB design | Custom control PCB layout and manufacturing files |
| PCB milling | Milled the PCB copper traces and board outline |
| Soldering and assembly | Installed and soldered electronic components onto the PCB |
| Embedded programming | ESP32 firmware for sensor reading and control |
| IoT development | MQTT communication and remote monitoring dashboard |
| Plumbing and mechanical assembly | Filtration chamber, pipe connections and water path |
| System integration | Connected the filtration, sensors, controller, outputs, power and dashboard |
8.1 PCB fabrication¶
After completing the PCB design, I prepared the manufacturing files and milled the board.
The process involved:
- Preparing and checking the PCB layout.
- Exporting the manufacturing files.
- Preparing the milling toolpaths.
- Securing the copper board on the milling machine.
- Milling the copper traces and board outline.
- Cleaning and inspecting the board.
- Checking continuity before assembly.

8.2 PCB soldering and assembly¶
After milling, I installed and soldered the electronic components onto the board. I inspected the solder joints and checked continuity before connecting the board to the rest of the system.

8.3 3D printing¶
I used 3D printing to produce custom parts for the project. The printed parts support sensor placement, mounting and the electronics enclosure.

8.4 Plumbing and mechanical assembly¶
I connected the filtration sections and pipe fittings to create the water path. I also positioned the sensor holder and electronics enclosure so that the mechanical and electronic parts could be connected.

9. Embedded programming and control¶
The ESP32 firmware was developed to read sensor information and manage the system’s control functions.
The intended control workflow is:
- The turbidity and flow sensors provide readings.
- The ESP32 reads and processes the sensor information.
- The programmed control logic determines the required system response.
- The controller sends signals to the pump and solenoid valve.
- System information is sent to the IoT dashboard through MQTT.
10. System integration¶
System integration involved connecting the mechanical, electronic and software parts into one prototype.
The main subsystems were:
- Water-treatment subsystem: filtration chamber, sediment holder and plumbing.
- Sensing subsystem: turbidity and flow-rate sensors.
- Control subsystem: ESP32 module and custom control PCB.
- Output subsystem: pump, solenoid valve and LCD.
- Monitoring subsystem: MQTT communication and dashboard.
- Power subsystem: power supply and voltage regulation.
The integration process involved installing the sensors, connecting the pump and valve, wiring the control electronics, checking the water path and connecting the IoT monitoring system.

11. What questions did the project answer?¶
The project explored the following questions:
- Can an ESP32-based controller be used to monitor and control a small water-treatment prototype?
- Can turbidity and flow sensors provide useful information about the water system?
- Can sensor information be sent to a remote dashboard using MQTT?
- Can digital fabrication be used to make custom parts for a water-treatment system?
- Can locally available materials be used to build a modular prototype?
The prototype demonstrates parts of this approach. Further testing is needed to establish water-treatment performance and suitability for drinking-water use.
12. What worked?¶
Based on the tests recorded during development:
- The turbidity sensor provided readings that could be used for monitoring.
- The ESP32 processed sensor information.
- The MQTT communication and dashboard were demonstrated.
- The custom PCB was milled and assembled.
- The mechanical, electronic and software subsystems were brought together for integration and testing.
13. What did not work, and what needs improvement?¶
The development process also showed areas that need more work:
- Turbidity calibration: the sensor needed repeated calibration to improve consistency.
- Flow measurement: readings at low flow rates were not always stable and need further calibration.
- Filtration speed: the filtration process was slower than expected. The filter media, water path and pump selection need further investigation.
- Mechanical packaging: the enclosure and wiring arrangement need further improvement.
- Advanced treatment: electrocoagulation and photocatalytic treatment have not been fully implemented in the current prototype.
14. How was the project evaluated?¶
The prototype was evaluated by testing its main subsystems: water flow, sensors, electronics, communication, dashboard and mechanical assembly.
| Area tested | Evidence to include |
|---|---|
| Turbidity sensing | Sensor readings for different water samples |
| Flow sensing | Flow readings and comparison with a measured volume |
| Pump and valve control | Test showing the actual response to a control command |
| Custom PCB | Milling, continuity, power and functional test photographs |
| MQTT communication | Serial-monitor output or received dashboard data |
| Dashboard | Screenshot showing received system information |
| Mechanical integration | Photograph or video of the assembled water path |
Water samples were compared before and after filtration to observe changes in turbidity. Add the actual readings, units, sample conditions and test method if available.
15. What are the implications?¶
Water for Aduvan demonstrates how digital fabrication, embedded electronics, sensors and IoT can be combined in a locally developed water-treatment and monitoring prototype.
The work provides a starting point for further investigation into:
- Locally fabricated water-treatment equipment.
- Modular systems that can be maintained and upgraded.
- Remote monitoring of water-system conditions.
- Community-scale water-treatment research.
- Solar-powered and portable operation.
The project relates to Sustainable Development Goal 6: Clean Water and Sanitation. However, further development and independent water-quality testing are needed before any real-world drinking-water deployment.
16. Future development¶
The next stage of development will focus on improving the treatment process, reliability and physical design.
Planned work includes:
- Further testing and calibration of the turbidity and flow sensors.
- Improving filtration speed and filter-media arrangement.
- Investigating electrocoagulation.
- Investigating titanium dioxide photocatalytic treatment.
- Adding conductivity/TDS monitoring where appropriate.
- Improving the electronics enclosure and PCB.
- Exploring solar and battery-powered operation.
- Conducting laboratory water-quality tests.
- Preparing the system for controlled community pilot testing.
These are future plans, not completed features of the current prototype.
17. Use of AI and ChatGPT¶
ChatGPT was used as a supporting tool during parts of the project. It helped me understand technical concepts, troubleshoot errors, review code logic and improve documentation.
It did not replace the design, fabrication, assembly or testing work carried out for the project.
Examples of prompts used included:
- “Help me write ESP32 code to read a turbidity sensor and control a solenoid valve based on the sensor reading.”
- “Help me troubleshoot why the ESP32 ADC is reading 4095 from the turbidity sensor.”
- “Explain how to connect an ESP32 to a turbidity sensor and flow sensor.”
- “Help me debug the MQTT communication between the ESP32 and the IoT dashboard.”
- “Explain how I can calibrate the turbidity sensor.”
- “Help me improve this ESP32 code and explain the changes.”
18. Project documentation¶
The following pages contain more detailed documentation of the work:
- Treatment and Purification
- Circuit Design and Programming
- Input and Output Devices
- Physical Components and Fabrication
- System Integration
- Project Concept – BOM, Concept and Business Model
19. Design Files¶
2D design files¶
- Project logo source file:
- PCB layout and trace files: see the PCB files below.
3D CAD and fabrication files¶
- Sensor housing – STL
- Sensor housing – STEP
- Control box – STL
- Control box – STEP
- Sediment holder – STL
- Sediment holder – Fusion 360 file
- 3D printing files
PCB design and manufacturing files¶
Programming and software files¶
Project summary¶
Water for Aduvan is a water filtration and monitoring prototype that combines 2D and 3D design, digital fabrication, a custom control PCB, embedded programming, sensors, electronic outputs and IoT monitoring.
The project brought these skills together through the design and fabrication of physical parts, PCB production, ESP32 programming, mechanical assembly and system integration.
The prototype provides a foundation for further work on water-treatment performance, reliability and independent water-quality testing.
License¶
Unless otherwise stated, original documentation, photographs, diagrams, CAD designs and other creative work produced for Water for Aduvan are licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0) license.
View the CC BY-NC-SA 4.0 license.
Original software is released under the MIT License, unless otherwise stated. Third-party materials remain subject to their own licenses.
© 2026 Charles Otieno Wangara — Water for Aduvan