Next Article in Journal
Tool Wear Condition Monitoring by Combining Variational Mode Decomposition and Ensemble Learning
Next Article in Special Issue
Measuring Floodplain Inundation Using Diel Amplitude of Temperature
Previous Article in Journal
Low-Rank Matrix Recovery from Noise via an MDL Framework-Based Atomic Norm
Previous Article in Special Issue
Multiplexed Immunosensor Based on the Amperometric Transduction for Monitoring of Marine Pollutants in Sea Water
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:

Implementation and Evaluation of Open-Source Hardware to Monitor Water Quality in Precision Aquaculture

Rafael Apolinar Bórquez López
Luis Rafael Martinez Cordova
Juan Carlos Gil Nuñez
Jose Reyes Gonzalez Galaviz
Jose Cuauhtemoc Ibarra Gamez
1 and
Ramon Casillas Hernandez
Departamento de Ciencias Agropecuarias y Veterinarias del Instituto Tecnológico de Sonora, 5 de Febrero 818 Sur, Cd. Obregón 85000, SON, Mexico
Departamento de Investigaciones Científicas y Tecnológicas de la Universidad de Sonora, Boulevard Luis Donaldo Colosio Colosio s/n, Hermosillo 83000, SON, Mexico
CONACYT—Instituto Tecnológico de Sonora, 5 de Febrero 818 Sur, Cd. Obregón 85000, SON, Mexico
Author to whom correspondence should be addressed.
Sensors 2020, 20(21), 6112;
Submission received: 18 June 2020 / Revised: 29 July 2020 / Accepted: 29 July 2020 / Published: 27 October 2020
(This article belongs to the Special Issue Telemetry and Monitoring for Land and Water Ecosystems)


Precision aquaculture is a new field that allows farmers to have better control over aquaculture processes, facilitating decision-making and improving efficiency. The implementation and evaluation of a low-cost water-quality monitoring system based on open-source hardware, which is easy to rebuild for scientific applications, is reported in this paper. The proposed system measures temperature, dissolved oxygen, and pH, taking records and sending information through a wireless protocol (ZigBee) to a graphical user interface which can display information numerically and graphically, as well as simultaneously storing the information in a database. These variables are very important for aquaculture, as they have a direct influence on critical culture parameters such as growth and survival. Although it is a low-cost system, it offers good quality data and demonstrates efficiency for its use in precision aquaculture.

1. Introduction

Over the last four decades, aquaculture has become the fastest-growing agroindustry worldwide [1]. The global production of fish continues to grow slower than the population (mainly as fishing remains almost stable, at around 80 million MT). In this context, aquaculture has contributed more day by day, with a production of around 80 million MT (110 million MT, if aquatic plants are considered) having been reported by the FAO in 2018, with an associated value of approximately 243.5 billion dollars. This has increased the availability of aquatic food for human consumption from 10 kg per capita in 1960 to more than 20.2 kg per capita in 2015 [2]. The accelerated growth of aquaculture has made the necessary design and development of production systems with new technologies into a field known as “precision aquaculture” (or PAq). These technologies are capable of assisting aquafarmers in decision-making, including in intensified systems [3]. PAq can be considered as the application of information technologies (software and hardware) into the field of aquaculture biology, in order to provide support to the production systems. In developing countries, it is very relevant to facilitate access to such technologies, adapting them to the regional situation at accessible costs.
One of the most important aspects to consider in intensive aquaculture is the maintenance of water quality, as it is directly related to the adequate development of the farmed organisms. Poor water quality may be responsible for creating stress conditions, which can affect feed consumption, growth, survival, and reproduction. Thresholds or adequate levels of water-quality parameters depend on the type of culture [4]. The monitoring of physical and chemical variables, such as dissolved oxygen, temperature, and pH, in the water column is vital to maintain adequate conditions and to avoid undesirable situations which may lead to the collapse of aquaculture systems [5]. It has been well-documented that some aquatic species are highly sensitive to drops in dissolved oxygen levels, abrupt variations in temperature, and changes of pH. For those reasons, most instrumentation systems include sensors for these parameters, not only for monitoring them, but also to have early information about potential contaminants in the water [6]. Dissolved oxygen (DO) is a very important and limiting factor in aquaculture systems, as all aquatic organisms (except for some bacteria) need a source of DO to live and develop. For this reason, the concentration of DO in the water column is one of the most important aspects to manage for suitable aquaculture. Low levels of DO can affect the feed consumption and, in extreme cases, can cause mass mortalities of aquatic organisms [7,8,9]. The pH in freshwater ranges around 7, while that in marine waters is around 8. For shrimp farming, the recommended pH for optimal growth is from 7.0 to 9.0 [7]. When the pH is under 7 (acid), adverse effects on gill function and growth may result. If the level decreases under 4, acid death occurs; meanwhile, at levels over 11.0, alkaline death is possible. Temperature is another very important parameter for aquatic organisms, mainly for those which are poikilotherms, as their corporal temperature varies directly as function of environmental temperature. Wide variations in internal temperature can have significant effects on physiology and metabolism and, consequently, on feed consumption, growth, reproduction, and so on [9].
For the development of instrumentation systems, platforms known as open source hardware (OSH) have become widely available, which are new tools for the implementation of electronic projects. The Arduino, for instance, is a commercial platform which is very popular in the student community, as it permits the development of a suite of automation projects and, additionally, can save time. It was created in 2005 by the Interaction Design Institute Ivrea, Italy. OSH have become increasingly more utilized, due their versatility, in applications such as robotics, automation, precision agriculture, and many others [10,11,12]. On the other hand, wireless sensors networks (WSN) have become very useful tools to process information in an efficient manner for laboratories, saving time in analyzing samples [13]. At present, WSNs are used as a reliable tool for the monitoring of water-quality parameters (e.g., dissolved oxygen, temperature, and pH) in real time [14,15,16]. With the design of monitoring systems for water quality in aquaculture (including sensors for the aforementioned parameters), based on WSN with the transmission protocol ZigBee, it is possible to analyze and manage information of the environment around the organisms, which can help the farm manager to make decisions regarding aspects such as the increase of culture density (based on water-quality improvement); supplying the feed ration more adequately, or improving the feed conversion and the growth ratios (based on the interactions between consumption, temperature, and oxygen) [17]; maintaining the water-quality parameters more effectively [18]; reducing the eutrophication and hyper-nutrification produced by effluents; preventing the stress and diseases of farmed organisms [19]; and reducing the need for employees [20]. Low-cost (LC) monitoring systems for aquaculture are a priority in developing countries, as they can reach most people and provide benefits. Considering the aforementioned reasons, we decided to carry out this study. In this work, the development of a low-cost open-source hardware (LC OSH) for water-quality monitoring using simple electronics components—an RTD (resistance thermometer), pH sensor, and dissolved oxygen electrode—is studied. The present investigation is focused on the implementation and evaluation of a water-quality monitoring system using LC OSH for application in PAq, capable of making graphs and storing data for further processing and management. In such a way, this comprehensive study can allow for a simple design for a portable device fabrication.

