This paper presents an intelligent time-based control system for borewell motors to address the challenge of water wastage and unregulated groundwater extraction. In many industrial and agricultural setups, borewell motors are operated without adequate monitoring, resulting in tank overflows, energy loss, and excessive water consumption. The proposed system introduces a microcontroller-based automation framework that limits motor operation to a pre-calibrated duration per day, aligned with a total daily extraction capacity of 25 kL according to industrial demand. The system supports real-time monitoring, countdown tracking, and pause/resume operations, thereby ensuring equitable water distribution among multiple sectors. Implemented on the STM32F103C8T6 microcontroller with an RTC module, relay control, and digital display interface, the solution offers high processing speed, industrial-grade precision, and low power consumption. Test results confirm the system’s reliability, accuracy, and suitability for continuous 24/7 operation in water-stressed regions. The approach is scalable and cost-effective, contributing to sustainable water management practices.
Introduction
Water scarcity has become a global crisis, intensified by urbanization, population growth, and climate variability. Overdependence on groundwater, particularly through uncontrolled borewell extraction, has led to severe aquifer depletion and escalating pumping costs. Manual methods for regulating borewell usage are inefficient, error-prone, and often result in wastage and non-compliance with water usage policies. To address this, the study presents a microcontroller-based automated borewell timer system designed to control water extraction precisely and ensure sustainable resource management.
The proposed system allocates a fixed daily operational duration based on tank capacity and flow rate. It integrates a Real-Time Clock (RTC) for accurate timekeeping, a relay-based motor control mechanism for automated switching, and a 7-segment display for real-time feedback. The STM32F103C8T6 microcontroller serves as the system’s core, coordinating all components and maintaining high-speed real-time processing. Additional modules include an EEPROM for retaining user settings during power loss, a DS1307 RTC for accurate timing, and manual keypad controls for flexible time adjustment. Upon reaching the preset water usage limit, the system triggers an automated shutdown, preventing overextraction.
The system’s performance was validated through simulation in Proteus 8 and real hardware testing. Results confirmed precise timekeeping, reliable relay operation, accurate display updates, and retention of configuration data across power cycles. Compared to traditional timer-based systems, this automated design minimizes human intervention, conserves water, and enhances operational efficiency.
A detailed review of related works shows the evolution from basic 555-timer-based circuits to IoT-integrated and GSM-enabled borewell monitoring systems. However, most prior models lacked real-time adaptability and autonomous regulation. The proposed solution bridges this gap by offering a low-cost, standalone, and scalable design, capable of future integration with IoT-based platforms for remote monitoring and data logging.
Conclusion
The designed system successfully achieved its objective of automating water flow control based on real-time scheduling. The integration of the RTC (DS1307) with the Arduino/STM32 microcontroller ensured highly accurate and reliable timekeeping, which is essential for consistent daily scheduling. The 7-segment display interface provided clear and continuous real-time feedback of system parameters, including current time and motor runtime, while the EEPROM (FM24C64) effectively preserved user-configured settings during power interruptions.
Experimental verification confirmed that relay switching operations were precise, safe, and robust, enabling secure control of external devices such as water pumps or solenoid valves. The overall system demonstrated stable performance, minimal timing deviation, and high operational efficiency under varying load conditions.
This design can be effectively implemented in automatic water distribution, irrigation management, and industrial scheduling systems, where controlled daily water usage is essential. Future enhancements may include IoT-based monitoring, remote control via Wi-Fi or GSM, and flow sensor feedback integration for volume-based automation and cloud data logging.
References
[1] M. G. Hudedmani, N. S. Nagaraj, S. B. J. Shrikanth, A. AdilSha, and P. G. Pramod, “Flexible automatic water level controller and indicator,” World Journal of Technology, Engineering and Research, vol. 3, no. 1, pp. 359–366, 2018.
[2] Y. Tita, S. Mangaroliya, J. Vaghasiya, A. Vekariya, and C. Baraiya, “Automatic control of submersible motor,” Journal of Emerging Technologies and Innovative Research (JETIR), vol. 5, no. 4, pp. 501–505, Apr. 2018. [Online].
[3] P. G. Salunkhe, N. S. Patil, T. M. Patil, and S. S. Patil, “Timer auto switch to control three phase motor,” International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering (IJAREEIE), vol. 7, no. 4, pp. 1693–1699, Apr. 2018, doi: 10.15662/IJAREEIE.2018.0704022.
[4] U. E. Esiobi and I. C. Obiora-Dimson, “Microcontroller-based automatic pump controller with real-time schedule,” International Journal of Engineering Research and Technology (IJERT), vol. 10, no. 6, pp. 127–131, Jun. 2021.
[5] D. Xu, L. Zhou, and M. Li, “Design of smart bracelet based on STM32 MCU,” International Journal of Scientific Advances (IJSCIA), vol. 6, no. 1, pp. 165–172, Jan.–Feb. 2025, doi: 10.51542/ijscia.v6i1.26.
[6] S. Nedphokaew, S. Woothipatanapan, P. Wannakarn, and N. Rugthaicharoencheep, “Automatic watering system model,” International Conference on Power, Energy and Innovations (ICPEI), pp. 183–186, 2021, doi: 10.1109/ICPEI52436.2021.9690657.
[7] J. Zhao, H. B. Zhang, and L. Q. Wang, “Design and improvement of 10-second countdown timer,” in Proc. 2020 4th Annual International Conference on Data Science and Business Analytics (ICDSBA), Dalian, China, 2020, pp. 248–250, doi: 10.1109/ICDSBA51020.2020.00070.
[8] Y. Zhang and X. Chen, “Design of motor speed control system based on STM32 microcontroller,” in Proc. 2021 IEEE International Conference on Computer Science, Artificial Intelligence and Electronic Engineering (CSAIEE), Beijing, China, 2021, pp. 152–156, doi: 10.1109/CSAIEE54032.2021.00035.
[9] U. Kumar C., V. Partheeban S., S. T., S. Prasath C., and V. V., “IoT Based Bore Well Monitoring System,” Int. J. Sci. Res. Dev. (IJSRD), vol. 8, no. 7, pp. 222–226, 2020.
[10] A. K. Ambika, D. S. Dalawai, P. R., and S. U., “IoT Based Control and Protection of Borewell Motor,” 47th Series Student Project Programme (SPP), J. N. N. College of Engineering, Shivamogga, India, 2023–24, Project Ref. No. 47S_BE_4817.
[11] V. C. Sanap, S. Nikam, V. Sail, S. Thorat, and A. Vidhate, “Design and Implementation of Real Time Clock using RTC DS3231 and Arduino Uno,” Int. J. Res. Appl. Sci. Eng. Technol. (IJRASET), vol. 13, no. II, pp. 1545–1551, Feb. 2025, doi: 10.22214/ijraset.2025.67162.