Professional Documents
Culture Documents
LoRaWAN Gateway Architecture For Aquaculture Monitoring in Rural Area
LoRaWAN Gateway Architecture For Aquaculture Monitoring in Rural Area
Dhruval Singh, Govind Sharma, Ishan Minhas, Gurkirat Singh, Pranav Mahajan, Poonam Verma, Gitanjali Chandwani Manocha
Electronics and Communication Engineering department
Thapar Institute of Engineering and technology, Patiala, Punjab, India
dhruvalmahal@gmail.com
Abstract—In fish farming, it is imperative to have detailed The Gateways uses high bandwidth networks like Wi-Fi,
data about water quality, dissolved oxygen and nutrients etc., Ethernet or Cellular to connect to the IoT platform due to the
not only in large scale classic farming applications but also for large traffic that can be collected from the connected Nodes.
urban aquaculture. To ensure the survival of the fish, the
water should be monitoring at regular intervals. This periodic A Gateway can communicate with hundreds or thousands
monitoring is cumbersome and prone to human error if done of LoRa nodes. If more Gateways are in the Node coverage
manually. Live and automated monitoring will not only save area, all the Gateways will receive the messages and forward
human effort but also increase the productivity of the fishing them to the IoT platform. Specialized algorithm are utilized
farming. This automated monitoring requires robust network by IoT platform to filter the duplicated or unwanted
connectivity to ensure live data collection using sensors and messages and will select the best Gateway to forward any
storage in cloud/server. However, for rural area the network messages queued for downlink.
connectivity may or may not be available. LoRaWAN is very
popular Internet of Things (IoT) access network technology. In We demonstrate installation of the LoRaWAN gateway
this paper, we carry out experiment to extend the network and create a mesh network of the LoRa nodes sending data to
range using LoRaWAN (Long Range Wide Area Network) for a single centralized LoRaWAN gateway with the following
live and automated aquaculture monitoring. The monitoring is objectives:
done with the various sensors that collect data related to
quality of water at different time and sending the data to the
• Connecting the gateway to internet.
nearest LoRaWAN Sensor Node, which further forwards the • Connecting the gateway to The things network.
aggregated data to LoRaWAN gateway. The LoRaWAN radio
module that allows long-range wireless data transmission and • Measuring range of gateway and plotting RSSI VS
low-power battery operation for several months at reasonable Distance graph.
module costs The proposed system is evaluated in terms of
transmission range, battery runtime and sensor data accuracy.
For the implementation the following hardware and
software components are used. Sensors like analogue
Keywords—LoRaWAN, Gateway, Aquaculture, IoT conductivity sensor, pH sensor, dissolved oxygen sensor,
grove ORP sensor, bme680 sensor module, antenna, PyGate-
8 channel Lora gateway, PyCom FiPy Module, PyCom LoPy
I. INTRODUCTION Module [1]-[4]. For making a gateway we will be using
Water quality monitoring for aquaculture is a crucial task PyGate 8 channel LoRa gateway along with PyCom LoPy
that needs to be performed periodically. Monitoring of water module. With LoRa, Wifi and BLE, the LoPy is the only
quality requires sensors such as water conductivity, dissolved triple bearer Micro Python enabled micro controller on the
oxygen, turbidity and pH improves feed ratios, minimizes market today – the perfect enterprise grade IoT platform for
fish stress, reduces fish disease and mortality Such your connected Things. The LoPy can also function as a
monitoring can be automated by using physical sensors single-channel gateway, however The Things Network
sensing the water quality parameters like PH, impurities etc. discourages the use of single-channel gateways. Thus, multi-
The data is transferred to the nearest LoRaWAN node in real gateway is used instead.
time and then the LoRaWAN nodes will transfer the data to
the Gateway. From the Gateway the data is uploaded to the II. METHODOLOY
cloud where the analysis of the data is be done and the user
can monitor data on the mobile through application. LoRa A. Parts of the Network
gateways are radio modules that serve as communication
devices within a LoRa network between end- devices and a
LoRaWAN network server (LNS). A LoRa gateway is
mostly used to transmit sensor data from an electrical device
to the cloud.
The Gateways are essential in the LoRa technology,
forming a bridge between the LoRa nodes and the user
application, where the messages are delivered and displayed.
These bridges will forward the data packets, after adding
some information regarding the quality of the reception, to
the IoT platform like The Things Network, Thing Speak,
Ada fruitIO, Ubidots, etc., from where the user can obtain
the requested data from the field, where the Node is placed.
Fig. 1. View of LoRaWAN network
2
Authorized licensed use limited to: Mukesh Patel School of Technology & Engineering. Downloaded on October 19,2023 at 14:51:27 UTC from IEEE Xplore. Restrictions apply.
B. Range Optimisation
Success Rate in the above experiment not being 100%, is
countered by LoRaWAN standards. The communication can
be configured in a way that the messages have to be
confirmed by the receiver and the sender waits for an
acknowledgement and sends the data again if the
acknowledgement is missing.
At checkpoint 1 the signal passes 4 buildings out of
which two were high rise buildings resulting in disruption of
line of sight and also attenuates the signal and provides
success rate of 96%. At checkpoint 2 signal passed through 6
buildings and success rate is 100% because they were low
rise apartments thus signal reached the gateway even form a
distance of 863m. At checkpoint 3 at a distance about 960m Fig. 4. RSSI vs. Distance Graph (45m height positioning)
14 buildings came in range of gateway but the success rate
was 92%. Out of 14 eight buildings were high rise and rest
IV. CONCLUSION
were low rise apartments. At checkpoint 4 the area was
almost empty as a result greater success rate is seen and only LoRaWAN is an excellent piece of technology that can
six buildings were there as obstacles and covered 1070 m. At be really useful. Hereby we make some conclusions from the
checkpoint 5 success rate was 98%. It had five high rise work around LoRaWAN Gateway. Following are some set
apartments which followed an open space after which there of conclusions we can accept.
again came some more obstacles which comprised some low
x We setup a Gateway in LoRaWAN for the purpose
rise apartments with some parks also. [13]- [16]
of receiving data from the nodes as well as for
Three Strategies to improve the coverage and reach: uploading that data to the cloud.
x The ranges in the test could have been increased by x The Gateway setup is then connected to the required
accepting single failed transmissions and then network.
retransmission.
x The parameter that mattered the most to us was the
x Topologies with higher number of redundant range of the gateway. We worked some ways to
gateways result in increased network coverage and estimate the correct range for the gateway. Various
improved success rate. ranges and coverage were recorded for different
heights.
x The Range can be significantly improved by
increasing the height of the gateway. x We discussed different strategies to improve the
coverage and reach.
In an experiment, three Gateways were installed at
different heights (5m, 10m and 45m) and various range and x To check the efficiency and quality of this setup, the
penetration tests were conducted. [17] parameter that mattered the most to us was the RSSI.
Therefore, we plotted ‘RSSI vs distance’ on a graph.
x To increase range, we need to:
o Elevate our antennas to a required height.
o Use antennas with higher gains.
o Use directional antennas and not omni-
directional ones.
REFERENCES
[1] https://docs.pycom.io/tutorials/expansionboards/pygate/
[2] https://docs.pycom.io/advance/downgrade/
[3] https://docs.pycom.io/firmwareapi/pycom/pycom/
[4] “Interacting of GPS Module with Arduino” Available:
Fig. 3. Distance to Gateway versus Success Rate
[5] https://www.theengineeringprojects.com/2016/05/interfacing-gps-
module-arduino-proteus- isis.html
TABLE II. RANGE FOR DIFFERENT HEIGHTS [6] IEEE Std 802.15.1 (2002). A Wireless Personal Area Network
standard .
Gateway Height (m) Number of Max. Range Range [7] IEEE 802.22 (2010) - Working Group on Wireless Regional Area
No. Data Points (km) Average Networks ("WRANs"), has
1 5 444 5.53 1.43 [8] developed a wide variety of standards to enable spectrumsharing.
2 10 762 16.27 3.3
[9] Techopedia,"techopedia,"[Online].Available:
3 45 1619 20.99 2.92
www.techopedia.com/definition/28247/internet-of-things-iot.
[10] https://lora-alliance.org/about-lorawan/
[11] https://www.thethingsnetwork.org/docs/lorawan/architecture/
3
Authorized licensed use limited to: Mukesh Patel School of Technology & Engineering. Downloaded on October 19,2023 at 14:51:27 UTC from IEEE Xplore. Restrictions apply.
[12] https://www.researchgate.net/publication/338162217_LoRA_and_IoT Techniques: Proceedings of the 5th ICACNI 2017, Volume 2.
_Networks_for_Applications_in_Industry_40 Springer Singapore, 2018.
[13] https://iopscience.iop.org/article/10.1088/1757- [16] Yadav, Dhirendra Prasad, et al. "Hybrid SFNet model for bone
899X/705/1/012012/pdf fracture detection and classification using ML/DL." Sensors 22.15
[14] D. P. Yadav, A. Sharma, M. Singh and A. Goyal, "Feature Extraction (2022): 5823.
Based Machine Learning for Human Burn Diagnosis From Burn [17] SHARMA, DILIP KUMAR, and ASHISH SHARMA. "Investigation
Images," in IEEE Journal of Translational Engineering in Health and and development of machine Learning Challenges in Video
Medicine, vol. 7, pp. 1-7, 2019, Art no. 1800507, doi: Interviews." European Journal of Molecular & Clinical Medicine 7.4:
10.1109/JTEHM.2019.2923628. 2020.
[15] Sharma, Ashish, and Dhara Upadhyay. "VDBSCAN clustering with
map-reduce technique." Recent Findings in Intelligent Computing
4
Authorized licensed use limited to: Mukesh Patel School of Technology & Engineering. Downloaded on October 19,2023 at 14:51:27 UTC from IEEE Xplore. Restrictions apply.