IoT Enabled Aquaponics With Wireless Sensor Smart Monitoring

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)

IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

IoT enabled Aquaponics with wireless sensor


smart monitoring
Praveen C Menon.

Asst.Professor.
Dept.of MCA,
Ilahia College of Engineering & Technology
Muvattupuzha, Kerala
Email:praveencmenon2004@yahoo.com

Abstract: Aquaponics is an advanced and emerging pump back to the fish tank so that cleaned water is
farming style in which fish farming and vegetable farm- refilled back to the fish tank. The highlight of this
ing turned out to be more professional and precise. This idea is vegetables grow 5 times faster than traditional
approach uses the latest technology for hydration and farming in direct soil as the nutrition value of the
nutrition supply to plants and fish. This paper addresses
water in the fish tank will be much higher than nor-
some technical issues faced by the farmers using aqua-
ponics and proposes the technical solution of an identi- mal water because the fish tank water will be en-
fied problem in traditional aquaponics using wireless riched with growing nutrients with fish waste and
sensors and a communication network with a GUI appli- other chemical changes.
cation. AWSM is a GUI solution for the addressed issues.
AWSM based end-user mobile application alerts the Table 1.1Difference between normal farming and Aquaponics
farmer online with the water quality notification and
suggestions even when the farmer is away. Results
showed considerable improvements when AWSM based
IoT application was implemented for the Aquaponics
system when compared with the conventional method. Criteria Aquaponics Normal
farming
Keywords: Aquaponics, AWSM(Aquaponics With Sensor
Monitoring), Sensor, Internet of Things, Precision farm-
Pesticides No Yes
ing, Prediction, WiFi, Architecture
Chemicals No Yes
I.INTRODUCTION Growth speed Five times Slow
faster
Aquaponics is getting popularity in Kerala over the
years. This innovative approach of fish farming and Water recycling Possible Not Possible
vegetable farming has got immense support from the
Fertilisers Not needed Needed
public because of the massive presence of the pesti-
cides and illegal use chemicals in the market vegeta- Nutrients pres- High Normal
bles and fish. People in Kerala consume a lot of fish ence
daily during their dine. Recent studies, daily news,
public health analysis show that lifestyle diseases Setup cost Moderate Normal
and deadly diseases have been increasing rapidly.
Studies show that immense use of pesticides and Accuracy High Normal
chemicals increases the number of patients with Technology Applied Not applied
deadly diseases. Here comes the relevance of this
idea of self farming with aquaponics. Natural Yes Yes

This is the state of the art idea of farming fish and Farmer Atten- Less required More required
vegetables recycling the water used in the fish tank. tion
There is a fish tank with water and edible fish. On
top of that, a grow bed is placed where vegetables The paper is organized as follows. Related work is
are farmed. Under the grow bed, there is a filter bed followed by problem identification. The methodolo-
is placed using gravel and mud. The water from the gy adopted is detailed after the problem is found.
fish tank is pumped to the vegetables in the grow bed Validation and field study is explained which is fol-
and from the grow bed, the water flows down to the lowed by results before the paper is concluded.
gravel filter and the filtered water is collected to

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 171


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

II.RELATED WORK

Certain researches are going on in precision farming,


