Abstract
A measurement and development platform for collecting water quality data (the WaterWatcher) was developed. The platform includes sensors to measure turbidity, total dissolved solids (TDS), and water temperature as variables that are often collected to assess water quality. The design is extensible for research and monitoring purposes, and all the design files are provided under open-source permissive licenses for further development. System design and operation are discussed for illustrative purposes. A block diagram indicates elements of mechanical, electrical, and software design for this system. The mechanical assembly used to house circuit boards and sensors is designed using 3D printing for rapid prototyping. The electronic circuit board acts as a carrier for an Arduino 32-bit microcontroller board and an associated cellular module along with a GPS for geolocation of water quality measurements. The cellular module permits data transfer for Internet of Things (IoT) functionality. System operation is set up using a command line interface (CLI) and C + + code that allows for calibration coefficients and human-readable transfer functions to be defined so that sensor voltages are related to physical quantities. Data are cached on a secure digital (SD) card for backup. The circuit was calibrated, and system operation assessed by deployment on an urban reservoir. Biogeochemical cycles were identified in the collected data using spectrogram and semivariogram analyses to validate system operation. As a system with hardware and software released under an open source license, the WaterWatcher platform reduces the time and effort required to build and deploy low-cost water quality measurement sensors and provides an example of the basic hardware design that can be used for measurements of water quality.
Similar content being viewed by others
Availability of data and material
Datasets (https://doi.org/10.6084/m9.figshare.14444672.v2) as well as images showing the assembly of the WaterWatcher and video of the wave testing experiment (https://doi.org/10.6084/m9.figshare.14428709.v1) are provided as Figshare downloads and licensed using a permissive license (https://creativecommons.org/licenses/by-sa/4.0/). The hardware as designed by the authors is licensed using the CERN open hardware license (CERN-OHL, https://www.ohwr.org/cernohl). Figure 1 photographs of sensors are courtesy of Digikey Incorporated (Thief River Falls, Minnesota, USA) and are used with permission, whereas photographic depictions of the Arduino platform are released as Creative Commons Attribution ShareAlike 3.0 (https://www.arduino.cc/en/Main/CopyrightNotice).
Code availability
All the data, design files, and programs used for this study can be downloaded from Figshare (https://doi.org/10.6084/m9.figshare.14444672.v2) and Github (https://github.com/nkinar/WaterWatcher). The software is licensed using the GNU GPL v3 (https://www.gnu.org/licenses/gpl-3.0.en.html).
References
Ammar, M., Russello, G., & Crispo, B. (2018). Internet of Things: A survey on the security of IoT frameworks. Journal of Information Security and Applications, 38, 8–27. https://doi.org/10.1016/j.jisa.2017.11.002
Badamasi, Y. A. (2014). The working principle of an Arduino. In 2014 11th International Conference on Electronics, Computer and Computation (ICECCO) (pp. 1–4). Presented at the 2014 11th International Conference on Electronics, Computer and Computation (ICECCO). https://doi.org/10.1109/ICECCO.2014.6997578
Bassett, L. (2015). Introduction to JavaScript Object Notation: A to-the-point guide to JSON. O’Reilly Media Inc.
Boehm, B., & Abts, C. (1999). COTS integration: Plug and pray? Computer, 32(1), 135–138. Presented at the Computer. https://doi.org/10.1109/2.738311
Bonaccorsi, A., & Rossi, C. (2003). Why open source software can succeed. Research Policy, 32(7), 1243–1258. https://doi.org/10.1016/S0048-7333(03)00051-9
Borne, K. E. (2014). Floating treatment wetland influences on the fate and removal performance of phosphorus in stormwater retention ponds. Ecological Engineering, 69, 76–82. https://doi.org/10.1016/j.ecoleng.2014.03.062
Brabec, E., Schulte, S., & Richards, P. L. (2002). Impervious surfaces and water quality: A review of current literature and its implications for watershed planning. Journal of Planning Literature, 16(4), 499–514. https://doi.org/10.1177/088541202400903563
Chandrappa, S., Dharmanna, L., Bhatta, U. V., & S. S., Sudeeksha, M., Suraksha, M. N., & Thrupthi, S. (2017). Design and development of IoT device to measure quality of water. International Journal of Modern Education and Computer Science, 9(4), 50–56. https://doi.org/10.5815/ijmecs.2017.04.06
Chen, Y., & Han, D. (2018). Water quality monitoring in smart city: A pilot project. Automation in Construction, 89, 307–316. https://doi.org/10.1016/j.autcon.2018.02.008
Chowdury, M. S. U., Emran, T. B., Ghosh, S., Pathak, A., Alam, M., M., Absar, N., et al. (2019). IoT based real-time river water quality monitoring system. Procedia Computer Science, 155, 161–168. https://doi.org/10.1016/j.procs.2019.08.025
City of Saskatoon. (2020). Northeast Swale monitoring report: Water quality and quantity 2020. Saskatoon, Canada: City of Saskatoon.
Conley, D. J., Paerl, H. W., Howarth, R. W., Boesch, D. F., Seitzinger, S. P., Havens, K. E., et al. (2009). Controlling eutrophication: Nitrogen and phosphorus. Science, 323(5917), 1014–1015. https://doi.org/10.1126/science.1167755
Das, B., & Jain, P. C. (2017). Real-time water quality monitoring system using Internet of Things. In 2017 International Conference on Computer, Communications and Electronics (Comptelix) (pp. 78–82). Presented at the 2017 International Conference on Computer, Communications and Electronics (Comptelix). https://doi.org/10.1109/COMP℡IX.2017.8003942
Davies-Colley, R. J., & Smith, D. G. (2001). Turbidity suspended sediment, and water clarity: A review. JAWRA Journal of the American Water Resources Association, 37(5), 1085–1101. https://doi.org/10.1111/j.1752-1688.2001.tb03624.x
Deblonde, T., Cossu-Leguille, C., & Hartemann, P. (2011). Emerging pollutants in wastewater: A review of the literature. International Journal of Hygiene and Environmental Health, 214(6), 442–448. https://doi.org/10.1016/j.ijheh.2011.08.002
DeFilippi, J. A., & Shih, C. S. (1971). Characteristics of separated storm and combined sewer flows. Journal (water Pollution Control Federation), 43(10), 2033–2058.
de Vlaming, V., Connor, V., DiGiorgio, C., Bailey, H. C., Deanovic, L. A., & Hinton, D. E. (2000). Application of whole effluent toxicity test procedures to ambient water quality assessment. Environmental Toxicology and Chemistry, 19(1), 42–62. https://doi.org/10.1002/etc.5620190106
Di Penta, M., German, D. M., Guéhéneuc, Y., & Antoniol, G. (2010). An exploratory study of the evolution of software licensing. In 2010 ACM/IEEE 32nd International Conference on Software Engineering (Vol. 1, pp. 145–154). Presented at the 2010 ACM/IEEE 32nd International Conference on Software Engineering. https://doi.org/10.1145/1806799.1806824
Dudak, J., Tanuska, P., Gaspar, G., & Fabo, P. (2018). ARM-based universal 1-wire module solution. Journal of Sensors, 2018, 1–16. https://doi.org/10.1155/2018/5268247
Eisenreich, D., & DeMuth, B. (2003). Designing embedded internet devices. Newnes.
Encinas, C., Ruiz, E., Cortez, J., & Espinoza, A. (2017). Design and implementation of a distributed IoT system for the monitoring of water quality in aquaculture. In 2017 Wireless Telecommunications Symposium (WTS) (pp. 1–7). Presented at the 2017 Wireless Telecommunications Symposium (WTS). https://doi.org/10.1109/WTS.2017.7943540
Farrell, C., Hassard, F., Jefferson, B., Leziart, T., Nocker, A., & Jarvis, P. (2018). Turbidity composition and the relationship with microbial attachment and UV inactivation efficacy. Science of the Total Environment, 624, 638–647. https://doi.org/10.1016/j.scitotenv.2017.12.173
Fisher, D. K., & Gould, P. J. (2012). Open-source hardware is a low-cost alternative for scientific instrumentation and research. Modern Instrumentation, 01(02), 8–20. https://doi.org/10.4236/mi.2012.12002
Fitzgerald, B. (2006). The transformation of open source software. MIS Quarterly, 30(3), 587–598. https://doi.org/10.2307/25148740
García, E., Quiles, E., Correcher, A., & Morant, F. (2018). Sensor buoy system for monitoring renewable marine energy resources. Sensors, 18(4), 945. https://doi.org/10.3390/s18040945
Geetha, S., & Gouthami, S. (2017). Internet of Things enabled real time water quality monitoring system. Smart Water, 2(1), 1. https://doi.org/10.1186/s40713-017-0005-y
Gholizadeh, M., Melesse, A., & Reddi, L. (2016). A comprehensive review on water quality parameters estimation using remote sensing techniques. Sensors, 16(8), 1298. https://doi.org/10.3390/s16081298
Gleeson, T., Wang-Erlandsson, L., Zipper, S. C., Porkka, M., Jaramillo, F., Gerten, D., et al. (2020). The water planetary boundary: Interrogation and revision. One Earth, 2(3), 223–234. https://doi.org/10.1016/j.oneear.2020.02.009
Goovaerts, P. (1997). Geostatistics for natural resources evaluation. Oxford University Press.
Gopavanitha, K., & Nagaraju, S. (2017). A low cost system for real time water quality monitoring and controlling using IoT. In 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS) (pp. 3227–3229). Presented at the 2017 International Conference on Energy, Communication, Data Analytics and Soft Computing (ICECDS). https://doi.org/10.1109/ICECDS.2017.8390054
Haslett, J. (1997). On the sample variogram and the sample autocovariance for non-stationary time series. Journal of the Royal Statistical Society: Series D (The Statistician), 46(4), 475–484. https://doi.org/10.1111/1467-9884.00101
Henley, W. F., Patterson, M. A., Neves, R. J., & Lemly, A. D. (2000). Effects of sedimentation and turbidity on lotic food webs: A concise review for natural resource managers. Reviews in Fisheries Science, 8(2), 125–139. https://doi.org/10.1080/10641260091129198
Ivan, I. A., Stihi, V., Ivan, M., Stihi, C., Rokotondrabe, M., & Jelea, A. (2011). Battery powered cost effective TDS logger intended for water testing. Romanian Journal of Physics, 56, 540–549.
Kamaludin, K. H., & Ismail, W. (2017). Water quality monitoring with internet of things (IoT). In 2017 IEEE Conference on Systems, Process and Control (ICSPC) (pp. 18–23). Presented at the 2017 IEEE Conference on Systems, Process and Control (ICSPC). https://doi.org/10.1109/SPC.2017.8313015
Karr, J. R., & Dudley, D. R. (1981). Ecological perspective on water quality goals. Environmental Management, 5(1), 55–68. https://doi.org/10.1007/BF01866609
Lee, M., Hwang, J., & Yoe, H. (2013). agricultural production system based on IoT. In 2013 IEEE 16th International Conference on Computational Science and Engineering (pp. 833–837). Presented at the 2013 IEEE 16th International Conference on Computational Science and Engineering. https://doi.org/10.1109/CSE.2013.126
Li, L., Xiaoguang, H., Ke, C., & Ketai, H. (2011). The applications of WiFi-based wireless sensor network in Internet of Things and smart grid. In 2011 6th IEEE Conference on Industrial Electronics and Applications (pp. 789–793). Presented at the 2011 6th IEEE Conference on Industrial Electronics and Applications. https://doi.org/10.1109/ICIEA.2011.5975693
Li, T., Xia, M., Chen, J., Zhao, Y., & De Silva, C. (2017). Automated water quality survey and evaluation using an IoT platform with mobile sensor nodes. Sensors, 17(8), 1735. https://doi.org/10.3390/s17081735
Liu, J., & Hekkenberg, R. (2017). Sixty years of research on ship rudders: Effects of design choices on rudder performance. Ships and Offshore Structures, 12(4), 495–512. https://doi.org/10.1080/17445302.2016.1178205
Liu, Y., Tong, K.-F., Qiu, X., Liu, Y., Ding, X. (2017). Wireless mesh networks in IoT networks. In 2017 International Workshop on Electromagnetics: Applications and Student Innovation Competition (pp. 183–185). Presented at the. (2017). International Workshop on Electromagnetics: Applications and Student Innovation Competition (iWEM). London, United Kingdom: IEEE. https://doi.org/10.1109/iWEM.2017.7968828
Madrid, Y., & Zayas, Z. P. (2007). Water sampling: Traditional methods and new approaches in water sampling strategy. TrAC Trends in Analytical Chemistry, 26(4), 293–299. https://doi.org/10.1016/j.trac.2007.01.002
Mangalvedhe, N., Ratasuk, R., & Ghosh, A. (2016). NB-IoT deployment study for low power wide area cellular IoT. In 2016 IEEE 27th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC) (pp. 1–6). Presented at the 2016 IEEE 27th Annual International Symposium on Personal, Indoor, and Mobile Radio Communications (PIMRC). https://doi.org/10.1109/PIMRC.2016.7794567
Marsalek, J. (1991). Pollutant loads in urban stormwater: Review of methods for planning-level estimates. JAWRA Journal of the American Water Resources Association, 27(2), 283–291. https://doi.org/10.1111/j.1752-1688.1991.tb03133.x
McGrane, S. J. (2016). Impacts of urbanisation on hydrological and water quality dynamics, and urban water management: A review. Hydrological Sciences Journal, 61(13), 2295–2311. https://doi.org/10.1080/02626667.2015.1128084
Moparthi, N. R., Mukesh, Ch., & Vidya Sagar, P. (2018). Water quality monitoring system using IOT. In 2018 Fourth International Conference on Advances in Electrical, Electronics, Information, Communication and Bio-Informatics (AEEICB) (pp. 1–5). Presented at the 2018 Fourth International Conference on Advances in Electrical, Electronics, Information, Communication and Bio-Informatics (AEEICB). https://doi.org/10.1109/AEEICB.2018.8480963
Myint, C. Z., Gopal, L., & Aung, Y. L. (2017). Reconfigurable smart water quality monitoring system in IoT environment. In 2017 IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS) (pp. 435–440). Presented at the 2017 IEEE/ACIS 16th International Conference on Computer and Information Science (ICIS). https://doi.org/10.1109/ICIS.2017.7960032
Nadaf, R., & Bonal, V. (2019). Smart mirror using Raspberry Pi as a security and vigilance system. In 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI) (pp. 360–365). Presented at the 2019 3rd International Conference on Trends in Electronics and Informatics (ICOEI). https://doi.org/10.1109/ICOEI.2019.8862537
Ng, I. C. L., & Wakenshaw, S. Y. L. (2017). The Internet-of-Things: Review and research directions. International Journal of Research in Marketing, 34(1), 3–21. https://doi.org/10.1016/j.ijresmar.2016.11.003
Oropallo, W., & Piegl, L. A. (2016). Ten challenges in 3D printing. Engineering with Computers, 32(1), 135–148. https://doi.org/10.1007/s00366-015-0407-0
Pal, A., Rath, H. K., Shailendra, S., & Bhattacharyya, A. (2018). IoT standardization: The road ahead. In J. Sen (Ed.), Internet of Things - Technology, Applications and Standardization. InTech. https://doi.org/10.5772/intechopen.75137
Panarello, A., Tapas, N., Merlino, G., Longo, F., & Puliafito, A. (2018). Blockchain and IoT integration: A systematic survey. Sensors, 18(8), 2575. https://doi.org/10.3390/s18082575
Parameswari, M., & Moses, M. B. (2019). Efficient analysis of water quality measurement reporting system using IOT based system in WSN. Cluster Computing, 22(5), 12193–12201. https://doi.org/10.1007/s10586-017-1581-1
Pasika, S., & Gandla, S. T. (2020). Smart water quality monitoring system with cost-effective using IoT. Heliyon, 6(7), e04096. https://doi.org/10.1016/j.heliyon.2020.e04096
Paul, M. J., Coffey, R., Stamp, J., & Johnson, T. (2019). A review of water quality responses to air temperature and precipitation changes 1: Flow, water temperature, saltwater intrusion. JAWRA Journal of the American Water Resources Association, 55(4), 824–843. https://doi.org/10.1111/1752-1688.12710
Pearce, J. M. (2012). Building research equipment with free, open-source hardware. Science, 337(6100), 1303–1304. https://doi.org/10.1126/science.1228183
Pranata, A. A., Jae Min Lee, & Dong Seong Kim. (2017). Towards an IoT-based water quality monitoring system with brokerless pub/sub architecture. In 2017 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN) (pp. 1–6). Presented at the 2017 IEEE International Symposium on Local and Metropolitan Area Networks (LANMAN). https://doi.org/10.1109/LANMAN.2017.7972166
Prasad, A. N., Mamun, K. A., Islam, F. R., & Haqva, H. (2015). Smart water quality monitoring system. In 2015 2nd Asia-Pacific World Congress on Computer Science and Engineering (APWC on CSE) (pp. 1–6). Presented at the 2015 2nd Asia-Pacific World Congress on Computer Science and Engineering (APWC on CSE). https://doi.org/10.1109/APWCCSE.2015.7476234
Prathibha, S. R., Hongal, A., & Jyothi, M. P. (2017). IOT based monitoring system in smart agriculture. In 2017 International Conference on Recent Advances in Electronics and Communication Technology (ICRAECT) (pp. 81–84). Presented at the 2017 International Conference on Recent Advances in Electronics and Communication Technology (ICRAECT). https://doi.org/10.1109/ICRAECT.2017.52
Raju, K. R. S. R., & Varma, G. H. K. (2017). Knowledge based real time monitoring system for aquaculture using IoT. In 2017 IEEE 7th International Advance Computing Conference (IACC) (pp. 318–321). Presented at the 2017 IEEE 7th International Advance Computing Conference (IACC). https://doi.org/10.1109/IACC.2017.0075
Rügner, H., Schwientek, M., Beckingham, B., Kuch, B., & Grathwohl, P. (2013). Turbidity as a proxy for total suspended solids (TSS) and particle facilitated pollutant transport in catchments. Environmental Earth Sciences, 69(2), 373–380. https://doi.org/10.1007/s12665-013-2307-1
Rusydi, A. F. (2018). Correlation between conductivity and total dissolved solid in various type of water: A review. IOP Conference Series: Earth and Environmental Science, 118, 012019. https://doi.org/10.1088/1755-1315/118/1/012019
Salerno, D., & Korsunsky, R. (1998). Practical considerations in the design of lithium-ion battery protection systems. In APEC ’98 Thirteenth Annual Applied Power Electronics Conference and Exposition (Vol. 2, pp. 700–707 vol.2). Presented at the APEC ’98 Thirteenth Annual Applied Power Electronics Conference and Exposition. https://doi.org/10.1109/APEC.1998.653975
Saravanan, K., Anusuya, E., Kumar, R., & Son, L. H. (2018). Real-time water quality monitoring using Internet of Things in SCADA. Environmental Monitoring and Assessment, 190(9), 556. https://doi.org/10.1007/s10661-018-6914-x
Saravanan, M., Das, A., & Iyer, V. (2017). Smart water grid management using LPWAN IoT technology. In 2017 Global Internet of Things Summit (GIoTS) (pp. 1–6). Presented at the 2017 Global Internet of Things Summit (GIoTS). https://doi.org/10.1109/GIOTS.2017.8016224
Sarik, J., & Kymissis, I. (2010). Lab kits using the Arduino prototyping platform. In 2010 IEEE Frontiers in Education Conference (FIE) (pp. T3C-1-T3C-5). Presented at the 2010 IEEE Frontiers in Education Conference (FIE). https://doi.org/10.1109/FIE.2010.5673417
Shen, R., Honghao, Y., Noble, B., Zeng, W., Gersher, S., Phung, T., et al. (2019). A GIS-based model of ecosystem services for the Northeast Swale in Saskatoon. Saskatchewan. Spatial Knowledge and Information Canada, 7(1), 4.
Soucek, D. J., Linton, T. K., Tarr, C. D., Dickinson, A., Wickramanayake, N., Delos, C. G., & Cruz, L. A. (2011). Influence of water hardness and sulfate on the acute toxicity of chloride to sensitive freshwater invertebrates. Environmental Toxicology and Chemistry, 30(4), 930–938. https://doi.org/10.1002/etc.454
Suo, H., Wan, J., Zou, C., & Liu, J. (2012). Security in the Internet of Things: A review. In 2012 International Conference on Computer Science and Electronics Engineering (Vol. 3, pp. 648–651). Presented at the 2012 International Conference on Computer Science and Electronics Engineering. https://doi.org/10.1109/ICCSEE.2012.373
Terada, D., Tamashima, M., Nakao, I., & Matsuda, A. (2019). Estimation of metacentric height using onboard monitoring roll data based on time series analysis. Journal of Marine Science and Technology, 24(1), 285–296. https://doi.org/10.1007/s00773-018-0552-4
Texas Instruments. (2011). Evaluation board kit important notice (ssyz019j). Dallas: Texas Instruments. https://www.ti.com/lit/pdf/ssyz019
Vijayakumar, N., & Ramya, R. (2015). The real time monitoring of water quality in IoT environment. In 2015 International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS) (pp. 1–5). Presented at the 2015 International Conference on Innovations in Information, Embedded and Communication Systems (ICIIECS). https://doi.org/10.1109/ICIIECS.2015.7193080
Weber-Scan, P. K., & Duffy, L. K. (2007). Effects of total dissolved solids on aquatic organisms: A review of literature and recommendation for salmonid species. American Journal of Environmental Sciences, 3(1), 1–6. https://doi.org/10.3844/ajessp.2007.1.6
Willocx, M., Bohé, I., Vossaert, J., & Naessens, V. (2018). Developing maintainable application-centric IoT ecosystems. In 2018 IEEE International Congress on Internet of Things (ICIOT) (pp. 25–32). Presented at the 2018 IEEE International Congress on Internet of Things (ICIOT). https://doi.org/10.1109/ICIOT.2018.00011
Wong, B. P., & Kerkez, B. (2016). Real-time environmental sensor data: An application to water quality using web services. Environmental Modelling & Software, 84, 505–517. https://doi.org/10.1016/j.envsoft.2016.07.020
Yu, L., Kin-Fai, T., Xiangdong, Q., Ying, L., & Xuyang, D. (2017). Wireless mesh networks in IoT networks. In 2017 International Workshop on Electromagnetics: Applications and Student Innovation Competition (pp. 183–185). Presented at the 2017 International Workshop on Electromagnetics: Applications and Student Innovation Competition. https://doi.org/10.1109/iWEM.2017.7968828
Zumbahlenas, H. (Ed.). (2008). Linear circuit design handbook. Elsevier/Newnes Press.
Acknowledgements
Thank you to Prof. John Pomeroy, Director of Global Water Futures and the Smart Water Systems Lab, for supporting this research. Thanks to the staff of the Toxicology Centre for the testing support and to Mr. Alistair Wallace (SWSL) for some assistance with the mechanical assembly. We thank and acknowledge Environment and Climate Change Canada (ECCC) for providing the precipitation data and Digikey Incorporated (Thief River Falls, Minnesota, USA) for providing electronic parts and permission to use photographs for Figure 1 of this paper. We thank the reviewers for providing helpful comments that have greatly improved the exposition and scope of this paper.
Funding
Western Economic Diversification (WED) funded the Smart Water Systems Lab, which received funding also from the Global Water Futures (GWF) program and the Global Institute for Water Security (GIWS). N. K. received funding from GWF and WED. M. B. received funding through the Natural Sciences and Engineering Research Council of Canada (NSERC) Discovery Grants program.
Author information
Authors and Affiliations
Contributions
Both authors (N. K. and M. B.) contributed equally to this paper.
Corresponding authors
Ethics declarations
Ethics approval
Ethics approval is not applicable for this study.
Consent to participate
Consent to participate is not applicable for this study.
Consent for publication
Both authors consented to the publication of this manuscript.
Conflict of interest
The authors declare no competing interests.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Rights and permissions
About this article
Cite this article
Kinar, N.J., Brinkmann, M. Development of a sensor and measurement platform for water quality observations: design, sensor integration, 3D printing, and open-source hardware. Environ Monit Assess 194, 207 (2022). https://doi.org/10.1007/s10661-022-09825-9
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s10661-022-09825-9