2. Materials and Methods

The low-cost water-quality monitoring system was designed and evaluated at the Aquaculture Laboratory of the Department of Agricultural and Veterinary Science of the Instituto Tecnológico de Sonora, sited in Ciudad Obregón, Sonora, México (27.48° 29′ 2.1″ N, 109.93° 56′ 1.9″ W).
Briefly, the system consists of an open-source platform for hardware development with a network of wireless sensors of temperature, dissolved oxygen, and pH sensors. The system was adapted using software on a desktop computer using a serial port based on a depurator (USB serial converter). Figure 1 shows the model used for the monitoring of water-quality variables. The information generated by the sensors was read every minute and stored every 5 min; complete measurement of all three variables took about 3 s.

2.1. Hardware

The hardware design was based on the platforms Iteaduino/Arduino. The Arduino chip consists of a microcontroller with easy-to-use hardware and software. These platforms have the particularity of being open-code systems which work in a programing language similar to c++ [21]. In the present study, the platforms Iteaduino/Arduino version Mega were used; with an ATmega 2560 chip (specification sheet 2560, Atmel). Using open code from Arduino, the chip utilized was 100% compatible, having the same characteristics and with the same number of i/o pins, a wide pulse modulator with 8-bit resolution, 16 MHz oscillator crystal, universal serial communication port (UART), and 256 KB of flash memory, among other specifications. Figure 2 shows a picture of the platform and the depurator used. The depurator was manufactured by Atlas Scientific and its function was introducing the information to the computer and receiving instructions from the software; it works as a simple converter (from USB to serial). With the depurator, it is possible to power external modules which require 5 or 3 volts of direct current. The pins Rx and Tx shown in Figure 2 are connected to a wireless transceiver ZigBee, which is a key part of the WSN. The transceiver was fed 3 V from the depurator module. For appropriate functioning, the sensors were calibrated as recommended by the manufacturers, comparing them with commercial equipment limited to continuous automatic monitoring (data logging). Electrodes were installed completely vertically with the use of a two-inch PVC tube and fastened with a plastic belt to ensure the immobility of sensors and at the same measurement point, as shown in Figure 3.

2.2. Sensors

2.2.1. Dissolved Oxygen (DO)

In the present study, a kit sensor for DO was used. It consists of an analogue passive galvanic dissolved oxygen probe and an embedded circuit with the capacity for two communication protocols: universal asynchronous port receptor/transmitter (UART) and I2C inter-integrated circuit. The DO sensor can read in a range from 0.01 to +35.99 mg L−1 with a precision of ±0.2 mg L−1. The kit can compensate for temperature, salinity, and atmospheric pressure, its operation voltage is from 3.3 V to 5.0 V, and it is compatible with any microprocessor supporting UART communication. It needs to be calibrated once a year, depending on the operation conditions and use time. The calibration was done using a reference solution with 0 mg L−1 of DO [22].

2.2.2. PH