but specifically towards Aquaponics is rare. This
paper discusses real-time monitoring of the environ-
mental parameters of an Aquaponic System Based on
IoT, it shows aquaponics and related monitoring
strategies using IoT.[5] Another work focussing an
autonomous aquaponics system using 6LoWPAN
based WSN” proposes an end-to-end system to ena- Fig1: Arduino Mega and its PIN Layout
ble “Connected Aquaponics” which includes WSN
and Next-Gen Telco to increase the crop yield and Fig1 shows the Arduino Mega microcontroller and
provide organic sustainable food to the world com- its PIN Layout used in the AWSM applications inter-
munity.[2] A study that titles the “System Design of face the sensor and system
Controlling and Monitoring on Aquaponic Based on
Internet of Things” proposes a monitoring system of ESP8266 Microchip
water temperature and water value of pH in aquapon-
ic’s system. It also adds a controlling system to keep ESP8266 is a relatively cheap Wi-Fi microchip.
aquaponic’s environment stable and to feed fish au- ESP8266 has adopted TCP/IP protocol array., which
tomatically through the Internet of things.[3] Another may be easily mounted to the chip.ESP8266 may be
paper defines aquaponics as the production routine used to get access to the Wifi network specified. An
joining traditional aquaculture to hydroponics. The ESP8266 chip is equipped with a Wi-Fi unit which
water quality is the main focus in deciding the aqua- works in a -built set up using an AT command. This
ponics success[4]. module uses a rubber duck receiver in an antenna
structure with a coverage of 479 meters.
The above papers and other papers included in the
literature study does not address the issues raised by III. PROBLEM IDENTIFICATION
the farmers of the field of study. The main issues
include the possibility of removal of bell siphon, The main components of the aquaponics system are
precise sensing of water purity, wetness identifica- bell siphon, aerator, grow bed, water recycling pipe,
tion of the grow beds, quality verification of the pumping motor. Aquaponics system is studied in
fresh inlet water, the possibility of automatic feeding depth in Agricultural University, Palakkad, Kerala.
for fishes etc. This paper tries to cover the local This problem is mainly defined after the discussion
problems faced by the farmers of Njeezhoor, with the farmers using Aquaponics implemented at
Kottayam, Kerala Njeezhoor, Kottayam, Kerala. According to the
farmers, bell siphon is the main component which
AWSM algorithm is implemented using IoT. The determines the wetness of grow bed and water flow
main components of IoT include an Arduino Mega of the system from and to the fish tank. The efficien-
2560, various sensors such as nitrate sensor, wetness cy of the bell siphon will determine the cleanliness of
sensor, ammonia sensor, Ph sensor etc. Arduino the water flowing back to the fish tank and current
Mega is enabled with ESP8266 Microchip for effi- wetness will enhance the growth speed of the plants.
cient WiFi transfer. It is found that grow bed should not bed over dry or
over flooded and grow bed should not be too wet for
Arduino Mega 2560 more than 4 hours. This is very critical in growth
speed of vegetables
Arduino is an electronic board with a microcontroller
installed. It is computer hardware. Arduino is based IV. METHODOLOGY
on ATMega 2560 which is devised with 54 In-
put/Output pins and 6 analog pins. Each pin in this When the farming environment was studied, it is
designed to accept a maximum of 40 mA. This mi- understood that it is very much needed to automate
crocontroller contains a resistor of 20-50 K ohms. the system using IoT to improve the efficiency of
Arduino Mega can communicate with a computer, farming. Also when we spoke to the farmers they
another Arduino Mega or another microcontroller. were very keen on some requirements which will
Text information may be sent from and to the Ar- only be satisfied using IoT application. For example,
duino Mega IDE when wanted to program on this one of the common suggestions from many Aqua-
chip. This microcontroller is designed to be coded in ponics farmers was to control the system online spe-
almost all popular coding languages such as cially when they are away from the farm. Also
C/C++/Java or Python. The microcontroller code is watching the farm and the production from the farm
named sketch and may be carried using a USB cable. is important for them. Many papers have discussed
the IoT application for Aquaponics, but in this paper,

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 172


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

we keenly focus on farmer needs after the discussion mal aquaponics system as well AWSM enabled aq-
with them directly, through many meetings. uaponics system which was placed under the same
For example, in this paper we have focused on grow controlled environment. Sensor readings will go to
bed wetness which is the most important for the pro- the Arduino Mega 2560 for processing and the data
duction from the farm, failing in which will destroy will be processed with AWSM algorithm. The results
the farm completely. Also, many farmers commented are sent to farmers and response from the farmer is
that since they don’t get to know the dangerous vari- executed through Arduino Mega 2650 which will
ations in Nitrate and Ammonia content in the tank reflect in the farm. For instance, suppose the pres-
water which resulted in the death of fishes in large ence of Chlorine is detected quickly as the new water
scale. Since there no such system implemented in the is being filled, the farmer will be intimated so that
farms at Njeezhoor where we have studied a tech- farmer can stop filling water through online instruc-
nical solution for the above-stated issues by the tion which will be implemented through Arduino
farmers is devised. Mega 2650 in the farm. Detection of Nitrate presence
The proposed system works in three areas of the and Ammonia presence in the water crossing the
farm, Vegetable monitoring, fish monitoring and permitted values will be alerted in the AWSM appli-
grow bed and water monitoring. The system was cation to the farmer and he can respond accordingly.
studied for 2 months on these three aspects in a nor-
to the tank.its so critical to avoid chlorine presence
for growing healthy fish and vegetables.

