Submitted:
24 October 2024
Posted:
28 October 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- pH - Indicates the acidity or alkalinity of a solution. It does not represent the measure of the quantity of acids or bases, but the relationship between them. The pH varies between 0 and 14. High or low pH values can be indicative of pollution, with normal values being considered between 6,5 and 8,5.
- Conductivity - This is an important parameter due to the ease of detecting contamination levels when measuring water conductivity. High conductivity means that the water contains a high level of contaminants, and the opposite is that drinking water is practically incapable of conducting electrical current. The unit of measurement for electrical conductivity is mS/cm and the normal value is up to 2 mS/cm.
- Turbidity - Is a measure of water transparency. Suspended particles such as silt, algae and organic materials can make the water appear cloudy or dirty. These particles scatter and absorb light rays instead of allowing the light to be transmitted through the water, harming aquatic flora and fauna. A high turbidity value indicates cloudier water, and a low value means clear water. Turbidity measurements are represented in Nephelometric Turbidity Units (NTU) and normal values are up to 5 NTU.
- Temperature - There is no ideal temperature for river water, but many aquatic organisms are sensitive to high temperatures and the solubility of oxygen is lower in warmer waters, thus limiting the supply of oxygen. The unit for temperature is degrees Celsius ºC.
2. State of the Art and Related Work
2.1. Related Work
3. IoT Technologies
3.1. LPWAN
3.2. LoRa Modulation
- Explicit mode - This is the default mode of operation. Here the header provides information on the payload, namely: payload length in bytes, forward error correction code rate and presence of an optional 16-bits CRC for the payload. The header is transmitted with maximum error correction code (4/8). It also has its own CRC to allow the receiver to discard invalid headers.
- Implicit mode - In certain scenarios, where the payload, coding rate and CRC presence are fixed or known in advance, it may be advantageous to reduce transmission time by invoking implicit header mode. In this mode the header is removed from the packet. In this case the payload length, error coding rate and presence of the payload CRC must be manually configured on both sides of the radio link.
4. System Design
4.1. Sensors and LoRa module
4.2. IoT Node
4.3. Gateway
5. Results
5.1. Energy Consumption
5.2. LoRa Radio Coverage
5.3. Monitoring a River (Real Scenario)
6. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- ORACLE, "What is IoT?," [Online]. Available: https://www.oracle.com/pt/internet-of-things/what-is-iot/. [Accessed 03 04 2024].
- L. Pires, "Redes de Sensores sem Fios: Aplicações para Supervisão e Monitorização de Infraestruturas," Manutenção, no. 135, pp. 66-68, 2017.
- ANACOM, "Utilização da Inernet das Coisas," Relatório Utilização da Inernet das Coisas, IoT, p. 7, 2023.
- K. A. Alnajjar, M. M. A. Fahmy, Y. M. Ali and S. Ansari, "Water Quality Monitoring System Based on the Internet of Things," IEEE 6th International Conference on Electrical, Electronics and System Engineering (ICEESE), pp. 32-37, 2023.
- V. Savel, P. Rakluea, T. Jangjing, B. Kumkhet, C. Mahatthanajatuphat and W. Thaiwirot, "IoT Based Water Quality Monitoring System Using Solar Powered and LoRaWAN," International Electrical Engineering Congress (iEECON), pp. 1-4, 2022.
- T. Cinterion, "NB-IoT Explained: What Is It, and How Does It Work?," 28 November 2022. [Online]. Available: https://www.telit.com/blog/nb-iot-new-cellular-standard-means-business/. [Accessed 11 04 2024].
- ROHDE & SCHWARZ, "Narrowband Internet of Things," 2016.
- Sigfox, "What is Sigfox 0G Technology," [Online]. Available: https://www.sigfox.com/what-is-sigfox/. [Accessed 11 04 2024].
- "What are LoRa and LoRaWAN?," Semtech, [Online]. Available: https://lora-developers.semtech.com/documentation/tech-papers-and-guides/lora-and-lorawan/. [Accessed 14 04 2024].
- "What is LoRaWAN® Specification," [Online]. Available: https://lora-alliance.org/about-lorawan/. [Accessed 14 04 2024].
- incibe, "The LoRaWAN protocol," 15 06 2023. [Online]. Available: https://www.incibe.es/en/incibe-cert/blog/lorawan-and-its-contribution-iiot. [Accessed 18 05 2024].
- M. Kais, B. Eddy, C. Frederic and M. Fernand, "A comparative study of LPWAN technologies for large-scale IoT," 2018.
- Z. Kamoona and M. Ilyas, "Investigating the Performance of LoRa Communication for Nominal LoRa and Interleaved Chirp Spreading LoRa," International Conference on Artificial Intelligence of Things (ICAIoT), 2022.
- SEMTECH, "LoRa Modulation Basics," AN1200.22, 2015.
- SEMTECH, "Designer’s Guide," AN1200.13, 2013.
- L. Allience, "LoRaWAN™ 1.1 Regional Parameters," p. 8, 2017.
- Arduino, "Arduino Mega ADK Rev3," Arduino, [Online]. Available: https://docs.arduino.cc/retired/boards/arduino-mega-adk-rev3/. [Accessed 12 03 2024].
- Foundation, "Node-RED," OpenJS Foundation, [Online]. Available: https://nodered.org/. [Accessed 12 03 2024].
- "Raspberry Pi 3 Model B+," Raspberry Pi, [Online]. Available: https://www.raspberrypi.com/products/raspberry-pi-3-model-b-plus/. [Accessed 10 June 2024].
- DFRobot, "Waterproof DS18B20 Digital Temperature Sensor for Arduino," DFRobot, [Online]. Available: https://www.dfrobot.com/product-689.html. [Accessed 12 03 2024].
- M. Dallas, "DS18B20," Analog Devices, [Online]. Available: https://www.analog.com/en/products/ds18b20.html. [Accessed 12 03 2024].
- A. D. Maxim, "Overview of 1-Wire Technology and Its Use," [Online]. Available: https://www.analog.com/en/resources/technical-articles/guide-to-1wire-communication.html. [Accessed 12 03 2024].
- Semtech, "SX1276/77/78/79 Datasheet," Semtech, 2020.
- DFRobot, "Gravity: Analog pH Sensor/Meter Kit V2," DFRobot, [Online]. Available: https://www.dfrobot.com/product-1782.html. [Accessed 12 03 2024].
- DFRobot, "Gravity: Analog Electrical Conductivity Sensor," DFRobot, [Online]. Available: https://www.dfrobot.com/product-1123.html. [Accessed 12 03 2024].
- S. Studio, "Grove - Turbidity Sensor (Meter) V1.0," Seed Studio, [Online]. Available: https://www.seeedstudio.com/Grove-Turbidity-Sensor-p-4399.html. [Accessed 12 03 2024].
- "TXB0108 8-Bit Bidirectional Voltage-Level Shifter," Texas Instruments, [Online]. Available: https://www.ti.com/product/TXB0108. [Accessed 10 06 2024].
- P. S. Foundation, "Python," Python Software Foundation, [Online]. Available: https://www.python.org/. [Accessed 12 03 2024].
- O. E. Foundation, "Eclipse Mosquitto - An open source MQTT broker," Eclipse Foundation, [Online]. Available: https://mosquitto.org/. [Accessed 12 03 2024].
- " Eclipse Paho MQTT Python client library," Eclipse, [Online]. Available: https://eclipse.dev/paho/index.php?page=clients/python/index.php. [Accessed 22 03 2024].

