The analogue passive pH electrode connected to the embedded circuit for monitoring the pH in the system was similar to that used for DO, in that it supports both the UART and I2C communication protocols. It can read in a range from 0.001 to 14.000 with a precision of ± 0.02; additionally, it is possible to read temperature dependently or independently and, in this case, to have a better precision and accuracy, it was programmed to consider the dependence of pH on temperature [23]. Its operation voltage is from 3.3–5.0 V and it is compatible with any microprocessor supporting UART communication. Calibration may be done once a year and it has a flexible calibration protocol with one, two, or three points, using well-known standard solutions. For the present study, it was calibrated at three points—4.0, 7.0, and 10.0—to ensure precise measurement [22].

2.2.3. Temperature

In order to monitor this variable, a digital sensor tolerant of aggressive environments and any type of climatic condition (considering international standards and protection grade) was used (IP 68). These characteristics make the sensor adequate for use while submerged in either fresh or marine water. It reads in a range from –20 °C to 133 °C with a precision of ± 1 °C. Its operation voltage is 3–5 V direct current, as in the case of the other sensors. Communication with the microcontroller was carried out through the protocol UART configured for a transmission velocity of 9600 [22].

2.3. Software

The proposed water-quality monitoring system reads the values of the sensors through a graphical user interface (GUI) software, which is responsible for calling them and establishing a water-quality database. This permits access to analyses of future information, helping to recognize the conditions of the culture. The data reads are also graphed. The GUI was designed and programmed in the C# language, with the objective of having user-friendly, easy-to-use software. When the program is run, the connection is first carried out and the WSN is identified. When a wireless signal is available, the data is sent to the computer to be captured by the program and displayed in a numerical way, graphed, and stored, as shown in the flow diagram of Figure 4.

2.4. Performance Assessment

The LC reference equipment was installed in an 8 L aquarium with marine water and an air pump (RESUN AC-9602). This small system was chosen, in order to have better control and to ensure the same water quality throughout the aquarium. The reference equipment consisted of a pH meter (HANNA Instruments HI98128) and a multiparameter sensor for DO and temperature (YSI 551). With this equipment, 10 reads were taken per day (at different hours, in order to have randomized samples). To evaluate the efficiency and reliability of the system, four tests were performed: validation, operation continuity, reproducibility, and reliability. The validation test was done by comparison of the results randomly recorded by the commercial equipment with those obtained with the LC by means of an analysis of variance (ANOVA) of repeated measurements (P = 0.05, RMANOVA) using the software Sigma Plot for Windows version 12.0. The operation continuity test was done by maintaining the equipment in continuous operation for a long time, in order to evaluate its performance at present and provide a basis for further improvements. The reproducibility test consisted of the evaluation of three similar LC systems, in order to confirm the reproducibility of their reads and to detect whether significant differences were found among them, by means of one-way ANOVA (P = 0.05). Finally, the reliability test consisted of an evaluation of the sensitivity, resolution, precision, and accuracy of the equipment, analyzing each variable independently. For the sensibility analysis, Equation (1) (proposed by [24]) was used, where m is the dependent variable, determined by the least squares method, and σ is the standard deviation. The precision of any instrument is determined by the standard deviation of the reads for each variable and the deviation coefficient. Equations (3)–(5) were used to evaluate the precision of our equipment, while Equation (6) determined the accuracy of the data capture. Figure 5 shows the normal distribution of the reads, which indicates the characteristics of the instrument [24].
γ = m σ
m = Sxy S x x
σ = i = 1 N ( x i μ ) 2 N
μ = i = 1 N x i N
C V = σ μ 100
A = μ x t x t 100

3. Results

