Escolar Documentos
Profissional Documentos
Cultura Documentos
2
1.0 INTRODUCTION
3
They make it easier to reuse code in other programs by making it more modular, and
as a nice side effect, using functions also often makes the code more readable.
There are two required functions in an Arduino sketch, setup () and loop (). Other functions
must be created outside the brackets of those two functions. As an example, we will create
a simple function to multiply two numbers.
Nowadays, most people are too lazy to water the potted plants on their rooftop gardens
every day. Explained in this section is a simple and exciting automatic plant watering
system that you can be built in just a few hours by using a few electrical components. It is
an Arduino based automatic plant watering system that uses a soil moisture sensor and
water sensor.
Soil moisture sensor act to detect any water through the soil. If the sensor did not detect
any water and moisture in the soil, the water pump will function and flow the water to the
plant until the sensor detect the water to stop the pump. While the water sensor play the
role at the water tank or reservoir by determining whether the water tank is filled or empty.
4
2.0 PROBLEM STATEMENT
Farmers do not have enough time to check the moisture level of the soil.
Many cases occurred where water supply to the water to the plant exceeds the
moisture level needed.
Plants wilt when farmer went away.
Huge area of plantation.
High cost of workers.
3.0 OBJECTIVES
5
4.0 METHODOLOGY
6
4.1.3 Motor/Water Pump
The water pumps are commonly used to increase water pressure for residential or
commercial purposes. They are used to transport water and increase the pressure by
the energy used by them. They can be used for several purposes ranging from small
to large-scale.
7
4.1.6 Arduino Uno
It is a set of microcontroller device that segmenting code into functions allows a
programmer to create modular pieces of code that perform a defined task and then
return to the area of code from which the function was "called". The typical case for
creating a function is when one needs to perform the same action multiple times in
a program.
8
4.1.9 Resistor
The main function of resistors in a circuit is to control the flow of current to other
components.
9
4.2 COMPONENT COST
10
5.0 CIRCUIT DIAGRAM
11
6.0 PROGRAMMING FLOWCHART
Start
Check soil
moisture level
If soil
No have Yes
sufficient
moisture
level
Check water
level in tank
12
A
If water Yes
No
level in
tank is
‘zero’
LED LED
turns off turns on
End
13
7.0 CODING
14
8.0 RESULT AND DISCUSSION
Figure 14: Front view of final product Figure 15: Side view of final product
Studies have shown that a properly configured soil moisture sensor can reduce outdoor water
usage by up to 62% or more over traditional irrigation methods. By watering the plants when
needed, landscape health can be increased, deeper root growth is promoted, and make the plants
more disease-resistant.
1. Sensitivity is the sensor’s ability to monitor small changes in soil moisture content. It
is very important in light soil such as sand or engineered soils.
2. Repeatability refers to how well the sensor can report the same value when measuring
the same moisture content. Repeatability cannot be reached without sensitivity. This
number is often reported to be the same as sensitivity.
15
3. Accuracy is sometimes used to describe sensitivity and repeatability. Not only that, it
can also describe the sensor’s ability to report true volumetric moisture content (VMC).
However, not all sensors report in VMC.
4. Durability or reliability is arguably the most important factor in a commercially used
soil moisture sensor.
In order to monitor water used, user need to understand how the level of soil moisture
content correlate with the availability of water in the soil. Having a familiarity with these levels
will help to understand how soil holds water. This information will also help to set the
thresholds for watering with a soil moisture sensor.
At the saturation level, nearly all of the spaces between soil particles are filled with
water. After soil has reached its saturation level, it does not become more saturated even
though, in some situations it can become flooded where water is trapped. However, at the
saturation level, gravity pulls water downward through the soil more rapidly. A professional
irrigator might saturate the surface layer of the soil in order to move water deeper into the soil
and soften the effects of poor distribution uniformity.
Soil is made up of mineral particles weathered out of rock. These particles are identified
by the relative proportion of their sizes which consists of sand, silt, and clay. The mineral
particles are held together by organic matter. In sandy soil, the individual sand particles are
larger than those in clay soil. The sand particles fit together in a way that creates large pores.
However, there are fewer of them in a specified volume of soil and the amount of total pore
space is low because the particles are large. For these reasons, water moves through the large
pores between the sand particles relatively quickly. Water adheres to the sand particles, but
because there are relatively few of them, the amount of water retained in the sandy soil is low.
For clay soil, the pores between the particles are smaller but there are a large number
of pores because the soil particles are also small. Due to the greater numbers, the pores in clay
soil can hold more water than the pores in sandy soil. As there are more soil particles present
in clay soil, the amount of water adhering to those particles is greater than in a sandy soil.
However, due to the small size of the pores and the large number of small soil particles, the
clay soil holds the water more tightly than sand, and consequently, the plant has to work harder
to extract the water from the clay soil.
16
In order to irrigate properly, you need to understand the capacity of plant available
water in your soil.
17
The goals and challenges:
1. Often water conservation-oriented sites
2. Shallow soils or low water holding capacity, often not enough holding capacity to last
a full day during peak usage
3. Greatly increased evaporative effects over traditional on-grade plantings and subjected
to very high replacement cost of plant material
4. Environmental benefits from keeping plants healthy and thriving
18
9.0 CONCLUSION
In conclusion, our final product is fully functional but lack of effectiveness due to the
amount of water flow to the plant that cannot be adjusted. Thus, there will be excessive flow
of water to the plant that might damage the plant itself. In order to improve our design, a better
Arduino coding need to be set up so that the amount of water can be adjusted based on the
water level detected by the water sensor.
Besides that, our power supply will be the main problem in order to run the system
outdoor. Instead of connecting the power supply to the computer, it is more efficient if the
power supply is connected to the external power supply such as battery or solar system, suit
with our high technology world which made things easier by making this product portable and
easy to use. Another flaw that we found in this project is the water storage system.
Enhancement that can be made is by adding a buzzer to the system in order to alert the user
once the water level in the storage is empty which is detected by the water sensor.
During the assembly of the product, we manage to understand the function of each
components used such as water sensor, moisture sensor, etc. The most critical part in this
project is the coding which we need to be very specific on every components and connection
through the system. Arduino act as the brain of the system which receive input from the codes
and deliver to the output.
In a nutshell, the objectives of this project which are to acquire basic knowledge on
Arduino, to connect the components and wires properly and to create a system that is well-
functioned which includes Arduino controller have been achieved and the project can be
considered as a success.
19
10.0 REFERENCES
Automatic Plant Watering System | Full Circuit With Source Code. (2019, January 30).
Retrieved from https://electronicsforu.com/electronics-projects/hardware-
diy/automatic-plant-watering-system
What are the functions of a water pump, and why is it used? (n.d.). Retrieved from
https://www.quora.com/What-are-the-functions-of-a-water-pump-and-why-is-it-used
20