I started this project to solve a common problem in plant care: inconsistent watering. Many plants either get too much or too little water due to manual mistakes. My goal was to design a simple and reliable automatic irrigation system using Arduino. I planned the core features such as soil moisture sensing and automatic pump control. Instead of adding complex components, I focused on making a clean and efficient offline system that works without internet. I also decided to build everything on a breadboard to keep it easy to assemble and modify.
Setting up the hardware was an important phase of the project. I connected the soil moisture sensor, relay module, and water pump using a breadboard and Arduino Uno. One of the main challenges was understanding the relay connections, especially COM, NO, and power flow for the pump. Initially, I faced issues where the pump was always on due to incorrect wiring and logic. After troubleshooting, I corrected the relay behavior and ensured safe power connections. Another challenge was ensuring stable readings from the sensor, which required proper placement and consistent power supply.
The coding part focused on creating a fully automatic system without any manual control. I wrote a program that reads soil moisture values and converts them into percentage for better understanding. Based on a defined threshold, the system decides whether to turn the pump on or off. I also added calibration logic to make the readings more accurate in real conditions. Debugging was done using the Serial Monitor to verify sensor values and pump behavior. The goal was to keep the code simple but effective, ensuring that the system works reliably without needing constant adjustments.
In the final stage, I tested the system in different soil conditions to ensure accuracy and reliability. The system successfully turned on the pump when the soil was dry and stopped it once enough moisture was detected. This confirmed that the automatic irrigation logic was working correctly. The final build is compact, efficient, and easy to replicate. While this version does not include IoT features, it provides a strong foundation for future upgrades like cloud monitoring and remote control. Overall, the project demonstrates how simple electronics can solve real-world problems effectively