15. System Integration¶
1. System Integration¶
System integration means bringing different parts of a project together to work as one complete system. It involves arranging, connecting, mounting and packaging the components to make the final product reliable, safe and easy to maintain.
This is my plan for intergrating my system, the water should be pmped to the top tank, it get monitored using turbidty the when clean it goes to filtration module, then to the flow rate and out.

My goal was to make the system compact, well organised and properly assembled.
2. Initial Enclosure¶
This was my initial electronic enclosure. It had no screw posts for mounting the PCB or attaching the enclosure to the wall. This resulted in a very messy enclosure, which forced me to use hot glue to hold the PCB inside the enclosure and mount the enclosure to the plywood/wall.


Figure 1: Initial electronics assembly showing areas that needed improvement.
My integration plan focused on the following:
- Redesign the enclosure to provide enough space for all components.
- Improve the PCB layout and component arrangement.
- Create proper mounting points using screws.
- Plan the wire routes to avoid unnecessary crossings.
- Provide a suitable cable entry point.
- Make the enclosure easy to open for maintenance.
- Protect the electronics from possible water exposure.
3. Revised Enclosure¶


I redesigned the enclosure to provide enough space for the PCB by increasing the height from 40 mm to 63 mm and the length from 122 mm to 178 mm. I also added screw holes for mounting the PCB inside the enclosure and for attaching the enclosure to the main structure, which in my case was the plywood.
I included one main opening for the cables to reduce unnecessary holes that could allow water or dust to enter.
Determining the screw hole positions for mounting the PCB


I exported the DXF file of my PCB design from EasyEDA and then used it as a sketch, which I positioned inside the box before extruding the mounting positions. The screw hole sizes were determined by the dimensions of the PCB designed in EasyEDA.
Figure 2: Redesigned enclosure with improved space and mounting positions.
PCB mounted inside the enclosure using screws

Figure 3: Checking the PCB position inside the enclosure.
Enclosure mounted to the plywood using screws

Figure 4: 3D-printed enclosure after redesign.
4. Wire Routing and Cable Management¶
I also improved the arrangement of the wires inside the enclosure. My aim was to reduce unnecessary crossings and make the connections easier to identify during maintenance.

Figure 7: Hanging cables and disorganized wiring.
I worked on my wire management, where most of the wires were looped at the back, leaving the front very neat. At the back, I also labelled the wires to enable easy maintenance and troubleshooting.

Figure 8: Improved wire arrangement after integration.
5. Mounting and Water Connections¶
After completing the enclosure, I integrated it with the main wooden structure of the project.
I marked the mounting positions and prepared holes for the screws. This allowed me to attach the enclosure directly to the structure without using hot glue.

Figure 9: Marking the enclosure mounting positions.
I also used thread-sealing tape on the threaded water connections to help prevent leakage around the fittings.

Figure 10: Applying thread-sealing tape to the water connections.
6. Final Integrated System¶
After redesigning, printing, fitting and mounting the components, I assembled the electronics enclosure and integrated it with the main project structure.
The improved design provides dedicated mounting positions, a screw-secured lid and a more organised arrangement of the electronics. It also makes the system easier to inspect and maintain.
The aim was to bring the electronic and mechanical parts together into one complete unit.
Figure 11: Final integrated system.