The data of the validation test showed no significant differences in any of the measured variables. The mean temperature of the reference equipment was 24.02 °C, while that in the proposed system was 24.05 °C, giving a non-significant difference of 0.03 °C. In the case of dissolved oxygen, the trend was similar, with a mean value of 7.14 mg L−1 in the reference equipment and 7.13 mgL−1 in the proposed system. For pH, the difference was a little greater (0.06), with a mean of 8.18 in the reference equipment and 8.24 in the proposed system. Table 1 shows the values recorded for each variable in the reference equipment and the proposed system. The highest coefficient of variation was observed for DO, with 17.72% to 18.19% of variation, which indicates that those sensors were a little more unstable, due to the water characteristics and the effect of temperature on this parameter. The pH standard deviation in the proposed system was ± 0.11; a similar value of ± 0.21 when using a wireless water-quality monitor has been reported [25].
Table 2 shows the results of repetitive tests; no statistically significant differences were found between them (P < 0.05).
A list of the utilized parts is presented in Table 3. It was fulfilled with the aim of developing a system with a low budget. The proposed system had an overall cost of 455€, in comparison to 1030€ with a similar system on the market (commercial price from personal communication with a local store); this represents a difference of 56% (580€). With the proposed system, there is a cost of approximate 150€ per variable measured. The proposed water-quality monitoring system, therefore, meets the requirement of a low-cost system, due to its price. Furthermore, it enables data logging. As can be seen from a comparison with commercially available equipment, its resolution and accuracy are sufficient for qualitative water-quality monitoring. In general, there is no other related equipment to compare with that presented in this study; however, it could be compared to other recent low-cost systems made with similar hardware, where costs can be compared [26,27,28].
Information stored in the database can be processed and displayed as a graph, from which the user can understand the status of an aquaculture system in a better way, and can correct problems or make decisions as soon as possible. Figure 6 shows these results in a graphical way, showing that the application of both systems in aquaculture is feasible and gives reliable information. The comparison between the reference equipment against the proposed LC OSH system follows the same pattern: the differences in the median values between groups are not great enough to exclude the possibility that the difference is due to random sampling variability and statistically significant differences (P < 0.05) were determined by Student’s t-tests.
For Figure 7a–c, n = 38 samples were taken completely at random and a positive linear correlation was obtained with the reference equipment, where it can be seen that the measurement of dissolved oxygen (Figure 7a) showed very good agreement, obtaining r2 = 0.81; the LC-OSH system average was 4.84 mg L−1, while that for the reference equipment was 4.82 mg L−1, representing a difference of only 0.5%. In a similar way, the measurement of pH obtained r2 = 0.72, with an average of 8.26 for the low-cost proposed system and 8.13 for the reference equipment, a difference of 1.5% between their averages. In the case of temperature, r2 = 0.97 was obtained, with an average temperature of 26.13 °C for the low-cost proposed system and 26.09 °C for the reference equipment; thus, their difference was 0.2%.
Figure 8 shows the results of the operation continuity test (reads of DO, temperature, and pH over 5 days), which demonstrate the sturdiness of the proposed LC OSH system, as the equipment worked continuously over 30 days without any problems. This is a very important finding as, in aquaculture, the production cycles are very long (up to one year), and the equipment must work without interruption. The maximum value recorded for dissolved oxygen was 8.3 mgL−1 and the minimum was 8.0 mgL−1; therefore, it can be noted that the dissolved oxygen was always in a ± 0.3 (maximum–minimum) range, where the oxygen source (blower) was never shut down. It can be noted that, as the temperature increases, oxygen decreases, and vice versa; such variation is due to the solubility of dissolved oxygen being inversely proportional to the temperature [29,30,31].
Regarding the repeatability test, the statistical analysis showed no significant differences among repetitions in any of the three parameters measured by the proposed LC OSH system. The mean temperatures were 23.66, 23.72, and 23.86 °C for repetitions 1, 2, and 3, respectively. For dissolved oxygen, the means were 6.44, 6.95, and 6.85 mg L−1 for the three repetitions; while, for pH, the mean values were 8.05, 8.37, and 7.94.
For the reliability test (precision, accuracy, and sensibility), the results showed a precision of 0.106 mg L−1 and a coefficient of variation (C.V.) of 0.42% for DO. For pH, the precision was 0.242 and the C.V. was 2.6%. In the case of temperature, the precision was 0.106 °C and the C.V. was 0.421%. Table 4 lists the results for the three parameters.
The above results indicate that the designed equipment can be used as a reliable tool in aquaculture, as the reads were very near to those considered as the true accepted value.

4. Discussion

The novelty of the proposed system mainly consists of the application of open-source hardware, which provides new opportunities for the research of in situ sensing in aquaculture systems with high precision and the behavior of cultured organisms (e.g., crustaceans, fish, and shellfish). The system allows for continuous recording and storing of water physicochemical variables for metrological traceability in precision aquaculture applications. The designed low-cost equipment can provide useful information, including under harsh aquaculture environments; therefore, more consideration in care and handling are required. A growing tendency in the development of instruments such as the proposed LC system to evaluate water quality has been observed worldwide, due to the problems faced by modern aquaculture; mainly those related to hygiene and environmental care. In developing countries, as is the case in Latin America, the innovation or development of different monitoring systems using open platforms (software or hardware) is of great interest, as they are cheaper [31] and can represent savings between 30–60% [26,30,32]; in addition, they have great potential to advance food security [33].
There are currently several ways to feed aquaculture crops, one of which considers the physicochemical variables of water—especially temperature and dissolved oxygen—as they have an effect on the food intake of organisms [34]. For this reason, different platforms have been developed to supply feed based on sensors [35,36,37] and so the proposed LC OSH monitoring system could be very useful for the development of automatic feeders. There are some very important challenges for the improvement of such systems, one of them being calibration: the programming codes could be made even more robust, such that the system can detect patterns associated with the need for re-calibration. The energy used for the evaluation of the proposed LC OSH system was provided by a local electricity supplier; however, some farms in the region do not have access to the electrical grid, due to their geographical location (i.e., difficulty of access or being a large distance from cities) [38] and, so, it would be appropriate to consider, in the future, powering these systems with solar energy or rechargeable batteries using solar energy. Another challenge is access to the Internet, as mentioned above. The locations of farms make Internet connection complicated although, due to technological advances in communications, there are now more and more tools available for connecting to the Internet [39], which would be excellent, for example, for adding the proposed LC OSH system to the IoT.
Some feasible improvements to the proposed LC OSH system could be: (1) the inclusion of a monitor of water-quality index, a tool which provides a general overview of the state of contamination of the water column, that can positively help to manage the farm for a better production response [4,5,39,40,41,42,43]; (2) the incorporation of more water-quality electrodes, such as conductivity, turbidity, and ion-selective electrodes; (3) furthermore, the addition of ion-selective electrodes (e.g., Mg, K, Ca, P, and Na) can be very useful in low-salinity cultures where the ionic balance is a key aspect—for example, some physiological and metabolic functions of shrimp, such as osmoregulation, have been directly related to Mg and K ions [44,45]; and (4) the inclusion of a module for the generation of early alerts, which are essential for farmers.

