
Remote Farm Monitoring System


The potential impact of the Internet of Things (IoT) on the agriculture sector is gradually becoming evident. Among its applications are pest detection, automated agriculture, and remote monitoring, among others.
The objective of this project is to measure two crucial parameters of farmland - humidity and temperature - using a DHT-11 sensor and make the data available to the farmer through a private website. The information is transmitted through an Ethernet shield, and the data is updated every 5 seconds.
Why: Problem statement
Farmers need precise and real-time monitoring of farm conditions, such as humidity and temperature, to make informed decisions.
How: Solution description
Humidity and temperature are measured with a DHT-11 sensor inserted into the soil. The data is then transmitted to a website through an Ethernet shield, which the farmer can access to view the information.
How is it different from competition
The system updates the data every 5 seconds, providing a more rapid, cost-effective, and reliable approach.
Who are your customers
The target audience includes farmers, farm laborers, and farm owners.
Project Phases and Schedule
Planning
Procurement of necessary equipment
Designing
Circuit building
Coding
Debugging
Testing
Implementation
Resources Required
Software:
Arduino IDE
Hardware:
DHT-11 sensor
Arduino UNO
Ethernet Shield
/* Your file Name : LearnY_PROJECT_1.ino */ /* Your coding Language : arduino */ /* Your code snippet start here */ #include "DHT.h" #include <SPI.h> #include <Ethernet.h> #define DHTPIN 7 #define DHTTYPE DHT22 DHT dht(DHTPIN, DHTTYPE); byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip(192, 168, 1, 99); EthernetServer server(80); void setup() { Serial.begin (9600); dht.begin( ); Ethernet.begin(mac, ip); server.begin( ); } void loop( ) { float h = dht.readHumidity( ); float t = dht.readTemperature( ); EthernetClient client = server.available(); if (client) { boolean currentLineIsBlank = true; while (client.connected ( ) ) { if (client.available ( ) ) { char character = client.read ( ); Serial.write(character); if (character == '\n' && currentLineIsBlank) { client.println ("HTTP/1.1 200 OK"); client.println ("Content-Type: text/html"); client.println ("Connection: close"); client.println ("Refresh: 5"); client.println ( ); client.println ("<!DOCTYPE HTML>"); client.println ("<html>"); client.print ("<Title>Arduino Ethernet Webserver </Title>"); client.print ("<h1>Arduino Ethernet Shield Webserver </h1>"); client.print ("<h4>Temperature in C: "); client.print (t);client.print("C"); client.print ("</h4><h4>Humidity: "); client.print (h);client.print("%"); client.println ("<br />"); client.println ("</html>"); break; } if ( character == '\n') { currentLineIsBlank = true; } else if (character != '\r') { currentLineIsBlank = false; } } } delay(1); client.stop(); } }
Comments
Are you Interested in this project?
Do you need help with a similar project? We can guide you. Please Click the Contact Us button.
Contact Us
Most Recent Projects
Remote Farm Monitoring System posted by t c adityaa
Leave a Comment