Inspiration

Farmers face many challenges that can severely affect their crops, including deadly diseases, common animal attacks and insect attacks. The consequences of these problems can lead to significant losses if not dealt with promptly. In addition, smallholder farmers often lack sufficient experience or knowledge of the crops suitable for their soil or current environment To address these challenges, we developed a comprehensive application that provides farmers with tools and insights to protect their crops, monitor the environment and make informed decisions about the crop. Our goal is to help farmers increase yields, reduce losses and ensure healthier and more productive fields.

How we built it

We started by collecting real-time data from the field using various sensors. These sensors measure crucial environmental factors, including temperature, humidity, soil moisture, wind speed, and light intensity. Additionally, they monitor the levels of essential soil nutrients such as nitrogen, phosphorus, and potassium, as well as the soil's pH value. By gathering this comprehensive data, we obtain a detailed understanding of the conditions affecting the crops.

The collected data is then stored and processed in Convex, which helps manage and analyze the information efficiently. This backend system ensures that real-time data is readily available, allowing us to monitor changes and address issues as they arise. With Convex, we can quickly access and utilize the data to provide valuable insights for farmers, making it easier to respond to environmental shifts and maintain optimal crop conditions.

On the frontend, we developed a user-friendly dashboard that presents farmers with practical solutions to various challenges. The interface displays real-time data in an easy-to-understand format, showing trends and alerts for critical issues such as potential crop diseases, nutrient deficiencies, and pest infestations. The platform offers several key features to aid farmers. It provides fertilizer recommendations based on soil conditions, detects crop diseases through image analysis, and alerts farmers to animals that could harm their crops. The pest management tool gives pest control advice based on real-time data. Additionally, crop recommendations help farmers choose the best crops for their conditions and market trends. A chatbot is also available for instant support and guidance.

Tech Stack:

  1. Frontend framework: React
  2. Serverless backend: Convex + Node.js
  3. Deployment: Vercel
  4. Authentication: clerk
  5. Styling: CSS
  6. Others: Windy Api , Gemini Api , Chart.js
  7. Microcontroller: Ardunio Uno
  8. Sensors: DHT11 (temperature & humidity) , LM393 (light intensity) , NPK Sensor (nitrogen, phosphorus, potassium) , pH Sensor (soil pH value) , Soil Moisture Sensor (soil moisture level) , Anemometer (wind speed) , Water Level Sensor (water level in reservoirs or tanks)

Challenges we ran into

Storing large volumes of real-time data efficiently was a major challenge, as we needed to capture and store information without delays or loss. Testing sensors under various weather conditions to ensure their durability and reliability also proved difficult, especially in extreme environments.

Establishing stable connections between sensors and our data storage system required addressing connectivity issues and interference. Maintaining data accuracy was another challenge, as we had to ensure precise measurements and quickly address any anomalies.

Finally, preventing data loss during the transfer from sensors to Convex was crucial. We implemented measures to minimize data loss but had to continuously refine our data transmission processes to address occasional issues.

Accomplishments that we're proud of

We’re proud of successfully setting up real-time data collection and storage from field sensors. These sensors monitor key environmental factors such as temperature, humidity, soil moisture, wind speed, and light intensity, as well as essential soil nutrients like nitrogen, phosphorus, and potassium, and the soil’s pH value.

A major accomplishment is integrating this data with Convex, our real-time data storage solution. By combining IoT sensors with Convex, we ensure seamless collection and storage of large volumes of data. This setup allows us to provide farmers with instant access to current and accurate information, enabling timely and informed decision-making. This integration enhances our application’s functionality, helping farmers manage their crops more effectively and improve overall farm productivity.

What we learned

We learned how to efficiently store large volumes of data in Convex, our real-time data storage solution. We mastered handling real-time data streams from IoT sensors, ensuring seamless integration and quick access. This experience taught us how to manage and process data dynamically, maintaining accuracy and performance.

What's next for AGRISENSE

  1. Live CCTV Footage: Implementing live CCTV footage on our website to monitor and manage animal activity in real-time.
  2. Community Forum: Adding a community forum where farmers can share experiences, seek advice, and discuss best practices.
  3. Improved Sensors and Microcontrollers: Upgrading to more advanced sensors and microcontrollers for enhanced accuracy and reliability.
  4. Crowdfunding System: Introducing a crowdfunding system specifically for agriculture to support farming projects and innovations.

Built With

Share this project:

Updates