5. Conclusions

In this paper, the implementation of a low-cost open-source hardware system for monitoring and recording water-quality variables for aquaculture production was presented and evaluated. The proposed system was evaluated based on a comparative study assessing the measurement quality in terms of statistical analyses and comparison with commercial equipment. The results demonstrated that the data quality of the proposed system is appropriate for its use in aquaculture, with no statistically significant differences found between the proposed LC OSH system and a commercial system. The results obtained showed that the implemented system is not only a low-cost tool, but it is also precise and reliable. Considering the cost of the components, it also has a very good resolution and accuracy. These values can be used by researchers as a basis for developing remote-monitoring systems and automatic feeders based on sensors, as it is relatively easy-to-use measuring system for precision aquaculture with low cost, allowing its access to low-budget farmers.

Author Contributions

Conceptualization, J.C.G.N.; Data curation, J.R.G.G.; Funding acquisition, J.C.I.G. and R.C.H.; Investigation, R.A.B.L.; Methodology, R.A.B.L.; Project administration, R.C.H. Resources, J.C.G.N.; Supervision, L.R.M.C. and J.C.I.G.; Writing—original draft, R.A.B.L.; Writing—review & editing, L.R.M.C. All authors have read and agreed to the published version of the manuscript.


This research received no external funding.


R. Bórquez and J. Gil would like to thank CONACYT for awarding doctoral scholarships. This study was supported by Instituto Tecnológico de Sonora Project PROFAPI_2020_0483. The authors also thank the Consejo Nacional de Ciencia y Tecnologıa for supporting project No. 1037 of Cátedras CONACYT.

Conflicts of Interest

