An intelligent irrigation management solution that predicts watering needs based on real-time environmental data using Machine Learning and a Streamlit web interface.
The Smart Irrigation System is an AI-driven project designed to support farmers and gardeners by automating irrigation decisions. By analyzing soil moisture, humidity, and temperature values, the system predicts whether irrigation is required — helping save water and improve crop health.
The project includes:
- A trained ML model
- A responsive Streamlit app
- Data visualizations
- Full deployment on Streamlit Cloud
🌐 Streamlit App: https://smartirrigation-vkwxvp488mdduptgmjrhbt.streamlit.app/
📂 GitHub Repository: https://github.com/Chandrika987/Smart_Irrigation
- ✔ AI-Based Irrigation Prediction
- ✔ Sensor-Based Inputs (Humidity, Moisture, Temperature)
- ✔ Responsive Streamlit Web Application
- ✔ Easy-to-Use Mobile-Friendly UI
- ✔ Real-Time Decision Dashboard
- ✔ Pump & Sprinkler Activity Visualization
- ✔ Fully Deployed Online
- Streamlit (UI development)
- Custom CSS (Responsive styling)
- Scikit-Learn – Model training & prediction
- Joblib – Model exporting and loading
- NumPy – Numerical computations
- Pandas – Data preprocessing & analysis
- Matplotlib – Data visualizations
- Streamlit built-in charts
- Python 3.x
- Streamlit Cloud (App hosting & deployment)
- Git & GitHub (version control + hosting)
- Jupyter Notebook (
smart_irrigation.ipynb) - VS Code / IDE
The ML model predicts irrigation need (ON/OFF) using:
- Soil Moisture (%)
- Temperature (°C)
- Humidity (%)
- Data Cleaning
- Data Preprocessing
- Feature Selection
- Train-Test Split
- Model Training
- Model Evaluation
- Saving Model as
.pkl - Integrating Model with Streamlit App
Smart_Irrigation/
│── Smart_Sprinkler_app.py
│── Farm_Irrigation_system.pkl
│── irrigation_machine.csv
│── pump_activity.png
│── smart_irrigation.ipynb
│── requirements.txt
└── README.md
git clone https://github.com/Chandrika987/Smart_Irrigation.git
cd Smart_Irrigationpip install -r requirements.txtstreamlit run Smart_Sprinkler_app.pyThe UI is custom-designed to ensure:
- Readable text
- Proper spacing
- Touch-friendly sliders
- Clean layout even on small screens
- 🌦️ Weather API integration
- 🌾 Multi-parcel irrigation scheduling
- 📡 IoT sensor & hardware integration
- 🧪 Fertilizer recommendation model
- 🔔 Alerts via SMS/WhatsApp
Chandrika Pala 🌍 India