Pseudocode of Prediction Algorithm

AlgorithmAWSM(SD, NVWD, FT)

Step (a). Read Sensor Data SD from sensors

Step (b): Collect and store Normal Values NV

Step (c): Store Date of Water stored WD


Fig 2: IoT architecture of the proposed AWSM Ap-
plication Step (d): Store Fish feed timing FT
Fig 2 shows the IoT architecture of AWSM applica-
Step (e): IF FT exceeds stored_timing
tion detailing the communication flow between the
sensor data and the IoT system and the end-user app.
Trigger IoT to open feed store to feed the fish

Main issues faced by the Aquaponics farmers is that Inform the farmer
the complete automation and monitoring of plants
and fish are highly desirable and automation and Step (f): IF WD exceeds optimum_date THEN
sensor implementation will help them a lot since it is
precision farming where precision is very critical. Trigger IoT to open the inlet water resource to test for 3 seconds
This paper mainly focusses on keeping the wetness
of the growled in an optimum level, quality monitor- Step (g): IF SD from Chlorine Sensor shows the presence of Chlo-
rine in water
ing of the water, automatic fish feeding, through an
interactive interface application installed in a person- Then
al computer or mobile phone. A smart recommender
algorithm is implemented to help the farmers moni- Trigger IoT to stop the water resource
tor the growth maintain the farming, fish and vegeta-
bles. The algorithm suggests the farmer with recom- Else
mendations and options when he/she is alerted with
an issue identified by the app. The main sensor used Trigger IoT to open the inlet water resource until the tank is filled
in the system is water wetness sensor installed in the
grow bed, ph value sensor, ammonia and nitrate Inform the farmer
sensor in water, chlorine sensor in inlet water. Wet-
Compare SD of Ph, Ammonia and Nitrate with NR
ness sensor will continuously sense the wetness of
grow bed and whenever as over dried or wet grow
If variation THEN
bed is harmful to the farming. Ph value sensor, an
ammonia sensor and nitrate sensor regularly check A.alert farmer for an immediate water change
for its values in the water to determine the purity of
water which directly affects the fish health. Chlorine B. Start alarm to inform the farmer
presence in the fresh inlet water to the tank is veri-
fied by the chlorine sensor whenever water is refilled C.Suggest the farmer to check the status of the bell siphon

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 173


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

V.VALIDATION AND FIELD STUDY


