A drought is an event of prolonged shortages in the water supply, whether atmospheric (below-average precipitation), surface water or ground water. A drought can last for months or years, or may be declared after as few as 15 days. It can have a substantial impact on the ecosystem and agriculture of the affected region and harm to the local economy. Annual dry seasons in the tropics significantly increase the chances of a drought developing and subsequent bush fires. Periods of heat can significantly worsen drought conditions by hastening evaporation of water vapor. Drought is a recurring feature of the climate in most parts of the world. However, these regular droughts have become more extreme and more unpredictable due to climate change.

Furthermore, future drought mitigation efforts would be ineffective due to the lack of a scalable, versatile, and informative tool that allows farmers to preserve energy, optimize production through proper irrigation, and plan for droughts.

What it does

It's a nimble, scalable, and informative Ag-Tech device that helps farmers save water, irrigate efficiently, and plan for droughts. Sensor modules, database, and website are the four components of the Agro-Buddy framework.

Module : We have used Soil Moisture Sensor, Temperature and Humidity Sensor, MQ135 air quality sensor, Arduino, esp8266 module. These modules, when arranged in an enclosure to capture analysis-relevant data and send it to the Agro-Buddy.

Database : Enabled by the use the greater Agro-Buddy setup to facilitated through cloud technology. Specifically, we use Firestore from Google for real-time data aggregation and analysis, which allows for scalability and reliable statistic collection.

Website : The website includes aggregate data patterns for groups of sensors, a GPS-locating device, and comprehensive drought/crop forecasting and community data sharing in the future. The site compares aggregate data to ideal soil moisture and geographical conditions based on current data. It also shows Global Drought Data on global Map. It also features the sensor's location through satellite view on the website.

How we built it

The Google Cloud Platform and Firestore are used in the backend. The modules were built with Arduino-compatible microcontrollers and sensors, as well as some imagination, and coded in C++. We used Soil Moisture Sensor, Air Sensor, Temperature Sensor, Humidity Sensor, and ESP8266 to push the data into the firebase cloud. The web app was built with HTML, CSS, JavaScript, Bootstrap, and Google Charts, and Amcharts APIs.

Challenges we ran into

Since there are 3-4 sensors on the whole setup, getting data from the sensors and forwarding it to firebase was a difficult job. Getting data from the Firebase database to the website was also a difficult challenge, and we were stuck for a long time trying to solve it. Displaying historical damage data on the map was a difficult job that took a long time to complete.

Accomplishments that we're proud of

Completing the entire project in such a short amount was one of the achievements, with the entire team we worked on this project the entire night was quite an amazing experience, the things we have implemented and learned during the entire period of this hackathon is unforgettable.

What we learned

We were able to interface the Esp8266 which made us ecstatic. We were also able to send data to the database and fetch it in real-time using the firebase database.

What's next for Agro-Buddy

Taking an idea that seemed difficult to create in less than 48 hours and turning it into a product that met and surpassed all of our initial functional and performance standards.

Share this project: