🧠 Inspiration

Agriculture is the backbone of India's economy, employing the majority of the population, yet contributing only a small fraction to the GDP. This is due to inefficiencies in irrigation, unpredictable weather, water scarcity, and a lack of access to smart farming tools. Observing this gap inspired me to develop Farmly Automate, a low-cost, AI-powered smart farming system.


🌾 What it does

Farmly Automate is a smart irrigation and farm monitoring system that:

  • Automates irrigation based on real-time soil moisture data.
  • Uses the OpenWeather API to predict rainfall and skip irrigation if it's going to rain.
  • Tracks temperature and humidity using the DHT11 sensor.
  • Monitors soil nutrients with custom nutrient sensors.
  • Provides crop-specific suggestions using the OpenAI API.
  • Features a remote-access IoT web dashboard showing soil moisture, weather, crop schedule, and smart control buttons.
  • Suggests optimal harvesting and fertilizer timing for increased crop yield.

🔧 How I built it

  • Languages & Frameworks: Python, Flask, HTML, CSS, Bootstrap
  • Microcontroller: Raspberry Pi
  • Sensors: Soil Moisture Sensor, DHT11 Temperature & Humidity Sensor
  • Actuator: Relay module to control irrigation pump
  • APIs Used:
    • OpenWeather API (for weather prediction and automation)
    • OpenAI API (for crop-specific recommendations and info)
  • Dashboard: Custom-built web interface using Flask + Bootstrap
  • Real-time sensor reading logic and automation logic handled using Python and GPIO.

⚠️ Challenges I ran into

  • Ensuring accurate sensor readings without fluctuation.
  • Designing an intuitive and responsive dashboard that works on smartphones.
  • Managing API data to integrate logic-based automation.
  • Calibrating sensors across soil types and humidity conditions.

🏆 Accomplishments that I'm proud of

  • Fully automated irrigation based on sensor and forecast data.
  • Functional real-time remote dashboard for control and analytics.
  • Developed the system with an overall cost of under ₹6000, making it accessible for small farmers.
  • Demonstrated how AI + IoT can significantly improve farm efficiency.

📚 What I learned

  • Building and deploying full-stack Flask applications with hardware integration.
  • Using real-world APIs for decision-making in embedded systems.
  • Managing GPIO programming and hardware-software sync.
  • Designing human-centric solutions that are actually useful to the farming community.

🚀 What's next for Farmly Automate

  • Add support for AI-driven yield estimation and pest detection.
  • Build a lightweight mobile app version of the dashboard.
  • Expand crop database for broader regional support.
  • Integrate solar power to make it completely off-grid.
  • Enable multilingual voice-based farmer assistance.

🔗 Links

Instagram: @aditya.beni_
YouTube: @BENiTech GitHub: github.com/AdityaBeni

Built With

Share this project:

Updates