The authors declare no conflict of interest.


  1. Martinez-Porchas, M.; Martinez-Cordova, L.R. Article world aquaculture: Environmental impacts and troubleshooting alternatives. Sci. World J. 2012, 4, 389623. [Google Scholar] [CrossRef] [Green Version]
  2. FAO. The State of World Fisheries and Aquaculture; FAO: Rome, Italy, 2018. [Google Scholar]
  3. Papandroulakis, N.; Dimitris, P.; Pascal, D. An automated feeding system for intensive hatcheries. Aquac. Eng. 2002, 26, 13–26. [Google Scholar] [CrossRef]
  4. Carbajal-Hernández, J.J.; Sánchez-Fernández, L.P.; Villa-Vargas, L.A.; Carrasco-Ochoa, J.A.; Martínez-Trinidad, J.F. Water quality assessment in shrimp culture using an analytical hierarchical process. Ecol. Indic. 2013, 29, 148–158. [Google Scholar] [CrossRef]
  5. Ferreira, N.C.; Bonetti, C.; Seiffert, W.Q. Hydrological and water quality indices as management tools in marine shrimp culture. Aquaculture 2011, 318, 425–433. [Google Scholar] [CrossRef]
  6. Harun, A.; Ndzi, D.L.; Ramli, M.F.; Shakaff, A.Y.M.; Ahmad, M.N.; Kamarudin, L.M.; Zakaria, A.; Yang, Y. Signal propagation in aquaculture enviroment for wireless sensor networks applications. Prog. Electromagn. Res. 2012, 131, 477–494. [Google Scholar] [CrossRef] [Green Version]
  7. Casillas-Hernández, R.; Nolasco-Soria, H.; García-Galano, T.; Carrillo-Farnes, O.; Páez-Osuna, F. Water quality, chemical fluxes and production in semi-intensive Pacific white shrimp (Litopenaeus vannamei) culture ponds utilizing two different feeding strategies. Aquac. Eng. 2007, 36, 105–114. [Google Scholar] [CrossRef]
  8. Martinez-Cordova, L.R.; Porchas-Cornejo, M.A.; Villarreal-Colmenares, H.; Calderon-Perez, J.A. Evaluation of three feeding practices on the winter culture of yellowleg shrimp, Penaeus californiensis (Holmes), in low water exchange ponds. Aquac. Res. 1998, 29, 573–578. [Google Scholar] [CrossRef]
  9. García Sánchez, S.; Juárez Agis, A.; Olivier Salome, B.; Rivas González, M.; Zeferino Torres, J. Environmental physicochemical variables that affect the shrimp farming Litopenaeus vannamei, Coyuca de Benítez, Guerrero, México. Revista Mexicana de Agroecosistemas 2018, 2, 135–155. [Google Scholar]
  10. Mesas-Carrascosa, F.J.; Verdú Santano, D.; Meroño, J.E.; Sánchez de la Orden, M.; García-Ferrer, A. Open source hardware to monitor environmental parameters in precision agriculture. Biosyst. Eng. 2015, 137, 73–83. [Google Scholar] [CrossRef]
  11. Bonarini, A.; Matteucci, M.; Migliavacca, M.; Rizzi, D. R2P: An open source hardware and software modular approach to robot prototyping. Robot. Auton. Syst. 2014, 62, 1073–1084. [Google Scholar] [CrossRef]
  12. Faugel, H.; Bobkov, V. Open source hard- and software: Using Arduino boards to keep old hardware running. Fusion Eng. Des. 2013, 88, 1276–1279. [Google Scholar] [CrossRef] [Green Version]
  13. Zhang, M.; Li, D.; Wang, L. Design and development of water quality monitoring system based on wireless sensor network in aquaculture. In Advances in Information and Communication Technology; Springer: Berlin/Heidelberg, Germany, 2011; Volume 347. [Google Scholar]
  14. Yoshikawa, T.; Murata, O.; Furuya, K.; Eguchi, M. Short-term covariation of dissolved oxygen and phytoplankton photosynthesis in a coastal fish aquaculture site. Estuar. Coast. Shelf Sci. 2007, 74, 515–527. [Google Scholar] [CrossRef]
  15. Lin, Q.; Jian, Z.; Xu, M.; Zetian, F.; Wei, C.; Xiaoshuan, Z. Developing WSN-based traceability system for recirculation aquaculture. Math. Comput. Model. 2011, 53, 2162–2172. [Google Scholar] [CrossRef] [Green Version]
  16. Ferdoush, S.; Li, X. Wireless sensor network system design using raspberry pi and arduino for environmental monitoring applications. Procedia Comput. Sci. 2014, 34, 103–110. [Google Scholar] [CrossRef] [Green Version]
  17. Miller, G.A.; Farahani, H.J.; Hassell, R.L.; Khalilian, A.; Adelberg, J.W.; Wells, C.E. Field evaluation and performance of capacitance probes for automated drip irrigation of watermelons. Agric. Water Manag. 2014, 131, 124–134. [Google Scholar] [CrossRef]
  18. Ehret, D.L.; Hill, B.D.; Helmer, T.; Edwards, D.R. Neural network modeling of greenhouse tomato yield, growth and water use from automated crop monitoring data. Comput. Electron. Agric. 2011, 79, 82–89. [Google Scholar] [CrossRef]
  19. Chiu, Y.-C.; Yang, P.-Y.; Grift, T.E. A wireless communication system for automated greenhouse operations. Eng. Agric. Environ. Food 2014, 7, 78–85. [Google Scholar] [CrossRef]
  20. Espinosa-Calderon, A.; Bórquez-López, R.A.; Rico-García, E.; Martin, O.-L.; Guevara-Gonzales, R. Optical spectroscopy as a first step for noninvasive plant nutrition evaluation. Mex. Opt. Photonics Meet. 2013, 52, 82–89. [Google Scholar]
  21. Arduino Homepage. Available online: (accessed on 10 July 2020).
  22. Atlas Scientific Homepage. Available online: (accessed on 10 July 2020).
  23. Sardarinejad, A.; Maurya, D.K.; Khaled, M.; Alameh, K. Temperature effects on the performance of RuO2 thin-film pH sensor. Sens. Actuators A Phys. 2015, 233, 414–421. [Google Scholar] [CrossRef]
  24. Mandel, J.; Stiehler, R.D. Sensitivity—A criterion for the comparison of methods of test. J Res Natl. Bur. Stand. 1954, 53, 155–159. [Google Scholar] [CrossRef]
  25. Simbeye, D.S.; Zhao, J.; Yang, S. Design and deployment of wireless sensor networks for aquaculture monitoring and control based on virtual instruments. Comput. Electron. Agric. 2014, 102, 31–42. [Google Scholar] [CrossRef]
  26. Schmidt, M.; Penner, D.; Burkl, A.; Stojanovic, R.; Schümann, T.; Beckerle, P. Implementation and evaluation of a low-cost and compact electrodermal activity measurement system. Measurement 2016, 92, 96–102. [Google Scholar] [CrossRef]
  27. Savic, M.; Gersak, G. Metrological traceability of a system for measuring electrodermal activity. Measurement 2015, 59, 192–197. [Google Scholar] [CrossRef]
  28. Ferrero Martín, F.J.; Valledor Llopis, M.; Campo Rodríguez, J.C.; Blanco González, J.R.; Menéndez Blanco, J. Low-cost open-source multifunction data acquisition system for accurate measurements. Measurement 2014, 55, 265–271. [Google Scholar] [CrossRef]
  29. Braibanti, A.; Fisicaro, E.; Compari, C. Solubility of oxygen and inert substances in water. Polyhedron 2000, 19, 2457–2461. [Google Scholar] [CrossRef]
  30. Tromans, D. Temperatura and pressure dependent solubility of oxygen in water: A thermodynamic analysis. Hydrometallurgy 1998, 48, 327–342. [Google Scholar] [CrossRef]
  31. Lewis, A.J.; Campbell, M.; Stavroulakis, P. Performance evaluation of a cheap, open source, digital environmental monitor based on the Raspberry Pi. Measurement 2016, 87, 228–235. [Google Scholar] [CrossRef]
  32. Fatoni, A.; Nur Aziz, A.; Dwi Anggraeni, M. Low-cot and real-time color detector developments for glucose biosensor. Sens. Bio-Sens. Res. 2020, 28, 100325. [Google Scholar] [CrossRef]
  33. Groene, B.; Knopp, N.; Korgan, K.; Perry, R.; Romero, J.; Smith, K.; Stainback, A.; Strzelczyk, A.; Henriques, J. Preliminary design of a low-cost greenhouse with open source control systems. Procedia Eng. 2015, 107, 470–479. [Google Scholar] [CrossRef] [Green Version]
  34. Martínez-Córdova, L.R.; Porchas-Cornejo, M.A.; Villareal - Colemnares, H.; Calderon-Perez, J.A.; Naranjo-Paramo, J. Evaluation of three feeding strategies on the culture of white shrimp penaeus vannamei boone 1931 in low water exchange ponds. Aquac. Eng. 1998, 17, pp. 21–28. Available online: (accessed on 27 October 2020).
  35. Bórquez-Lopez, R.A.; Casillas-Hernández, R.; Lopez-Elías, J.A.; Barraza-Guardado, R.H.; Martinez-Cordova, L.R. Improving feeding strategies for shrimp farming using fuzzy logic, based on water quality parameters. Aquac. Eng. 2018, 81, 38–45. [Google Scholar] [CrossRef]
  36. Zhao, S.; Ding, W.; Zhao, S.; Gu, J. Adaptive neural fuzzy inference system for feeding decision-making of grass carp (Ctenopharyngodon idellus) in outdoor intensive culturing ponds. Aquaculture 2008, 498, 28–36. [Google Scholar] [CrossRef]
  37. Soto-Zarazúa, G.M.; Rico-García, E.; Ocampo, R.; Guevara-González, R.G.; Herrera-Ruiz, G. Fuzzy-logic-based feeder system for intensive tilapia production (Oreochromis niloticus). Aquac. Int. 2010, 18, 379–391. [Google Scholar] [CrossRef]
  38. IEG Review Team.2016. Mexico-MX (CRL2) Integrated Energy Services (English). Washington, D.C.: World Bank Group. Available online: (accessed on 27 October 2020).
  39. Martínez-Domínguez, M.; Mora-Rivera, J. Internet adoption and usage patterns in rural Mexico. Technol. Soc. 2020, 60, 101226. [Google Scholar] [CrossRef]
  40. Colmenarejo, M.F.; Vicente, J.; Rubio, A.; Garcia, G. Use of the water quality index and dissolved oxygen deficit as simple indicators of watersheds pollution. Ecol. Indic. 2007, 7315–7328. [Google Scholar] [CrossRef]
  41. Lermontov, M.; Augusta, M.; Machado, S. River quality analysis using fuzzy water quality index: Ribeira do Iguape river watershed, Brazil. Ecol. Indic. 2009, 9, 1188–1197. [Google Scholar] [CrossRef]
  42. Simo, S.; Nobre, S.M.; Josefa, M.; Yabe, S. Water quality index as a simple indicator of aquaculture effects on aquatic bodies. Ecol. Indic. 2008, 8, 476–484. [Google Scholar] [CrossRef]
  43. Barraza-Guardado, R.H.; Arreola-Lizárraga, J.A.; Miranda-Baeza, A.; Juárez-García, M.; Juvera-Hoyos, A.; Casillas-Hernández, R. Enhancing ecoefficiency in shrimp farming through interconnected ponds. J. Biomed. Biotechnol. 2015, 1, 1–11. [Google Scholar] [CrossRef] [Green Version]
  44. Roy, L.A.; Davis, D.A.; Saoud, I.P.; Boyd, C.A.; Pine, H.J.; Boyd, C.E. Shrimp culture in inland low salinity waters. Rev. Aquac. 2010, 2, 191–208. [Google Scholar] [CrossRef]
  45. Roy, L.A.; Davis, D.A.; Saoud, I.P.; Henry, R.P. Effects of varying levels of aqueous potassium and magnesium on survival, growth, and respiration of the Pacific white shrimp, Litopenaeus vannamei, reared in low salinity waters. Aquaculture 2007, 262, 461–469. [Google Scholar] [CrossRef]