Ph Value Sensor
The aquaponics system was connected to Arduino
Mega 2560 at the field interfaced with Ph sensor, Natural water will show a Ph reading of 7[9] The
Ammonia Sensor, Wetness sensor and Nitrate sen- water being tested which was very impure showed a
sor. Standard data was collected after the experi- result of 11. So our sensor data reading is fixed to be
ments and water and grow bed wetness sampling 9 as the standard value. All sensor data were com-
using sensors. The received data is transmitted over pared in the AWSM algorithm and the variations are
WiFi from the Arduino Mega using Wifi mi- alerted to the farmer as a push notification. The algo-
crocontroller installed on the board, to the system rithm also showed the status of the farm water in
where the AWSM algorithm is implemented. The three states, ie., in red, green or orange depending on
data processing on different sensors is as follows. the sensor data priority. For example, Chlorine read-
ing variation is least tolerable and was given high
Grow bed Wetness sensor priority and replacement status turns red. Water with
only PH value /Ammonia variation can have little
The system was tested with wetness sensor using relaxation for the water replacement. Variation in
Arduino Mega to find what is the reading form the two sensor data reading together will put the Farm in
sensor when grow bed maintains the optimum value Orange state. When the sensor data of the water in
of wetness at the presence of a farmer who owns the system being tested, it showed a red status show-
multiple Aquaponics farms and working in this farm- ing the water to be replaced at the earliest.
ing style since years. He identified the optimum level
of grow bed wetness at the point where the reading VI. RESULTS AND DISCUSSION
from the wetness sensor was 703. So the algorithm
condition is set to alert the farmer when growing bed A mobile application is developed in the Android
wetness goes beyond 703. platform to support the farmers. The farmer may
view the status of the system in general, view and
Nitrate Sensor update the data, view the current state of the grow
Natural pure drinking water will show a reading of .2 bed, water quality. Also, the app recommends the
mg/l [11], but in Aquaponics water, it can be above farmer with suggestions when water needs to change.
that reading since the drinking purity is not required. Also, AWSM algorithm predicts the fish health in
The Nitrate sensor showed a reading of .5 mg/l when case if the water quality is degraded than in expected
tested with the Aquaponics system in which the wa- time frame assuming that unhealthy fish may be the
ter was about to change. The farmer showed us some cause of quick water contamination. The App works
more Aquaponics system with Nitrate value was read in the background so that farmer gets updated
to be .9 mg/l and farmer suggested that water is too through push notification as the mobile phone is ac-
contaminated for the fish to live and grow. So the tive and connected to the internet.
Standard Nitrate value is set as .5 mg /L, ie, the Experiments were done at the aquaponics farm at
farmer will be alerted by AWSM app when Nitrate Njeezhoor, Kottayam, Kerala for the tenure of 120
level goes higher than .5 mg/l. days. The system was tested with AWSM and IoT
technology and without applying any technology
Ammonia Sensor monitoring the same fish and vegetable growth for
Normal Ammonia presence in natural water is 0.2 the specified time of 120 days. Soil conditions and
mg/l[10].The Aquaponics system with the water water was tested and confirmed that both soil and
about to replace showed a reading of 0.5 mg/l.The water have the same properties and fertilizing capaci-
contaminated water in the system being tested ty. Green chromites are selected for testing fish
showed a reading of 0.7 mg/l and so the standard growth since this breed is very responsive to food
value of Ammonia sensor is decided to be 0.5 mg/l and fast-growing and needs very sensitive to water
and any value beyond that will caution the farmer quality. This breed of fish needs fresh water for qual-
and suggest for water replacement. ity and faster measurable growth. Leafy vegetables
and vegetables like Brinjal, beans are selected in
Chlorine Sensor vegetable growth testing since they are also so re-
sponsive to soil fertility and water quality and rela-
Natural water will have a chlorine presence of 0.01 tively less sensitive to unexpected weather changes.
mg/l [12] and can't be tolerated much more reading The test is conducted in such a way that the farming
from the Chlorine sensor for our system as even with IoT and AWSM application continuously alert-
small presence of Chlorine is highly dangerous for ed the farmer about water quality, grow bed wetness
the fish. The sensor read 0.03 mg/l for contaminated feeding was accurate with automated feeding system
water being tested and so the standard value for and no surveillance was done for Aquaponics system
Chlorine sensor is set as 0.02 mg/l and any value without AWSM implementation.AWSM application
beyond this data will inform the farmer. intervened when growth was affected with ph value

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 174


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

variation and when grow bed was over wet or dry so and veggies together gave a quality of 12.6 kgs from
that farmer could involve with quick remedies and Aquaponics with AWSM while the Aquaponics farm
water changes and adding nutrients to the water and without AWSM yielded cultivation of 10.4 kgs after
more solutions. It is found that the cultivation of fish 120 days, showing total growth hike of 1.2%.

Fig .3: Graph depicts the comparison of fish growth rate when AWSM enabled system and normal aquaponics farming were studied

Fig 3 shows the growth variation as Fish kgs from the system without AWSM and
growth was 9 kg for ASWM enabled Aq- IoT showing a difference of 1.12 % of
uaponics where it was estimated to have 8 growth hike.

Fig 4:Graph depicts the comparison of vegetable growth rate when AWSM enabled and normal aquaponics
farming was studied
Fig 4 shows the growth effect as Plant growth was without AWSM and IoT showing a difference of
around 3.6 kg for ASWM enabled Aquaponics 1.5 % of growth hike.
where it was found to have 2.4 kgs from the system

Fig 6:Status of grow bed wetness.


Fig 6 shows the value of growled wetness in the mo- ommends the farmer for wetting or drying the grow
bile application based on which the IoT system rec- bed.

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 175


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.
Proceedings of the Fourth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
IEEE Xplore Part Number:CFP20OSV-ART; ISBN: 978-1-7281-5464-0

Fig 7: Pie chart of sensor readings