| Sigfox | LoRaWAN | NB-IoT | |
| Modulation | BPSK | CSS | QPSK |
| Freq. Band | ISM | ISM | LTE |
| BW | 100 Hz | 125/250 kHz | 180 kHz |
| Bidirectional | Limited Half-duplex |
Yes Half-duplex |
Yes Half-duplex |
| Messages/day (max) |
140 (UL) 4 (DL) |
Limited (duty-cycle) |
Unlimited |
| Messages size (max) |
12 Byte (UL) 8 Byte (DL) |
243 Byte | 1600 Byte |
| Throughput (max) |
100 bit/s | 50 kbit/s | 160 kbit/s (UL) 120 kbit/s (DL) |
| Range | 10 km (urban) 40 km (rural) |
5 km (urban) 20 km (rural) |
1 km (urban) 10 km (rural) |
| Interference immunity | High | High | Low |
| Encryption | No | Yes (AES 128 bits) | Yes (LTE) |
| Private networks | No | Yes | No |
| Standard | Sigfox | LoRa Alliance | 3GPP |
| Water | Temp. | pH | Conductivity | Turbidity |
| River Jamor | 21 | 7,7 | 0,7 | 0 |
| Pub. Water supply (Cascais) | n.a. | 6,8 | 0,12 | 0 |
| Bottled Luso water | n.a. | 6 | 0 | 0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).