Professional Documents
Culture Documents
Aquaponics PH Level Temperature and Dissolved Oxygen Monitoring and Control System Using Raspberry Pi As Network Backbone
Aquaponics PH Level Temperature and Dissolved Oxygen Monitoring and Control System Using Raspberry Pi As Network Backbone
Abstract - Monitoring environmental parameters in aquaponics in terms of labor and time. As a result, there is a need for a
is essential to sustain healthy living conditions for both fish and network system which should allow quick system scalability
plants. In order to maximize growth for both, an optimal balance of and should be able to manage transfer of data between the
environmental parameters present in the system is necessary. As a
system and the user.
solution, an automated aquaponics system that reacts to parametric
changes with an integrated web interface is developed. The Arduino The main objective of the study is to develop a sensor
microprocessor sends measured parameters to a central node which network array with a control system and web interface for an
host a local server to store the data. Acquired data is processed and aquaponics system. Specifically, the study aims to:
triggers corresponding actuators to maintain the optimal ● Implement a sensor node that is capable of gathering
environmental parameters. All information are displayed in a pH, temperature, and oxygen saturation values
mobile-friendly web application which enables access to the ● Implement a control node that automatically changes
real-time and historical data, and manual controls of the actuators.
pH content, temperature, and oxygen saturation to
Results shows that the calibrated sensors can gather sensor
parameters with high accuracy through comparisons with maintain the standard set values as well as
commercial sensor readings. The control system is capable of periodically feeding the fish
running actuators automatically as a result of changes in sensor ● Develop a network that is capable of integrating both
parameters or manually by the user. Each actuator was tested and the sensor and control node that also enables the user
successfully triggered for a set period of time for both manual and to view live system feedbacks
automated controls. Finally, the network backbone can transmit
information and host a website that displays live sensor data, II. REVIEW OF RELATED LITERATURE
manually control the actuators, and save sensor reading logs.
Sensor data are updated and are presented to the user every half Ion Sensitive Field Effect Transistors (ISFET) are MOS
seconds which ensures that the data presented are updated. A web based transistors which is primarily an electrochemical sensor
application is also uploaded to Heroku which allows the user to used to detect ion activity in a solution through the addition of
view sensor logs and manually control the actuators anywhere. an insulating layer to its sensitive surface (Si3N4, Al2O3, Ta2O5)
With the fully integrated system, the study was able to implement an [1]. For this research, Si3N4 constitutes the sensing membrane
automated aquaponics system that measures and controls pH, of the ISFET in determining H ions activity, specifically for
temperature, and dissolved Oxygen.
pH level. This sensor also utilizes a readout circuit which
Keywords—Aquaponics, ISFET, Sensor Network, Control provides constant drain current and constant drain-source
System, Web Application voltage shown in Fig. 1.
I. INTRODUCTION
To know the current state of an aquaponic system, checking
the parametric values read by the sensors is essential.
Checking these values manually often require an experienced
individual and thus could prove difficult for beginners to
understand. Determining a means of understanding the current
state of the aquaponics system in any given time and place is
essential to the users. As the aquaponics system expands,
monitoring the aquaponics systems become more demanding Fig. 1. ISFET Single Channel Readout Circuit [4]
1382
Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on August 09,2021 at 15:35:27 UTC from IEEE Xplore. Restrictions apply.
Proceedings of TENCON 2018 - 2018 IEEE Region 10 Conference (Jeju, Korea, 28-31 October 2018)
1383
Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on August 09,2021 at 15:35:27 UTC from IEEE Xplore. Restrictions apply.
Proceedings of TENCON 2018 - 2018 IEEE Region 10 Conference (Jeju, Korea, 28-31 October 2018)
1384
Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on August 09,2021 at 15:35:27 UTC from IEEE Xplore. Restrictions apply.
Proceedings of TENCON 2018 - 2018 IEEE Region 10 Conference (Jeju, Korea, 28-31 October 2018)
Papers were also tested as a basis for comparison. The graph TABLE II. PH SENSORS AVERAGE PERCENT ERROR
Fig. 12 shows the different performance of the sensors. pH-ISFET Dr. Meter pH Pen Tester Atlas EZO pH Sensor
1.51% 1.48% 0.55%
The output voltages of the ISFET were also obtained at
varying temperatures due to the inherent effect of the
temperature to the output voltage of the ISFET. Graphs in Fig.
13 show the linear plot of the pH curve based on the output
voltages obtained from the two ISFETs. The average percent
error between these three sensors were also obtained based on
Fig. 12 as shown in Table II. The pH-ISFET has nearly the
same performance as the Dr. Meter pH Pen Tester whilst the
Atlas EZO pH Sensor outperforms both, having significantly
less percentage error.
The ISFET has also been tested on the aquaponics setup
itself over the span of six hours to test for its efficiency over a
Fig. 14. ISFET Actual Testing Results
long periods of time. Every fifteen minutes, the pH obtained
from the two ISFETs are obtained along with the pH obtained TABLE III. PH-ISFET PERCENT DIFFERENCE
from the Pen Tester submerged in the grow bed and aquarium. Duration (Hours) 1 2 3 4 5 6
Results of this testing is shown in fig. 14. A noticeable pH-ISFET #1 1.37% 0.96% 1.46% 3.56% 3.89% 2.38%
difference between the results of the two sensors used in the pH-ISFET #2 1.58% 2.37% 1.19% 1.51% 3.02% 3.65%
six hour duration testing is the apparent drift of the ISFET pH
TABLE IV. ATLAS D.O. PROBE CALIBRATION RESULTS
reading as compared to the Pen Tester. In Table III, the percent
Pre-Calibration Post-Calibration
difference of both ISFETs are at maximum at around five to Trial #1 Trial #2 Trial #3 Trial #1 Trial #2 Trial #3
six hours after its operation. 1.77 mg/L 1.77 mg/L 1.77 mg/L 0.00 mg/L 0.00 mg/L 0.00 mg/L
The Atlas D.O. Probe was calibrated by submerging the
probe in a sodium sulfite solution which ideally return an TABLE V. ATLAS D.O. PROBE TEST RESULTS
oxygen saturation of zero. An offset is introduced to ensure Aerator ON Aerator OFF
Trial #1 Trial #2 Trial #3 Trial #1 Trial #2 Trial #3
that the sensor return a value of zero. Table IV shows the
10.15 mg/L 10.35 mg/L 10.31 mg/L 6.34 mg/L 6.42 mg/L 6.38 mg/L
results of this calibration procedure. The Atlas D.O. Probe was
placed on the aquaponics setup itself, testing for the effects of
The DS18B20 was calibrated with the use of a Medica
the aerator turned on or off for an hour. This was performed in
Digital Thermometer. Small amounts of water with varying
three trials, ten minutes apart as illustrated in Table V.
temperatures in increments of three degrees were used as data
points for each of the trials. Results as seen in Fig. 15 show
that the DS18B20 was consistently off by 0.375 degrees
celsius and thus we introduced an offset to compensate for this
difference. The DS18B20 has been tested on the aquaponics
setup, measuring the temperature of the water in the span of
six hours; the same time the ISFETs were tested. Results in
Fig. 16 show that in an outdoor setup, the temperature of the
water continuously increases up to a peak of 26.31 degrees
celsius at 4:30 pm.
Fig. 13. ISFET #2 Calibration Graph Fig. 15. DS18B20 Calibration Results
1385
Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on August 09,2021 at 15:35:27 UTC from IEEE Xplore. Restrictions apply.
Proceedings of TENCON 2018 - 2018 IEEE Region 10 Conference (Jeju, Korea, 28-31 October 2018)
VI. CONCLUSION
An automated aquaponics monitoring and control system
Fig. 16. DS18B20 Actual Testing Results integrated with a network backbone was successfully
implemented. The main system comprises of three
With all of the parametric data obtained from all the components, the sensor node, control node and the network
aforementioned sensors, the Arduino Uno Microprocessor backbone. The sensor node is comprised of the ISFETs, the
compiles all gathered data onto a JSON string format as seen Atlas D.O. Probe and the DS18B20 all connected to an
in Fig. 17. It sends a JSON string to the Raspberry Pi sync Arduino Uno. These sensors gather significant sensor
node every one second interval; completely independent of the parameters, are calibrated, and verified with commercial
baud rate of the individual sensors. Placeholder parameters for sensors and other measuring methods. The control node
electrical conductivity, oxidation-reduction potential, water individually controls the actuators based on the control
flow, and water level are also included to take into information the sync node calculates from the sensor
consideration additional sensors in the future. parameters. The control node consists of peristaltic pumps, a
The actuators were initially tested through manual triggers heater, cooler, aerator, and feeder all connected to an Arduino
from the website. In this case, the corresponding actuator was Uno. The Raspberry Pi sync node holds the entire system by
able to turn on for 10 seconds. Also, the fish feeder executes integrating both sensor and control nodes into a network
one revolution at around 5 seconds, which releases around backbone. Each subsystem was tested and produced desirable
2.3g of fish food per revolution. The peristaltic pumps releases results, ultimately achieving an aquaponics monitoring and
at a rate of 1mL/sec of solutions to the setup assuming that the control system integrated to a network backbone.
tubes are initially filled (around 10 seconds to fill). The system
REFERENCES
flushes at around 1.8 seconds and the grow bed fills up for 5
seconds before the syphon works. Other controls were also [1] S. Martinoia and G. Massobrio, "A behavioral macromodel of
able to function even if an actuator is still executing its the ISFET in SPICE", Sensors and Actuators B: Chemical, vol.
62, no. 3, pp. 182-189, 2000.
instruction. Additionally, based on the water quality
[2] Sallenave, Rossana. “Important Water Quality Parameters in
parameters data from the sensors, the system automatically Aquaponics Systems.” New Mexico State University. 2016.
executes the corresponding actuator. The turning on and off for [3] S. Tawnya, W. A. Patrick. “The Carbonates Controversy in
the actuators is illustrated in the database viewer on Fig. 18. Aquaponics.” [Online]. Available:
In order to ensure that the communication between the https://www.theaquaponicsource.com/blog/the-carbonates-contr
nodes are flawless, the back end Python program prints out the oversy-in-aquaponics/
JSON strings that it receives and sends from and to the nodes. [4] Wen-Yaw Chung et al. “Electronic Tongue System for Remote
Multi-Ion Sensing Using Blind Source Separation and Wireless
Also in this way, it is easier to check for possible errors that
Sensor Network.” 2018.
may arise. [5] N. Vikram, K. Harish, N. M.S., R. Umesh, A. Shetty and A.
Kumar, "Low Cost Home Automation System Using Wi-Fi
Based Wireless Sensor Network Incorporating Internet of
Things(IoT)", 2017 IEEE 7th International Advance Computing
Conference, pp. 174-178, 2017.
1386
Authorized licensed use limited to: Universidad Militar Nueva Granada. Downloaded on August 09,2021 at 15:35:27 UTC from IEEE Xplore. Restrictions apply.