Description
The aim of this project is to develop a soil monitoring system that uses an Arduino board, ESP8266, LCD and mobile application to detect the levels of nitrogen, phosphorus, potassium, pH, EC, temperature, moisture, and humidity real-time in soil. This device is designed to help farmers improve crop fertility and increase productivity by providing real-time data on soil nutrient content. The sensor is inserted into the soil and contains a probe that measures the required parameters. The Arduino board activates the sensor and sends the data to the LCD display for easy reading and then the data to the user mobile application. The device also uses an interface module to connect the sensor to the Arduino. This technology has the potential to revolutionize the way farmers approach soil management by allowing for precision agriculture and efficient use of fertilizers. The sensor is a faster and more convenient alternative to traditional laboratory techniques for measuring soil nutrient levels, and could help farmers to improve crop yields and soil fertility.
TABLE OF CONTENTS
Title Page
Approval Page
Dedication
Acknowledgement
Abstract
Table of Content
CHAPTER ONE
1.0 Introduction
1.1 Background of the project
1.2 Statement of the problem
1.3 Aim and objectives of the project
1.4 Significance of the project
1.5 Scope of the project
1.6 Project organization
CHAPTER TWO
2.0 Literature review
2.1 Introduction
2.2 Review of fundamental concepts
2.3 Review of related works
2.4 Literature gap
CHAPTER THREE
3.0 METHODOLOGY
3.1 Introduction
3.2 Block diagram of the system
3.3 Hardware used
3.4 System circuit diagram
3.5 Procedure
3.6 System workings
CHAPTER FOUR
4.1 Results and Discussion
CHAPTER FIVE
5.0 Summary, Conclusion and Recommendation
5.1 Summary
5.2 Conclusion
5.3 Recommendation
References
CHAPTER ONE
1.0 INTRODUCTION
1.1 BACKGROUND OF THE STUDY
The land we depend on to grow our food is under serious pressure. Years of overuse, pollution, and the growing impacts of climate change have taken a toll on the soil, making it less fertile and, in some cases, completely barren. Healthy soil is the foundation of farming—it keeps nutrients cycling, manages how water moves, and helps plants grow strong. That’s why keeping our soil in good condition is so important if we want to maintain productive farms and feed a growing population. (Simão et al, 2024).
Nowadays, agriculture is getting more inclined with modern technology as technical advances in electronics, digital signal processing, sensors, and wireless communication are growing faster and steadily throughout time. The use of these smart gardening devices such as cordless hedge trimmer and robotic mower has enabled the field of agriculture to adapt to the continuous challenges of sustainability, producing more crops to feed the ever increasing population. To fulfil the endless need for consumer satisfaction, these modern agricultural devices are redesigned to contain an increasing number of sensors; hence, making their applications more customized for ease of use. The need to monitor soil fertility is of utmost importance for farmers growing a variety crops. Automatic acquisition of data from the soil with a help of a sensor lessens the time and manual work of an individual in testing a soil for planting. However, soil characteristic changes periodically. Determining the macronutrients present in the soil is always a challenge for the garden sensors currently available because most of them can only get and give one or two information from the soil simultaneously. (Banu, 2018).
Agriculture, as vital as it is, also uses up about 70% of the world’s fresh water, which puts a strain on water supplies that are already running low in many places. On top of that, farming is responsible for a big share of greenhouse gas emissions between 19% and 29% each year globally.
With the global population expected to hit 10 billion by 2050, the demand for more and better-quality food is only going to rise. These challenges make it clear: we need to start farming in smarter, more sustainable ways. That includes keeping a close eye on our soil to protect the environment and make sure we can feed future generations. (Ingrao et al, 2023).
Soil can be simply defined as a mixture of small rock particles/debris and organic materials /humus which develop on the earth surface and support growth of plants.
Soil fertility is the ability of a soil to provide the nutrients needed by crop plants to grow. The primary nutrients plants take up from soils include nitrogen, phosphorus, potassium, calcium and magnesium. (Kumar et al, 2024).
Soil quality is a key determinant of agricultural productivity, directly impacting crop yield, nutrient availability, and overall plant health. Soil quality plays a crucial role in determining agricultural productivity, influencing crop yield, nutrient availability, and overall plant health (Saikia et al., 2025; Saha et al., 2021).
Traditional soil monitoring methods, which depend on periodic manual sampling and laboratory analysis, are often labor-intensive, time-consuming, and costly. Additionally, these conventional approaches lack the capability to provide real time insights into soil conditions, making it difficult for farmers to make timely, data-driven decisions regarding irrigation, fertilization, and soil management. (Chamara et al., 2022).
The integration of Internet of Things (IoT) and smart sensing technologies presents a transformative solution to these challenges by enabling continuous, real-time monitoring of critical soil parameters. IoT-based automation systems play a vital role in improving farm management and optimizing agricultural practices (Katiyar and Farhana, 2021).
The pursuit of sustainable agriculture has heightened the demand for effective and immediate solutions for fertilizer application management, as inadequate nutrient management results in detrimental environmental consequences, including soil contamination and water pollution (NIAST, 2023). Modern agriculture progressively integrates technological advancements to improve efficiency and productivity (Karar et al., 2021).
IoT technology amalgamates diverse devices and sensors for instantaneous communication. Sensor-based technology integrates various devices and sensors to enable real-time communication (Saikat et al., 2021). These technologies enable farmers to monitor and regulate environmental parameters such as temperature, humidity, and soil conditions with enhanced precision and efficacy—greater precision and efficiency. These technologies also improve our understanding of how agriculture works and allow for the use of smart solutions like automated irrigation, better planting schedules, and efficient resource management. (Fernández-Ahumada et al., 2019).
This technology enhances agriculture’s adaptability, responsiveness, and sustainability, effectively tackling modern agricultural difficulties through new and pragmatic methods. The sensor-based technology facilitates real-time data acquisition from dispersed sensors throughout agricultural land, yielding critical insights for enhanced decision-making precision. The integration of this technology improves agricultural environmental monitoring and diminishes dependence on extensive human oversight (Saad et al., 2020).
Sensor-based automation enables farmers to adjust to alterations in agricultural circumstances remotely. This method conserves time and diminishes the human effort required for traditional monitoring. The process saves time and reduces the need for manual monitoring. Sensors and automation devices oversee daily operations, deliver real-time updates, and autonomously execute corrective measures. As a result, farmers can optimize their time and resources, concentrate on tasks necessitating human involvement, and improve overall
1.2 STATEMENT OF THE PROBLEM
Agriculture plays a vital role in food production and economic growth, especially in developing countries. Yet, many farmers still struggle with poor soil management because they lack access to timely and accurate information about soil health. Important soil factors like nitrogen, phosphorus, potassium (NPK), pH, moisture, temperature and electrical conductivity all influence crop performance but many farmers still rely on guesswork or outdated methods to manage them. This often leads to problems like overuse of fertilizer, low yields, and even harm to the environment.
Conventional soil testing is usually done in labs, which can be expensive and time-consuming taking days or even weeks to get results. By then, the soil conditions may have already changed, making the test less useful.
To solve this problem, this project introduces a smart soil monitoring system using a seven-in-one sensor. This sensor measures all the key soil parameters in real time and sends the data to a mobile app through Bluetooth or Wi-Fi. The system also stores the data on a memory card for later review. With this setup, farmers can easily check the current state of their soil and make better decisions about when and how to apply water, fertilizer, or other treatments—leading to healthier crops and more efficient farming.
1.3 AIM AND OBJECTIVES:
The aim of this project is to design and implement a soil monitoring system using a seven-in-one soil sensor, and a mobile application to monitor and log NPK, pH, EC, temperature, moisture, and humidity real-time.
Objectives of the Project
This will be achieved through the following objectives;
- To develop a real-time soil monitoring prototype for agricultural use.
- To interface a seven-in-one sensor module with a microcontroller for real-time data acquisition.
- To develop firmware that reads, processes, and logs soil data.
- To design a mobile application for real-time visualization and historical data logging.
- To test the system on different soil types and validate the sensor readings.
1.4 SCOPE OF THE STUDY
The scope of the project is to develop and implement a seven in one soil nutrients monitoring device for the purpose of agriculture for the department of Electrical/Electronics Engineering technology.
1.5 SIGNIFICANCE OF THE STUDY
This project is significant in many ways.
- First, it promotes precision agriculture by giving farmers the exact information they need to improve productivity and reduce waste.
- Second, it is affordable and scalable, making it ideal for smallholder farmers who may not be able to afford commercial soil testing services.
- Third, it supports environmental sustainability by preventing the overuse of fertilizers and water.
- Fourth, the mobile app makes the system easy to use even in rural areas, helping bridge the gap between technology and traditional farming.
- Lastly, this system can also be used in schools, agricultural research institutes, and government extension services to teach, study, and promote better farming practices.
CHAPTER FIVE
5.0 SUMMARY, CONCLUSION AND RECOMMENDATION
5.1 Summary
This research paper explores the application of a soil NPK sensor integrated with arduino technology for monitoring soil nutrients. The study aims to access the feasibility and accuracy of this sensor based approach in providing real-time data on essential nutrients –nitrogen, phosphorus and potassium-in agricultural soil. The research conducted experiments in four various data points then the results indicate that the soil NPK sensor combined with arduino is providing the levels Nitrogen, Phosphorus and Potassium as measured by the sensor are very close to the values obtained from laboratory measurements. This suggests that sensors can provide accurate measurements of these nutrients in the field, and can be a useful tool for farmers and agricultural professionals and it is cost effective solution for continuous soil nutrient monitoring
5.2 Conclusion
In conclusion the integration of a soil NPK sensor with arduino technology presents a significant advancement in soil nutrient monitoring for agricultural purposes. This research demonstrates the efficiency and accuracy of the sensor system in providing real-time data on nitrogen, phosphorus and potassium levels in soil. The continuous monitoring capability offers farmers valuable insights into soil health, enabling precise and timely fertilization practices, optimizing crop yield and minimizing environmental impact through nutrient management. However, further research is warranted to address calibration requirements for diverse soil types and to explore additional parameters that enhance the sensor’s capability. Despite of these challenges, the soil NPK sensor combined with arduino showcases immense potential in revolutionizing modern agriculture and contributing to the global pursuit of food security and environmental preservation.
Through this system we can conclude that there is considerable development in agriculture utilizing IoT and automation. Several new parameters may also be included in the system to check the plant growth and for analysis of the soil.
5.3 Recommendation
This system will check the soil and crop condition and will send the data from the sensors; I recommend that future work will consists of an automatic water pump that will provide automatic required amount of watering to the fields.

