This project is a smart irrigation system developed using ESP32 to improve water efficiency in agriculture. The system monitors soil moisture, temperature, and humidity, and combines this with weather forecast data from the OpenWeatherMap API to automate irrigation.
- Real-time sensing of soil and environmental conditions
- Automatic water pump control based on soil moisture and rain prediction
- Weather forecast integration for smarter irrigation
- Remote monitoring and control using MQTT
- LCD display for live updates
- ESP32 Microcontroller, DHT11, Soil Moisture Sensor, Relay Module
- Arduino IDE
- OpenWeatherMap API
- MQTT Protocol (test.mosquitto.org)
- FreeRTOS for task scheduling
- Update WiFi, MQTT, and API credentials in the code.
- Upload the code to ESP32 using Arduino IDE.
- Connect sensors and relay as per pin definitions in the program.
This system supports scalability and can be adapted for home gardens, farms, or larger agricultural fields.