Fig 7 shows the values read from the different sen- readings, the algorithm recommends the farmer for
sors connected to the IoT device and based on these water change or nutrients addition.
VII.CONCLUSION [7]S R Prathibha, Anupama Hongal and M P Jyothi, "IoT Based
Monitoring System in Smart Agriculture", International Confer-
ence on Recent Advances in Electronics and Communication
AWSM based aquaponics system proposes an effec- Technology, 2017
tive way to monitor and improve farming and will [8]M. N. Mamatha and S. N. Namratha, "Design & implementa-
help farmers track the progress of the growth of the tion of indoor farming using automated aquaponics system", 2017
IEEE International Conference on Smart Technologies and Man-
farm from anywhere in the globe. This paper shows agement for Computing Communication Controls Energy and
an IoT based mechanism to implement an AWSM Materials (ICSTM), pp. 396-401, 2017
application in farming. Since Aquaponics has been [9] World Health Organization (2007).Ph in drinking wa-
an upcoming and efficient way of precision farming ter[online],Available:https://www.who.int/water_sanitation_health
/dwq/chemicals/ph_revised_2007_clean_version.pdf
in Kerala, this approach may attract more farmers to [10] World Health Organization(Geneva, 1996) Guidelines for
the agriculture field as this is a completely technolo- drinking-water quality,[Online]Available:https://www.who.int/
gy-based application which may be tracked through a water_sanitation_health/dwq/ammonia.pdf
mobile app. Currently, AWSM is a notification based [11]WorldHealthOrganization(Geneva,1996),[Online]Available:ht
tps://www.who.int/water_sanitation_health/dwq/chemicals/nitrate
app and less control over the devices and pieces of nitrite2ndadd.pdf
equipment connected to the system. As a future en- [12]World Health Organization (Geneva,1996)
hancement, AWSM app may be extended to a com- [Online]Available:https://www.who.int/water_sanitation_health/d
plete farming solution including automatically con- wq/chlorine.pdf
trolling the devices when the sensor data violates the
standard values with the confirmation from the
farmer. Also, AWSM may be extended to water nu-
trient calculation and planting and fish culture rec-
ommender system which will predict to the farmer
about which vegetable is apt for the soil conditions
and weather circumstances.

VIII. REFERENCES

[1]Patcharapol,BoonrawdSiranee Nuchitprasitchai,Yuenyong,Nilsi
am,”AquaponicsSystems Using Internet of Things,Advances in
Intelligent Systems and Computing” springer book series,2020
[2] N.Harikumar,Sndhya ,Baskaran,Sanjana Hiriraj,Vaishali
Krishnan,”An Autonomous Aquaponics System using 6LoWPAN
based WSN” ,4th International Conference on Future Internet of
Things and Cloud Workshops (FiCloudW),2016 IEEE
[3] Adriyan K Pasha,Edin Mullyana,Cecep Hidayat,Muhammed
Ali,Opik T.,Adhipradana,”System Design of Controlling and
Monitoring on Aquaponic Based on Internet of Things “,4th Inter-
national Conference on Wireless and Telematics (ICWT),2018
[4] Mohanad Odema ,Ihab Adly ,Ayman Wahb,a
Hani Ragai,,”Smart Aquaponics System for Industrial Internet of
Things (IIoT)”, International Conference on Advanced Intelligent
Systems and Informatics,AISI 2017
[5] Manju M.,Hariharan S.,Karthiv V.,Sreedhar ,”Real Time Mon-
itoring of the Environmental parameters of an Aquaponic System
Based on IOT” ,Third International Conference on Science Tech-
nology Engineering & Management,B,2017
[6]R. A. Kjellby, T. E. Johnsrud, S. E. Løtveit, L. R. Cenkeramad-
di, M. Hamid and B. B. Lozano, "Self-Powered IoT Device for
Indoor Applications", 2018 31st International Conference on
VLSI Design and 2018 17th International Conference on Embed-
ded Systems (VLSID), pp. 455-456, 2018

978-1-7281-5464-0/20/$31.00 ©2020 IEEE 176


Authorized licensed use limited to: INTERNATIONAL ISLAMIC UNIVERSITY. Downloaded on July 15,2023 at 08:45:52 UTC from IEEE Xplore. Restrictions apply.

You might also like