IoT based Smart Agriculture System
Pakistan is suffering from shortage of water and the situation is becoming worse day by day. We have developed an IoT based smart agriculture system, that provides automatic watering when needed across real time monitoring of soil wetness level, humidity and temperature through mobile application wi
2025-06-28 16:28:15 - Adil Khan
IoT based Smart Agriculture System
Project Area of Specialization Internet of ThingsProject SummaryPakistan is suffering from shortage of water and the situation is becoming worse day by day. We have developed an IoT based smart agriculture system, that provides automatic watering when needed across real time monitoring of soil wetness level, humidity and temperature through mobile application with the help of different sensors and internet. Internet of Things (IoT) is an open and thorough system of smart items that can auto-arrange, share data, information, and assets, respond and act in face of circumstances and changes in nature. This system will lead to save water, reduce farmer’s stress for irrigation and will provide a huge collection of data to researchers as well as irrigation departments for decision making.
Project Objectives- Provide the real time temperature, humidity, and soil moisture readings of the fields. Maintaining the log file of all the sensor values is to provide a real time monitoring of sensor values.
- Provide a portal for remotely accessing sensor data and information.
- Design a system for automatically generating an alert to the user when the real time value of the humidity meets the threshold value.
- Design a system to water the plants/crops in the fields automatically when needed.
Connect all sensors to Arduino Mega, all the connected sensors (i.e., humidity, temperature & soil moisture sensor) will send data to the microcontroller. The microcontroller will then process the information and perform actions accordingly. The relay and water pump are acting as actuators and perform their tasks if commanded by the microcontroller. The microcontroller will also send the processed information to the database which is deployed on an online server. There is a connection between microcontroller and server using a Wi-Fi module which is acting as a medium between the two.
Benefits of the Project- The smart irrigation system can be widely used so as to reduce the wastage of water and to provide healthy plants and agriculture.
- The plants get the required amount of water from the water.
- The health and growth of the plants can be maintained.
- The water wastage has been reduced which has many economic benefits.
- The sensors i.e. humidity sensor, temperature sensor, and soil moisture sensor reads all the value and sends it to the microcontroller.
- On receiving the signal from the sensors the Microcontroller gets an analog signal which is converted into a digital signal.
- After which the values are compared with threshold values and at the same time microcontroller sends data to the wifi module and through this we can see the values of sensors on our android app.
- If the value is less than the threshold value the water pump is on, otherwise it remains off and we can see the status of the water pump whether it is on or off on an android app.
- If the value reaches the threshold value the water pump gets off.
| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 76900 | |||
| Raspberry Pi | Equipment | 1 | 28000 | 28000 |
| Jumper Wires | Equipment | 4 | 500 | 2000 |
| Bread Board | Equipment | 2 | 500 | 1000 |
| WIFI modeule | Equipment | 1 | 2500 | 2500 |
| Charger for pump/motor | Equipment | 1 | 1500 | 1500 |
| Relay | Equipment | 1 | 2500 | 2500 |
| MLX90614 Temperature Sensor | Equipment | 1 | 2000 | 2000 |
| Volumetric Soil Moisture Sensor | Equipment | 1 | 9000 | 9000 |
| Humidity Sensor | Equipment | 1 | 2500 | 2500 |
| Pump/Motor | Equipment | 1 | 900 | 900 |
| LCD 7 inch Display | Equipment | 1 | 10000 | 10000 |
| Battery for LCD & Raspberry Pi | Equipment | 2 | 3500 | 7000 |
| Stationary | Miscellaneous | 1 | 8000 | 8000 |