Inspiration

We were inspired by the challenges faced by farmers in ensuring crop health, protecting farms from wild animals, and accessing timely agricultural information. Many farms still rely on manual monitoring, making them vulnerable to crop loss and inefficiencies. We wanted to create a smart, affordable solution that empowers farmers with technology.

What It Does

  • Hardware: We used IoT sensors (soil moisture sensors) connected via ESP32 to monitor real-time soil conditions.
  • AI Surveillance: Integrated CCTV cameras with an AI object detection model (YOLOv8) to identify intruders or wild animals.
  • Automation: When intruders are detected, lights and speakers are triggered automatically to scare them away.
  • Chatbot: We developed an AI chatbot that gathers information from trusted sources (weather updates, crop prices, government schemes) and answers farmers' queries.
  • Backend & Communication: Utilized Python (Flask) for backend services and MQTT for real-time communication between devices.
  • Frontend: Designed a simple application interface with React, offering farmers live updates and control.

How We Built It

  • Hardware: We used IoT sensors (soil moisture sensors) connected via ESP32 to monitor real-time soil conditions.
  • AI Surveillance: Integrated CCTV cameras with an AI object detection model (YOLOv8) to identify intruders or wild animals.
  • Automation: When intruders are detected, lights and speakers are triggered automatically to scare them away.
  • Chatbot: We developed an AI chatbot that gathers information from trusted sources (weather updates, crop prices, government schemes) and answers farmers' queries.
  • Backend & Communication: Utilized Python (Flask) for backend services and MQTT for real-time communication between devices.
  • Frontend: Created a user-friendly mobile app using React for real-time monitoring and control.

Challenges We Ran Into

  • Hardware Integration: Ensuring smooth communication between sensors, cameras, and the backend system.
  • Real-time Processing: Running AI models on resource-limited devices while maintaining speed and accuracy.
  • Data Collection: Finding reliable and up-to-date data sources for the chatbot.
  • User Accessibility: Designing a simple, intuitive UI for farmers who may not be tech-savvy.

Accomplishments That We're Proud Of

  • Successfully integrated real-time AI surveillance with automated deterrent systems.
  • Developed a working IoT monitoring system that can help farmers conserve water through optimized irrigation.
  • Created a chatbot assistant that provides actionable insights from trusted sources to farmers.
  • Built an end-to-end solution within a limited time during the hackathon!

What We Learned

  • How to integrate AI models with real-time camera feeds on edge devices.
  • Efficient use of IoT protocols like MQTT for reliable communication between hardware and software systems.
  • Building user-friendly interfaces suitable for farmers with varying tech experience.
  • Gathering and structuring dynamic data for the chatbot from multiple sources.

What's Next for AgroGuardian

  • Expand Sensor Coverage: Add sensors for temperature, humidity, and nutrient levels.
  • Smart Irrigation: Automate irrigation systems based on soil moisture and weather data.
  • Drone Integration: Use drones for aerial surveillance and crop health monitoring.
  • Multilingual Support: Enable regional languages for wider accessibility.
  • Scalability: Optimize the system to support larger farm areas with multiple devices.

Built With

Share this project:

Updates