Automatic Mesh Agriculture System

The Automatic Mesh Agriculture System is an IoT-based project that deploys a network of sensor nodes across an agricultural field. Each node collects real-time environmental data and communicates it to a central server, which then uploads the readings to a cloud database for remote monitoring.

How It Works

Multiple ESP8266 NodeMCU microcontroller nodes are placed throughout the field. Each node reads temperature and humidity using a DHT11 sensor, and soil moisture using an analog sensor. The nodes send this data over Wi-Fi via HTTP GET requests to a Python Flask server running on a local machine.

The Flask server receives data from all nodes and stores it in Google Firebase Firestore. This allows real-time sensor readings from every node to be persisted in the cloud and accessed remotely. A React-based web dashboard was built to visualize the incoming data from all nodes.

Automated Irrigation

The system also includes a motor control module. Based on the soil moisture readings, the motor can be triggered to run irrigation, enabling basic automated watering decisions driven by live field data.

Tech Stack

  • Hardware: ESP8266 NodeMCU, DHT11 (temperature & humidity), analog soil moisture sensor
  • Firmware: Arduino (C/C++) with ESP8266WiFi and HTTPClient libraries
  • Backend: Python (Flask), Node.js
  • Cloud: Google Firebase Firestore
  • Frontend: React


View on GitHub