← Back

Smart Water Manager

2026 JanIOT
Smart Water Manager Cover

Project Story & Details

š—¦š—¼š—¹š˜ƒš—¶š—»š—“ š—¹š—¼š—°š—®š—¹ š—¶š—»š—³š—æš—®š˜€š˜š—æš˜‚š—°š˜š˜‚š—æš—² š—°š—µš—®š—¹š—¹š—²š—»š—“š—²š˜€ š˜„š—¶š˜š—µ š——š—œš—¬ š—²š—»š—“š—¶š—»š—²š—²š—æš—¶š—»š—“. I recently designed and built a complete IoT water management system to automate our home water storage, combining software, electronics, and mechanical design. š—§š—µš—² š—£š—æš—¼š—Æš—¹š—²š—ŗ Like many areas in Sri Lanka, our NWSDB water supply lacks sufficient pressure during the day. Water only reaches our overhead tanks between 10 PM and 4 AM. Waking up in the middle of the night to manage valves was not sustainable, so I needed an automated solution. š—§š—µš—² š—£š—¹š˜‚š—ŗš—Æš—¶š—»š—“ š—–š—¼š—»š˜€š˜š—æš—®š—¶š—»š˜ The physical setup consists of two tanks fed by a single line, where Tank 1 overflows directly into Tank 2. Because of this serial setup, standard mechanical float valves could not be used without completely ripping out and reorganizing the existing plumbing network. An electronic sensing system was a good way forward. š—§š—µš—² š—¦š—¼š—¹š—²š—»š—¼š—¶š—± š—–š—µš—®š—¹š—¹š—²š—»š—“š—² & š—–š˜‚š˜€š˜š—¼š—ŗ š—¦š—¼š—¹š˜‚š˜š—¶š—¼š—» My initial plan was to use standard solenoid valves. However, keeping a solenoid energized and open for hours draws too much continuous power and risks thermal failure. Instead, I built my own motorized valve controller. I used an MG995 full-metal gear servo motor to mechanically actuate a standard PVC ball valve. To marry the servo to the valve, I had a custom mechanical holder 3D printed by hashtag#XYDDER3D. This approach was incredibly cost-effective compared to industrial motorized valves. The custom valve unit breakdown: • 3D Print: Rs. 1800 • PVC Valve: Rs. 1000 • Servo Motor: Rs. 1500 š—§š—µš—² š—˜š—¹š—²š—°š˜š—æš—¼š—»š—¶š—°š˜€ & š—Ÿš—¼š—“š—¶š—° The brain of the system is an Arduino Nano. To handle the high amperage spikes drawn by the servo motor when turning a stiff valve, I integrated a step-down buck converter into the power supply. For the water detection, I designed a robust sensing circuit using NPN transistors. When water touches the sensor probes, the transistors switch on, sending a signal to the Arduino. I also programmed a multi-check software debounce to ensure electrical noise wouldn't trigger false readings. To keep the final hardware clean, I mapped out the entire Vero board layout digitally before soldering. I highly recommend the open-source DIY Layout Creator tool for anyone planning custom perfboard circuits (https://lnkd.in/gCyb_pVz). This project was a fantastic practical exercise in cross-disciplinary engineering, proving that with a bit of code, 3D printing, and basic electronics, you can build highly robust systems to overcome daily constraints.šŸ˜‰ hashtag#DIY hashtag#bydushan hashtag#electronic hashtag#IOT hashtag#Arduino hashtag#xydder3d hashtag#coding #