Professional Documents
Culture Documents
Automated Hydroponic
Automated Hydroponic
INTEGRATED CIRCUITS
Researchers:
Jaymar E. Poñegal
ABSTRACT
2
AUTOMATED HYDROPONIC SYSTEM
ACKNOWLEDGEMENT
gratitude to those who are always there to help us in order to finish our study.
supporting us to finish our study; to all the teachers for giving us some time
finishing this study; Mr. Ryan Nograles and Mr. Aris Cabalo for giving
information on how to use the microcontroller kit and on how to work with
different codes; and to Mr. Wilson R. Santiago for being our research adviser
encouragement.
We would also like to thank our family for giving us financial support; and
to Mr. Jaime C. Poñegal for helping us in assembling the device, and for lending
And the last, but not the least, our Almighty God who give us strength,
courage, guidance, protection, knowledge, power, and wisdom to finish our study
3
AUTOMATED HYDROPONIC SYSTEM
TABLE OF CONTENTS
Abstract……………………………………………………………………………………i
Acknowledgement………………………………………………………...…………….ii
Table of Contents………………………………………………………….…………....iii
Introduction………………………………………………………………………1
Theoretical Framework……………………………………………………..….3
Research Paradigm……………………………………………………………..6
Assumption………………………………………………………………………7
Hypotheses………………………………………………..……………………..8
Definition of Terms………………………………………………………..…...10
Hydroponic System……………………………………………………..….…12
Types of System…………………………………………………………….....14
4
AUTOMATED HYDROPONIC SYSTEM
Nutrient Solution……………………………………………………….…..….16
Microcontroller (MCU)…………………………………………………………17
CHAPTER 3: METHODOLOGY
Research Design……………………………………………………………...18
Research Locale…………………….…………………………………………18
Planning…………………………………………...……………………………21
Gathering of Materials…………………………………………………………21
Preparation of Setups………………………………………………..………..22
Making of Setups…………………………………………………………..…..23
Experimentation………………………………………………………………..24
Recording of Data……………………………………...………………...……24
Disposal of Materials………………………..…………………………………24
Statistical Treatment…………………………………………………………..25
CHAPTER 4: RESULTS
Hydroponic Setup………………………………………….……..…………..26
5
AUTOMATED HYDROPONIC SYSTEM
Control Setup………………………………….………………..……….…….29
Statistical Analysis……………………………………………………………..33
CHAPTER 5: DISCUSSION
Discussion………………………………..…………………………………….37
Conclusion……………………………………………………………………..38
Recommendations…………………………………………………………….39
BIBLIOGRAPHY………………………………………………………………………40
APPENDICES
A. Hydroponic System……………………………………………………....43
B. Record Sheet……………………………………………………………...53
C. Codes………………………………………………………………………57
D. Curriculum Vitae………………………………………………………..…62
LIST OF IMAGES
Image 2: Framing……………………………………………….....…….........43
Image 19: Mixing the Setup Hydroponic Solution to the 45L Water……..50
Image 20: Inserting the Cups with Seedling in the Hydroponic System..50
7
AUTOMATED HYDROPONIC SYSTEM
LIST OF FIGURES
LIST OF TABLES
Table 10: t-Test on average leaf span with alpha value = 0.01…………..36
8
AUTOMATED HYDROPONIC SYSTEM
Chapter 1
This chapter tackles the main problem the researchers want to solve. It
includes concepts and theories that support the study. It also presents the
Introduction
on the said field to meet the basic needs of its countrymen. Now, industrialization
available planting fields as they get converted into shopping malls, industrial
areas and subdivisions. This also leads to a decrease in the crop production
use of vertical hydroponic system to local farmers which can nullify the need for
viable lands to plant on. There are different hydroponic plants to choose from and
various types of planting media such as rockwell, sponge, coconut and other
very important to consider the timing of adding water and maintaining the nutrient
essential to maintain the water level of a whole system. With the growing
9
AUTOMATED HYDROPONIC SYSTEM
scientific community, more information available online and open source codes,
the said gap. The researchers will take advantage of the analog pins of an
Arduino Nano board to sense the water level through the use of probs or header
pins. Nano will serve as the brain of the tool connected to a VDC relay and
reservoir when the level is too low and turns it off when the maximum level is
reached. The water level will be displayed on the Liquid Crystal Display (LCD).
water levels on the system while notifying the administrator or the farmers about
will be comprised mainly of an Arduino module and ICs. The project can be of
great help to farmers in growing crops without using large space for farming and
not spending too much time and giving effort to maintain the systems since it is
automated . This innovation will be a useful reference for the future researchers
who would plan to make a similar study. This may also encourage them to
Sapang Palay National High School (SPNHS). Despite not being located on the
10
AUTOMATED HYDROPONIC SYSTEM
center of the city, SPNHS is one of the largest schools in San Jose del Monte
with over 8 hectares of land. Since its construction in 1971 ("The Birth of
SPNHS”, 2006), the school has continued to develop and grow to cater the
The school added Grade 11 and Grade 12 last 2016 and since then, the
school's population grew larger. Facilities were also built to satisfy the needs of
the different subjects of the senior high school. For example, SPNHS has 3
laboratories: one for biology, for chemistry, and for physics, all of which are well
The device will be constructed in San Rafael I, Area H, San Jose del
Jacinto residence.
Theoretical Framework
programmers to create both simple and complex projects, and share knowledge
11
AUTOMATED HYDROPONIC SYSTEM
and input and output peripherals. Most of the time, microcontrollers are found in
complex projects such as robots and medical devices, to simple mobile radios
have CPUs but not RAM, ROM, and other peripheral since they need a wider
Sensors are used to detect or respond to stimuli (e.g. heat, light, motion,
pressure, etc.) by converting an input from the physical world into a form which
narrow land. There have been several papers published in several journals in
hydroponic systems in recent years; they suggest how hydroponic plant systems
for Deep Water Culture (DWC), this paper provides a basic idea of hydroponic
water culture. This paper also discusses the methodology used to measure pH
values of the sensors and also maintains water levels in hydroponic reservoirs
(Noor,2013).
12
AUTOMATED HYDROPONIC SYSTEM
The other work related to this project is control and monitoring of plants in
real time by Dan Wang, Jinling Zhao, Linsheng Huang, Deheng Xu in 2015. This
research focuses on monitoring the data of aquaponic plants which will be sent to
smartphones through the internet. Next are works about automatic addition of
nutrients made by Rajeev Lochan Mishra and Preet Jain in 2015 which uses
automatic plant watering has been performed by Devika et al, and the setup
includes plant grown on a soil with a humidity sensor to detect the soil moisture
level and react accordingly (if the soil is dry, the system will automatically do the
watering.)
13
AUTOMATED HYDROPONIC SYSTEM
Research Paradigm
present in this study. First, the arrangement of the specific parts will affect the
level. The amount of light received, a mediating variable will depend on the
position of the system and will affect the growth speed of plants. Then, the
concentration of the solution will be a factor affecting the leaf color as it also
changes the pH level of the water. The type of seeds to be planted will also affect
the survival of plants prior to the system and will consequently affect the number
of harvested plants.
14
AUTOMATED HYDROPONIC SYSTEM
adapt with the loss of agricultural lands while promoting the growth and the
“Can the automated hydroponic system maintain and sustain the growth of
plants?”
materials?
Assumption
plants and promotes their growth from the shoots to the leafage. Having assured
how the project may turnout, the researchers assume that this study entitled
15
AUTOMATED HYDROPONIC SYSTEM
following: Have a light-sufficient area for the set-up, maintain the concentration of
the hydroponic nutrient to be used, & control the water level suspending the roots
of the plants.
Hypotheses
16
AUTOMATED HYDROPONIC SYSTEM
Hydroponic gives people that opportunity to cope with the environmental change.
consists of Arduino Nano ATmega328 and different ICs to measure water level,
The system delimits its parameters for plant growth that were only
monitored and not controlled. The researchers will build a small system that is
not suitable in large scale farming. Root crops like potato, onion, radish etc.
Students. The result will provide the students with knowledge on how to use the
Arduino module and how to modify codes. This may also inspire them to possibly
17
AUTOMATED HYDROPONIC SYSTEM
Consumers. The data result can be a great help to the owners of hydroponic
won’t also have to often buy their veggies from the market.
Future Researchers. This research will be a useful reference for the future
Definition of Terms
programmers to create both simple and complex projects, and share knowledge
Hydroponics does not use soil; instead the root system is supported using an
inert medium such as perlite, rockwool, clay pellets, peat moss, or vermiculite.
The basic premise behind hydroponics is to allow the plants roots to come in
direct contact with the nutrient solution, while also having access to oxygen,
18
AUTOMATED HYDROPONIC SYSTEM
components.
Sensors are used to detect or respond to stimuli (e.g. heat, light, motion,
pressure, etc.) by converting an input from the physical world into a form which
in hydroponic gardening.
19
AUTOMATED HYDROPONIC SYSTEM
Chapter 2
The literature and studies cited in this chapter tackles about the different
development related to Hydroponic System. Those that were also included in this
chapter helps in familiarizing information that are relevant and similar to the
present study.
Hydroponic System
Hydroponics comes from the roots “hydro”, meaning water, and “ponos”,
meaning labor, a method of gardening which does not use soil. The earliest
examples of hydroponics date back to the Hanging Gardens of Babylon and the
ago. Although the general theory behind hydroponics remains the same, modern
technology has enabled us to grow plants faster, stronger, and healthier (Epic
Gardening, 2019)
hydroponics is to allow the plants roots to come in direct contact with the nutrient
20
AUTOMATED HYDROPONIC SYSTEM
solution, while also having access to oxygen, which is essential for proper
growth.
California, Berkeley, he began to popularize the idea that plants could be grown
in a solution of nutrients and water instead of soil. He proved the feasibility of this
concept by growing 25-foot high tomato vines using only water and nutrients, and
experiment with tomatoes prompted further research into the field, including the
One of the most significant strength hydroponics has over soil growing is
experienced to know how much water to give his plants. Too much and the
plant’s roots are not able to get enough oxygen. Too little and the plant can dry
out and die. Hydroponics solves this problem in two different ways according to
Espiritu (2019). First, the water reservoir can be constantly oxygenated, making
sure that the plant’s roots obtain the optimum level of oxygen. Additionally, the
problem of watering is solved by the fact that the plant’s root system no longer
has soil surrounding that blocks oxygen uptake by the roots (Tellez, 2014).
21
AUTOMATED HYDROPONIC SYSTEM
Espiritu (2019) added that the final major benefit of hydroponics is the
amount of control a grower has over the environment. Pests and diseases are
much easier to deal with – your environment is often times portable and raised
off the ground. This makes it hard for bugs to reach your plants. Any soil-related
diseases are completely written off in hydroponics as well. Lastly, you are able to
nutrition costs.
Types of System
Having an active system, NFT is used commercially for it is good for short
harvest crops. In addition, no timer is required in this system and nutrient solution
is in constant flow which is pumped from the reservoir to the grow tray. The grow
tray is built with sufficient slope to allow solution to trickle down tray and not flood
(Morganthaler,2017).
The water culture system is the simplest of all active hydroponic systems.
The platform that holds the plants is usually made of Styrofoam and floats
directly on the nutrient solution. An air pump supplies air to the air stone that
bubbles the nutrient solution and supplies oxygen to the roots of the plants.
Water culture is the system of choice for growing leaf lettuce, which are fast
growing water-loving plants, making them an ideal choice for this type of
hydroponic system. Very few plants other than lettuce will do well in this type of
22
AUTOMATED HYDROPONIC SYSTEM
great for the classroom and is popular with teachers, since a very inexpensive
system can be made out of an old aquarium or other water tight container.
The Ebb and Flow system works by temporarily flooding the grow tray with
nutrient solution and then draining the solution back into the reservoir. This action
is normally done with a submerged pump that is connected to a timer. When the
timer turns the pump on nutrient solution is pumped into the grow tray. When the
timer shuts the pump off the nutrient solution flows back into the reservoir. The
Timer is set to come on several times a day, depending on the size and type of
plants, temperature and humidity and the type of growing medium used.
The said system is a versatile one that can be used with a variety of
growing mediums. The entire grow tray can be filled with Grow Rocks, gravel or
granular Rockwool. Many prefer using individual pots filled with growing medium,
which makes it easier to move plants around or even move them in or out of the
that with some types of growing medium (Gravel, Growrocks, Perlite), there is a
vulnerability to power outages as well as pump and timer failures. In addition, the
roots can dry out quickly when the watering cycles are interrupted. This problem
can be amended somewhat by using growing media that retains more water
including Rockwool, vermiculite, coconut fiber or a good soilless mix like Pro-mix
or Faffard’s.
Drip systems are probably the most widely used type of hydroponic
The timer turns the pump on and nutrient solution is dripped onto the base of
each plant by a small drip line. In a Recovery Drip System, the excess nutrient
solution that runs off is collected back in the reservoir for re-use. The Non-
Recovery System does not collect the run off. A recovery system uses nutrient
solution a bit more efficiently, as excess solution is reused, this also allows for
the use of a more inexpensive timer because a recovery system doesn’t require
precise control of the watering cycles. The non-recovery system needs to have a
more precise timer so that watering cycles can be adjusted to insure that the
plants get enough nutrient solution and the runoff is kept to a minimum. The non-
recovery system requires less maintenance due to the fact that the excess
nutrient solution isn’t recycled back into the reservoir, so the nutrient strength and
pH of the reservoir will not vary. This means that you can fill the reservoir with pH
adjusted nutrient solution and then forget it until you need to mix more. A
recovery system can have large shifts in the pH and nutrient strength levels that
Nutrient Solution
nutrients to the plant. Concentrated already has nutrients added to it. Soluble
where the nutrient solution is kept before it is fed to the plants. The container can
be a plastic or glass that has the ability to hold large amounts of water. Avoid
24
AUTOMATED HYDROPONIC SYSTEM
Microcontroller (MCU)
of a CPU, RAM, ROM, I/O ports, and timers on a single chip jut like a standard
computer, and they are designed to execute only a single specific task to control
a single system.
25
AUTOMATED HYDROPONIC SYSTEM
Chapter 3
METHODOLOGY
and testing, and the evaluation procedure that the researchers will accomplish to
prototype. The main goal was to create the aforementioned system that is
suitable for urban farming; therefore, should be compact, low maintenance, and
cost effective.
Research Design
normal setting (soil) and on the said system. Arduino programming is utilized to
provide ease in managing and monitoring which will be evaluated later in the
study.
Research Locale
Sapang Palay National High School (SPNHS). Despite not being located on the
center of the city, SPNHS is one of the largest schools in San Jose del Monte
with over 8 hectares of land. Since its construction in 1971 ("The Birth of
26
AUTOMATED HYDROPONIC SYSTEM
SPNHS”, 2006), the school has continued to develop and grow to cater the
The school added Grade 11 and Grade 12 last 2016 and since then, the
school's population grew larger. Facilities were also built to satisfy the needs of
the different subjects of the senior high school. For example, SPNHS has three
laboratories: one for biology, for chemistry, and for physics, all of which are well
residence, San Rafael I, Area H, San Jose del Monte City, Bulacan.
With regards to ethics, certain measures are done to conform to the rules
seeds and hydroponic solution used are safe, the proponents still used personal
protective equipment and took safety precautions. Then, the researchers asked
dealing with electronic devices and circuits that comprise the device. Lastly, the
researchers asked Mrs. Celerina A. Herrera’s consent beforehand for the land
27
AUTOMATED HYDROPONIC SYSTEM
Flow Chart
Definition Phase
Design Phase
Software Hardware
Hardware Compatibility
Programming and Testing
28
AUTOMATED HYDROPONIC SYSTEM
Planning
or simply to create something that has not been created before. It begins with the
concept development phase. Definition of concepts and terms comes after. Then,
Antecedent to the software phase, the researchers are to utilize their prior
goal. In addition, proper positioning, wiring and sensors are also required to
realize the hardware phase. After multiple troubleshooting, the device can
already be set-up and finally be planted with select crops. Next, the
proposed system and a control setup. Data analysis using statistical tools
follows. Lastly, inferences are generated from the results as well as evaluation of
the device.
Gathering of Materials
The Arduino Nano and jumper wires, were all bought from Sparkfruit
Electronics located on its Manila Branch. The Bluetooth module and LM317
Module were bought on Lazada online. The breadboard and LCD were available
resources that the researchers took advantage of. Other materials such as seeds
29
AUTOMATED HYDROPONIC SYSTEM
and nutrient solution are to be ordered online, typically when the system is
already prepared. Pipes, support, and media for planting are to be improvised.
Preparation of setups
the device. To make sure the IDE is working properly, the researchers used a
green LED and made it light up using the default sketch “Blink” in Arduino IDE.
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
void loop() {
level)
LOW
30
AUTOMATED HYDROPONIC SYSTEM
before framework, germination, adding the nutrient solution to the water, and
The researchers attached the Arduino Nano with its USB port facing the
edge of the breadboard for easy connection and access. The researchers
ARDUINO NANO PINS SENSOR PINS
followed the instruction from a demonstration of Easy Home-Made Projects
5V VIN
(EMP, 2017).
A5 SCL
A4 SDA
GND GND
parameters such as lighting and ventilation were controlled through setting up the
system properly. Moreover, placing the system outdoors reduces the need for
for pest and weather issues. Lastly, for a system to be cost effective, a stagnant
Table 1: Pin Connections
hydroponic system was implemented to reduce the cost of fully controlling the
conditions while still producing high quality yields. For a small system that will be
used for personal or residential purposes, fully automating the system is not
practical due to the relatively small plant capacity. Therefore, for this system,
31
AUTOMATED HYDROPONIC SYSTEM
parameters for plant growth were only monitored and not controlled. The control
setup on the other hand consists of fertilized soil where in the plants are regularly
watered.
Experimentation
There are two set-ups; the first set-up is the proposed hydroponic system
with the device that includes different sensors in maintaining the water level, the
second is the control set-up were the mustard is only planted in soil. For seven
days the two set-ups were observed particularly if the device worked correctly.
The water level was also observed during the experimentation through the help
of the proposed device. After seven days the growth of the mustard from the two
Recording of Data
The researchers planted the seeds and observed the growth of the plants.
On a span of seven days, the leaf span, shoot height, the change in leaf span
(coined as leaf growth) and change in shoot height (termed as shoot growth) of
the plants were measured using a ruler. Then, data were recorded in Microsoft
Disposal of Materials
The materials used are kept in an inventory for future use, while the plants
are harvested for consumption. The Arduino Nano, sensors and other devices
are kept and reset so that it can be used for future Arduino based projects.
32
AUTOMATED HYDROPONIC SYSTEM
Statistical Treatment
The independent t-test, also called the two sample t-test, independent-
unrelated groups. The proponents utilized this in order to determine if there exists
setup in terms of nourishing mustasa plants (Brassica integrifolia) in line with the
33
AUTOMATED HYDROPONIC SYSTEM
Chapter 4
RESULTS
This section of the research paper reports the findings of the study based
upon the information gathered during the experimentation and the methodology
Hydroponic Setup
Plant Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Growth Average
planted on the hydroponic system that served as the experimental subjects. The
observation was conducted a week after the germination of the said seedlings
and done for seven consecutive days. The growth ranges from 0.7 cm – 1.6 cm
Plant Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Growth Average
36
AUTOMATED HYDROPONIC SYSTEM
The table above indicates the leaf span in cm of the 24 mustard seedlings
planted on the hydroponic system that served as the experimental subjects. The
observation was conducted a week after the germination of the said seedlings
and done for seven consecutive days. The growth ranges from 1.6 cm – 2.8 cm
Control Setup
Plant Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Growth Average
37
AUTOMATED HYDROPONIC SYSTEM
planted on the soil that served as the control. The observation was conducted a
week after the germination of the said seedlings and done for seven consecutive
days. The growth ranges from 0.5 cm – 1.7 cm while the average length ranges
Plant Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Day 7 Growth Average
The table above indicates the leaf span in cm of the 24 mustard seedlings
planted on the soil that served as the control. The observation was conducted a
week after the germination of the said seedlings and done for seven consecutive
days. The growth ranges from 0.2 cm – 0.6 cm while the average length ranges
39
AUTOMATED HYDROPONIC SYSTEM
HS CS HS CS HS CS HS CS
Statistical Analysis
The independent t-test, also called the two sample t-test, independent-
unrelated groups. The proponents utilized this in order to determine if there exists
setup in terms of nourishing mustasa plants (Brassica integrifolia) in line with the
Hydroponic Control
Observations 24 24
Df 42
41
AUTOMATED HYDROPONIC SYSTEM
t Stat 2.214804409
The table reveals that the t Stat is 2.21, which is less than the
corresponding t Critical value. Thus, the researchers failed to reject the null
hypothesis. This is further supported by the p-value 0.016 being greater than the
alpha value.
Hydroponic Control
Observations 24 24
Df 27
t Stat 26.11368778
42
AUTOMATED HYDROPONIC SYSTEM
The table reveals that the t Stat is 26.11, which is greater than the
corresponding t Critical value. Thus, the researchers reject the null hypothesis.
This is further supported by the p-value being less than the alpha value.
Hydroponic Control
Observations 24 24
Df 39
t Stat 4.205548705
The table reveals that the t Stat is 4.21, which is greater than the
corresponding t Critical value. Thus, the researchers reject the null hypothesis.
This is further supported by the p-value being less than the alpha value.
43
AUTOMATED HYDROPONIC SYSTEM
Hydroponic Control
Observations 24 24
Df 41
t Stat 19.68876396
Table 10: t-Test on average leaf span with alpha value = 0.01
The table reveals that the t Stat is 19.69, which is greater than the
corresponding t Critical value. Thus, the researchers reject the null hypothesis.
This is further supported by the p-value being less than the alpha value.
44
AUTOMATED HYDROPONIC SYSTEM
Chapter 5
DISCUSSION
up for the arguments. It explains the results and interprets them in context of the
previous works related to this study, as well as provides some suggestions for
future research.
The data results gathered during the seven-day observation of the growth
anticipated outcome of the researchers and is also consistent with the findings of
integrated circuits, and a pump, this study entitled “Design and Development of a
possible.
Beginning with the setup itself, it was well made with no leaks and is
expected to last for years, a prediction in line with the designs in the study of
respective tasks accordingly, which made the automation smooth similar to the
45
AUTOMATED HYDROPONIC SYSTEM
Next with the samples, there was an obvious visual difference between
the plants on the system and on the control setup. It was proven to be statistically
true to a greater extent by the t-Test results revealed in the previous chapter.
Though the comparison of shoot growth rate (difference between day 7 and day
1) showed that there is no significant difference, it actually means that the two
Overall, in terms of the heights of the plants, leaf span, and leaf growth
there exists a statistical difference that leads the researchers to infer the efficacy
proponents even made a 3D model of their system to serve as a template for the
Conclusion
developed with Arduino Nano ATMega 328 and integrated circuits through
make it convenient. Based on the gathered data, the researchers concluded the
following:
(1) Due to the size of the finished automating device, the simple connections,
and the components of the system, the system is easy-to-use and is durable;
(2) The whole system costs Php 3000, including the framing and the hydroponic
solution used. It is relatively cheap with respect to the purpose and durability it
46
AUTOMATED HYDROPONIC SYSTEM
available materials;
(3) The system standing the test of time is anticipated since the materials used
its setting.
(4) Plants grow better in a hydroponic system concerning the shoots and leafage.
Recommendations
The researchers would like to recommend to: (1) design and develop a
system with a bigger scale; (2) enable wireless display and/or online storage of
plant condition; and (3) add pH, humidity, temperature sensing, and height
monitoring.
47
AUTOMATED HYDROPONIC SYSTEM
BIBLIOGRAPHY
anddisadvantages/
technique/2/1181
[PDF].
Kyaw, T. Y., & Ng, A. K. (2017). Smart Aquaponics System for Urban Farming.
from
http://www.gardenandgreenhouse.net/articles/october2012/hydroponic-101-
required-daily-maintenance-fora-complete-hydroponic-system/
Matuschke, I. (2009, August 16). Rapid urbanization and food security: Using
food
48
AUTOMATED HYDROPONIC SYSTEM
Beijing.
Mohammed, S., & Sookoo, R. (2016). Nutrient Film Technique for Commercial
Sihombing, P., Karina, N. A., Tarigan, J. T., & Syarif, M. I. (2018). Automated
https://doi.org/10.1088/1742-6596/978/1/012014
http://www.simplyhydro.com/whatis.htm
https://www.greensgrow.org/urban-
farm/what-is-urbanfarming/
49
AUTOMATED HYDROPONIC SYSTEM
APPENDICES
50
AUTOMATED HYDROPONIC SYSTEM
HYDROPONIC SYSTEM
51
AUTOMATED HYDROPONIC SYSTEM
57
AUTOMATED HYDROPONIC SYSTEM
Image 19: Mixing the Snap Hydroponic Solution to the 45L Water
Image 20: Inserting the Cups with Seedlings in the Hydroponic System
58
AUTOMATED HYDROPONIC SYSTEM
59
AUTOMATED HYDROPONIC SYSTEM
60
AUTOMATED HYDROPONIC SYSTEM
#include <LiquidCrystal.h>
int level1=A1;
int level2=A2;
int level3=A3;
int level4=A4;
int level5=A5;
int motor=6;
int a;
int b;
int c;
int d;
int e;
int z=111; // Adjust this value from 100 to 1023 if your circuit do not show correct
value.
void setup()
pinMode(level1,INPUT);
pinMode(level2,INPUT);
pinMode(level3,INPUT);
pinMode(level4,INPUT);
pinMode(level5,INPUT);
61
AUTOMATED HYDROPONIC SYSTEM
pinMode(motor,OUTPUT);
lcd.begin(20, 4); // if you are using 16x2 line LCD, then replace these values and also
adjust all LCD text for 1st and 2nd line in the loop below.
void loop()
r=digitalRead(motor);
a=analogRead(level1);
b=analogRead(level2);
c=analogRead(level3);
d=analogRead(level4);
e=analogRead(level5);
lcd.clear();
lcd.setCursor(2,0);
lcd.print("Easy HM Projects");
lcd.setCursor(0,1);
digitalWrite(motor,LOW);
62
AUTOMATED HYDROPONIC SYSTEM
lcd.setCursor(1,2);
else
lcd.setCursor(1,2);
else
lcd.setCursor(1,2);
else
lcd.setCursor(1,2);
}
63
AUTOMATED HYDROPONIC SYSTEM
else
lcd.setCursor(1,2);
else
digitalWrite(motor,HIGH);
lcd.setCursor(3,2);
lcd.print("Tank is EMPTY");
}}}}
if(r==LOW)
lcd.setCursor(0,3);
else
lcd.setCursor(0,3);
64
AUTOMATED HYDROPONIC SYSTEM
lcd.print("Water Pump is (ON)");
delay(100);
lcd.clear();
}}
65