Figure 1. System component structure.
Figure 1. System component structure.
Sensors 20 06112 g001
Figure 2. Experimental setup with 7 g five shrimp in 20 L of marine water and the proposed electronic system (gray box).
Figure 2. Experimental setup with 7 g five shrimp in 20 L of marine water and the proposed electronic system (gray box).
Sensors 20 06112 g002
Figure 3. (a) PVC tube with vertical electrodes; and (b) underneath view of electrodes: black for dissolved oxygen, yellow for pH, and red sensor is temperature (from atlas scientific).
Figure 3. (a) PVC tube with vertical electrodes; and (b) underneath view of electrodes: black for dissolved oxygen, yellow for pH, and red sensor is temperature (from atlas scientific).
Sensors 20 06112 g003
Figure 4. Flow diagram of communication software with low-cost open-source hardware (LC OSH).
Figure 4. Flow diagram of communication software with low-cost open-source hardware (LC OSH).
Sensors 20 06112 g004
Figure 5. Normal distribution of instrument characteristics.
Figure 5. Normal distribution of instrument characteristics.
Sensors 20 06112 g005
Figure 6. Comparison between reference equipment and low-cost proposed system: (a) dissolved oxygen sensor, (b) pH sensor, and (c) temperature sensor.
Figure 6. Comparison between reference equipment and low-cost proposed system: (a) dissolved oxygen sensor, (b) pH sensor, and (c) temperature sensor.
Sensors 20 06112 g006
Figure 7. Scatterplots of low-cost open source hardware data versus reference equipment data. Dotted lines show the calculated r2 value of dissolved oxygen (a), pH (b) and temperature (c).
Figure 7. Scatterplots of low-cost open source hardware data versus reference equipment data. Dotted lines show the calculated r2 value of dissolved oxygen (a), pH (b) and temperature (c).
Sensors 20 06112 g007
Figure 8. Behavior of the proposed low-cost system over the test time.
Figure 8. Behavior of the proposed low-cost system over the test time.
Sensors 20 06112 g008
Table 1. Comparison of reads of water-quality parameters between the low-cost (LC) proposed system and reference equipment.
Table 1. Comparison of reads of water-quality parameters between the low-cost (LC) proposed system and reference equipment.
Temperature [°C]Dissolved Oxygen [mg L−1]pH
Std. Dev.2.922.811.
Table 2. Comparison of temperature, dissolved oxygen, and pH in three repetitions. a: statistically significant difference.
Table 2. Comparison of temperature, dissolved oxygen, and pH in three repetitions. a: statistically significant difference.
Temperature [°C]Dissolved Oxygen [mg L−1]pH
LC 1LC 2LC 3LC 1LC 2LC 3LC 1LC 2LC 3
Mean23.66 a23.72 a23.86 a6.44 a6.95 a6.85 a8.05 a8.37 a7.94 a
Std. Dev.0.2480.2710.2510.1040.0800.0660.1190.0560.055
Table 3. Price list of each of the components used.
Table 3. Price list of each of the components used.
LabelTypeQuantityApproximate Price (€)
Power unit9 V14
Transceiver modulesXBEE XBP24-BZ7UIT-004272
MicrocontrollerIteaduino MEGA2650113
DebuggerUSB FOCA FT232RL17
Serial port expander74HC4052 Multiplexor110
Embedded dissolved oxygen circuitAtlas Scientific139
Dissolved oxygen probeMembrane-type PTFE1200
Embedded pH circuitAtlas Scientific135
pH probeSilver/silver chloride170
Total 450
Table 4. Reliability (precision, accuracy, and sensibility) of the proposed low-cost water-quality system (σ is standard deviation and C.V. coefficient of variation).
Table 4. Reliability (precision, accuracy, and sensibility) of the proposed low-cost water-quality system (σ is standard deviation and C.V. coefficient of variation).
TemperatureDissolved OxygenpH
Precision [σ, C.V.]±0.106 °C, 0.42%±0.177 mg L−1, 4.28%±0.242, 2.6%
Accuracy0.18 °C0.0160.006
Sensibility0.038 °C0.017 mg L−10.018
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Bórquez López, R.A.; Martinez Cordova, L.R.; Gil Nuñez, J.C.; Gonzalez Galaviz, J.R.; Ibarra Gamez, J.C.; Casillas Hernandez, R. Implementation and Evaluation of Open-Source Hardware to Monitor Water Quality in Precision Aquaculture. Sensors 2020, 20, 6112.

AMA Style

Bórquez López RA, Martinez Cordova LR, Gil Nuñez JC, Gonzalez Galaviz JR, Ibarra Gamez JC, Casillas Hernandez R. Implementation and Evaluation of Open-Source Hardware to Monitor Water Quality in Precision Aquaculture. Sensors. 2020; 20(21):6112.

Chicago/Turabian Style

Bórquez López, Rafael Apolinar, Luis Rafael Martinez Cordova, Juan Carlos Gil Nuñez, Jose Reyes Gonzalez Galaviz, Jose Cuauhtemoc Ibarra Gamez, and Ramon Casillas Hernandez. 2020. "Implementation and Evaluation of Open-Source Hardware to Monitor Water Quality in Precision Aquaculture" Sensors 20, no. 21: 6112.

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop