Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CORTEX ARM M3
REPORT
MARKS
TABLE OF CONTENTS
Chapter 1
1.0 Introduction 3
1.1 Problem Statement 4
1.2 Objective 4
Chapter 2
2.0 Literature Review 5-6
2.1 Block Diagram 6
Chapter 3
3.0 Methodology 7
3.1 Flow Chart 7-8
3.2 Components 8-10
Chapter 4
4.0 Data Analysis 11
4.1 Result 12
4.2 Coding 13
Chapter 5
5.0 Discussion 14
5.1 Conclusion 14
BIBLIOGRAPHY 15
APPENDIXES 15
DECLARATION
We, hereby declare that this project neither as a whole not as a part there of has been copied out
from any source. It is further declared that we have developed this project and the acomparried
report entirely on basic of our personal efforts made under the sincere guidance of our lecturer
ENCIK HAZWAJ BIN MHD POAD. No portion of the work presented in the report that has been
submitted in the support of any other degree or qualification of this or any other University or
Institute of Learning.
…………………….. ……………………..
(AE150107) (CE170066)
…………………….. ……………………..
(DE150002) (CE170050)
……………………..
(CE150214)
1
ACKNOWLEDGEMENT
We have taken efforts in this project. However, it would not have been possible without
the kind support and help of many individuals and organizations. We would like to extend the
sincere thanks to all of them.
We highly indebted to FKEE faculty lecturer in University Tun Hussein Onn for their
guidance and constant supervision as well as for providing necessary information regarding the
project and also for their support in completing the project.
We grateful to the entire member in this group, we had pleasure to work during this project.
Each of the members in this project truly provide their support as a teamwork and we succefully
complete this project.
We would especially like to thank DR Hazwaj Bin Mhd Poad . As our project lecturer and
mentor, he has taught us more than we could ever give him credit for here. He has shown us, by
his knowledge sharing in every very period of his class.
Our thanks and appreciations go to our university in developing the project and people who
have willingly helped us out with their abilities.
2
CHAPTER 1
INTRODUCTION
1.0 INTRODUCTION
However, climate changes and lack of precision agriculture have resulted in poor yield as
compared to population growth. Irrigation is mostly done using canal systems in which water is
pumped into fields after regular interval of time without any feedback of water level in field. This
type of irrigation affects crop health and produces a poor yield because some crops are too sensitive
to water content in soil. A similar situation exists in many other countries of South Asia. Many
smart irrigation systems have been devised. A smart irrigation system, contrary to a traditional
irrigation method, regulates supplied water according to the needs of the fields and crops. The
feedback mechanism of a smart irrigation system is a moisture sensor. Evapotranspiration (ET),
thermal imaging, capacitive methods, and neutron scattering method and gypsum blocks are some
of the technologies that enable moisture sensing. Capacitive sensors, however instantaneous, are
costly and need to be calibrated often with varying temperature and soil type.
3
1.1 Problem Statement
In the present era one of the greatest problems faced by the world is water scarcity and
agriculture being a demanding Occupation consumes plenty of water. Therefore a system is
required that uses water judiciously. Focus of this paper is to overcome this problem by using
smart irrigation system. Smart irrigation systems estimate and measure diminution of existing plant
moisture in order to operate an irrigation system, restoring water as needed while minimizing
excess water use.
1.2 Objectives
i. To develop a smart irrigation system in order to get a significant saving in the consumption
ii. To design the automatic irrigation system by using the PIC as the main microcontroller.
4
CHAPTER 2
LETERATURE REVIEW
In this paper, soil moisture sensor, temperature sensors placed in root zone of plant and
gateway unit handles the sensor information and transmit data to a web application. One algorithm
was developed for measure threshold values of temperature sensor and soil moisture sensor that
was programmed into a PIC microcontroller to control water quantity. For power, photovoltaic
panel was used. Another facto like cellular-Internet interface used that allowed for data inspection
and irrigation scheduling to be programmed through a web page.
The automatic system was tested for several days in this paper, soil moisture content has
been detected using acoustic based technique was developed. The main propose of this technique
is development for measure soil moisture in real time method. The technique based on relationship
between two quantities example speed of sound and the degree of saturation with water in soils.
This experiment found that the speed of sound decreases with the moisture content following,
depending on the kind of soil.
The automatic system based on ARM and for communication Wi-Fi technology was used.
Irrigation system provides foe adequate irrigation in particular area, which is real time. Soil
moisture sensor placed in root zone in paddy field and sense water level. The system was set up
using Cortex ARM M3. WIFI connection with PC is an important part of these this system. System
communicates using smart irrigation using low-cost moisture sensor technology. Wi-Fi operate
through PC and is a link between ARM processor and centralized unit. This system detects climate
condition and field condition in real time. This information send to user in the form of PC and
5
WIFI modem is controlled with the help of standard set of AT (Attention) commands. These
commands are used to control majority of the functions.
In the paper, automatic irrigation technique irrigated using wireless sensor network internet
technology. The idea was developed for improve irrigation system and reduced cost of irrigation
water. Sensors are placed in farm and sense continuously and collect he information. This in-
formation stored at center monitor, also passes to data collection interface, and then transmits to
the wireless sensor node. Using this information system was control automatically using internet.
The following figure-1 shows the block diagram of modern agricultural system. The
parameters as discussed in the block diagram will monitor the field and gives the accurate results
to the user. Here the new and important things are Level sensors to monitor the soil condition. If
it is dry means, this condition is very harmful to plants. So immediately release the water into the
soil and make it wet. For this we will use the level sensors. Temperature and humidity are useful
in the case of monitoring the weather conditions.
6
CHAPTER 3
METHODOLOGY
3.0 METHODOLOGY
3.1 Flowchart
This is the illustration for the automatic plant watering system sense the moisture content
of the soil and automatically switch the pump when the power is on. A proper usage of the
automatic plant watering system is important because the main reason is shortage of land reserved
water due to lack of rain, unplanned use of water as a result large amount of water goes waste.
7
This project is carried out by executing the steps stated in the flowchart and the proposed device
which is using the ARM M3 microcontroller .
3.2 Components
Moisture sensor is a device that measures the relative moisture of any environment. There
are various types of moisture sensors but most common are the impedance based ones. Impedance
based sensors works on the change of impedance between two electrodes due to varying moisture
content in the surrounding medium. Hence, when the electrodes are kept in soil, its moisture level
changes can measured in a relative manner. This is the fundamental by which the proposed sensor
works.
8
3.2.2 Temperature Sensor
9
3.2.3 Arm Cortex M3
The Invented Systems 802.11 b/g/n Serial to Wi-Fi module makes it easy to add Wi-Fi to
your embedded design. It can be programmed from a host with a choice of serial interfaces using
a simple AT command set.
These serial interfaces are provided by an STM32 ARM Cortex M3 processor as shown on the
block diagram. No software development is required for the STM32, the AT command set
interface is resident in firmware. This means your host microcontroller does not need a TCP/IP
stack or RTOS. This simplifies software development for your application - you only need to write
serial I/O code to send the AT commands and process data.
10
CHAPTER 4
An automatic irrigation system used for irrigate sage crop field for several days for
automatic irrigation systems irrigate using Wi-Fi and power source. Arm also used for monitoring
the irrigation system in real time based and for irrigation system, system irrigates using Wi-Fi to
pc system.
Automatic irrigation system control using in PC and internet thing. WIFI technique has
some disadvantage viz speed, distance factor, reliability, so GPRS and Zigbee is not used in our
project. Zigbee also have disadvantage low transmission rate so we more prefer to use Wi-Fi
connection between pc monitoring. It is only use for smaller distance. Maximum papers have
problem in networking and some security issues.
11
4.1 Result
A system to monitor moisture levels in the soil was designed. The system was used to
switch on/off the watering system according to the soil moisture levels. The control unit the
prototype was implement using a microcontroller. To switch between the control and the irrigation
system a relay switching circuit was used. In order this project also helps prevent weeds and
disease in plant. With some of the more targeted sprinkler irrigation system options we can have
water delivered to the roots of the plants that we want to grow and be strong. The helps to stop
the weed seeds from germinating. Also, by limiting the water that is sprayed onto the leaves we
can reduce the chance of any blight or leaf diseases. Other than that we also can maintain soil
nutrient balance. Over watering the yard can cause the soil to lose some of the nutrients that all
plants need. With an automated or controlled distribution of water through a sprinkler irrigation
system we do not need to worry about this as the amount of water that is distributed is carefully
controlled and maintained. Another problem with overwatering is that soil can become too heavy
and compacted. This is not good at all for plants and should be avoided at all costs. With one of
the many sprinkler system installation options we can prevent this from happening.
12
4.2 Coding For This Project
#include "mbed.h"
#include "DHT.h"
#include "C12832.h"
AnalogIn soil_moisture(p15);
int main()
int error = 0;
lcd.cls();
while(true) {
error = sensor.readData();
if (0 == error) {
c = sensor.ReadTemperature(CELCIUS);
h = sensor.ReadHumidity();
value = (100-((soil_moisture)*100));
lcd.locate(0,0);
13
CHAPTER 5
5.0 DISCUSSION
Modern agriculture offers a range of benefits, including greater production and higher
incomes for farmers including small producers in both developed and developing countries.
Agriculture is a source of livelihood and has great impact on the economy of the country. In dry
areas or in case of inadequate rainfall, irrigation becomes difficult. Therefore, it needs to be
automated for proper yield and handled remotely for farmer safety. Increasing energy costs and
decreasing water supplies point out the need for better water management. Irrigation water
management involves more than just turning on the irrigation system. Irrigation management is a
complex decision-making process to determine when and how much water to apply to a growing
crop to meet specific management objectives. If the farmer is far from the agricultural land, he will
not be noticed of current conditions.
This work implements the emerging applications of smart irrigation using low-cost
moisture sensor technology. Using WIFI networks, a control system has been proposed that will
act as an embedded system, which can monitor and control an agricultural motor and other devices
locally using built-in input and output peripherals. Controller and using microclimate data to
schedule irrigation water also irrigation is real time application. These technique, irrigate using
following technique.
5.1 CONCLUSION
The proposed model using ARM CORTEX M3, which is fully based on smart irrigation
using low-cost moisture sensor Module. This project developed agriculture field, increase the
growth of food production, and provides excellent water management. This can also useful for
increasing the economy and demand of food necessity.
14
BIBLIOGRAPHY
[1] https://www.nationsencyclopedia.com/economies/Asia-and-the-Pacific/Malaysia-
AGRICULTURE.html#ixzz5iLShRWpq
[2] F.S. Zazueta, J.Xin, “Soil Moisture Sensors” in Bulletin 292, Gainsville, FL, USA:
University of Florida, 2004.
APPENDIXES
15