Next Article in Journal
Braille Block Detection via Multi-Objective Optimization from an Egocentric Viewpoint
Next Article in Special Issue
Iktishaf+: A Big Data Tool with Automatic Labeling for Road Traffic Social Sensing and Event Detection Using Distributed Machine Learning
Previous Article in Journal
Unveiling the Fundamental Mechanisms of Graphene Oxide Selectivity on the Ascorbic Acid, Dopamine, and Uric Acid by Density Functional Theory Calculations and Charge Population Analysis
Previous Article in Special Issue
From Data to Actions in Intelligent Transportation Systems: A Prescription of Functional Requirements for Model Actionability
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Performance Analysis of IoT and Long-Range Radio-Based Sensor Node and Gateway Architecture for Solid Waste Management

1
School of Electronics and Electrical Engineering, Lovely Professional University, Phagwara 144411, India
2
Department of Information Technology, College of Computers and Information Technology, Taif University, P.O. Box 11099, Taif 21944, Saudi Arabia
3
School of Computer Science and Engineering, Lovely Professional University, Jalandhar 144411, India
4
Department Electronics and Electrical Communications, Faculty of Electronic Engineering, Menoufia University, Menouf 32952, Egypt
*
Authors to whom correspondence should be addressed.
Sensors 2021, 21(8), 2774; https://doi.org/10.3390/s21082774
Submission received: 15 March 2021 / Revised: 7 April 2021 / Accepted: 12 April 2021 / Published: 14 April 2021

Abstract

:
Long-range radio (LoRa) communication is a widespread communication protocol that offers long range transmission and low data rates with minimum power consumption. In the context of solid waste management, only a low amount of data needs to be sent to the remote server. With this advantage, we proposed architecture for designing and developing a customized sensor node and gateway based on LoRa technology for realizing the filling level of the bins with minimal energy consumption. We evaluated the energy consumption of the proposed architecture by simulating it on the Framework for LoRa (FLoRa) simulation by varying distinct fundamental parameters of LoRa communication. This paper also provides the distinct evaluation metrics of the the long-range data rate, time on-air (ToA), LoRa sensitivity, link budget, and battery life of sensor node. Finally, the paper concludes with a real-time experimental setup, where we can receive the sensor data on the cloud server with a customized sensor node and gateway.

1. Introduction

Waste management is the primary public utility for every community to ensure the protection of public health and the environment [1]. According to United Nations by 2025, 66% of the global population will be residing in urban cities, in comparison to 54% currently residing in the urban cities. It also estimates that the material consumption in cities will accelerate to nearly 90 billion tonnes by 2050, contrasted with 40 billion tonnes in 2010 [2]. The consumption of material significantly spikes up the generation of waste. The improper management, inadequate collection of waste, and dumping in the open-air adversely affect the environment [3]. However, the advancement in technology has progressively encouraged researchers to integrate the technology that can lower the effect of solid waste on the atmosphere [4]. At present, the Internet plays an imperative role in technological development and recent advancement in digital technologies had a tremendous impact on everyday lives, such as the Internet of Things (IoT) [5]. IoT is enhancing the quality of life as it authorizes the idea of smart cities by enhancing the interconnection between humans and objects [6]. The implementation of IoT in multiple sectors, such as as smart cities, intelligent wearable, smart homes, smart grids, and smart industries, have realized the real-time monitoring and controlling system [7]. The existing studies have primarily concentrated on the implementation of IoT in waste management for real-time monitoring and collection of garbage data [8]. In the waste collection system, one of the most promising technology is IoT [9,10], as IoT can track and handle the waste information from everywhere in the world over Internet Protocol (IP) [8]. In IoT, the role of wireless communication is crucial as the connectivity should be reliable and stable for continuous monitoring of the system [11]. At present, IoT is demanding minimum power consumption and long-range transmission features for wireless communication as the sensor nodes are energy-constrained devices [12]. With the evolution of Long-range (LoRa), the requirement of IoT is achieved as LoRa delivers long-range coverage with minimum power consumption [13]. The motivation of our study comes from Reference [14], in which a LoRa (Long-range) communication protocol is employed for the implementation of a smart waste management system to transmits real-time filling data with minimum energy consumption. With this advantage, LoRa Wide Area Network (LoRaWAN)-based IoT architecture is proposed with customized nodes for real-time monitoring of the bins. A customized sensor node and gateway are designed based on LoRa modulation technology for providing energy-efficient and stable connection establishment between the nodes and cloud server.
The main contribution of this study is divided as follows:
  • We proposed architecture for designing and developing a customized sensor node and gateway based on LoRa technology for realizing the filling level of the bins with minimal energy consumption.
  • We evaluated the energy consumption of the proposed architecture by simulating it on the Framework for LoRa (FLoRa) simulation by varying distinct fundamental parameters of LoRa communication.
  • We provided the distinct evaluation metrics of the long-range data rate, time on-air (ToA), LoRa sensitivity, link budget, and battery life of sensor node.
  • We concluded with a real-time experimental setup, where we received the sensor data on the cloud server with a customized sensor node and gateway.
The rest of the paper is categorized into various sections as defined. Section 2 addresses the work that has already been done in the field of solid waste management. Section 3 covers the overview of long range (LoRa) including evaluation metrics of LoRa. Section 4 covers the hardware implementation, where the design and development of customized sensor node and gateway are discussed. Section 5 covers proposed LoRa-based architecture for solid waste management. Performance analysis of LoRa is covered in Section 6. Result analysis are discussed in the Section 7, and the conclusion of this paper is finally expressed in Section 8.

2. Related Work

Smart waste management, in general, adopts advanced technology for enhancing the collection of waste management. The wireless technologies including wireless-fidelity (Wi-Fi), global Packet for Radio Service (GPRS), radio frequency identification (RFID), and global positioning system (GPS) are implemented for resolving the distinct issues in solid waste management. In regarding these many researchers have implemented the wireless sensor network (WSN) for monitoring the bin status wirelessly [15,16,17]. WSN implemented for scrutinizing the status of the bin and applying the closest vehicle first algorithm for optimizing the routes of municipal trucks [18]. Few researchers have integrated the web server and WSN for visualizing the filling of bins [19]. For transmitting the data to the web server, multiple communication technologies are embedded, one of these is GSM/GPRS module. AA smart collection system for solid waste is established with the integration of ultrasonic sensors, GSM protocol, and RFID technology [20]. The Vehicular Ad Hoc Networks (VANETs) framework was designed to provide a system for monitoring waste collections in real-time and almost every garbage bin has a sensor node, which detects the state of bins continuously and sends the signal to nearby vehicles when the bin is full [16]. Zigbee and Message Queuing Telemetry Transport (MQTT)-based waste management systems are also established for monitoring the bins, and MQTT protocol communicates the monitoring status from the ZigBee to the server [21]. iBags is a smart waste management system that is an integration of ZigBee and RFID for identifying the bags and communicating the status of the bins to the server [22]. The drawbacks of the ZigBee and GSM/GPRS are: GSM/GPRS communication consumes power consumption, and a prepaid amount needs to be recharged for transmitting the data [23,24]. The data transmission range of ZigBee is limited to short-range; however, the transmission range can be increased by installing Zigbee repeaters. Installation of Zigbee repeaters is having a higher possibility of connectivity failure. The evolution of LPWAN technologies has widened the opportunities for implementing IoT architecture to waste management, as this technology is capable of transmitting wireless data in the absence of remote cell technology with low power consumption [25,26]. The recent studies that have integrated into the smart waste management are: LoRa prototype is embedding for the sensor nodes for maximizing waste disposal routes in the Salamanca Area by using a low electrical energy consumption [27]. A low-powered sensor node is proposed for sensing the filling status of the bin with the assistance of LoRaWAN [28]. A recent study integrated the Raspberry Pi 3 Model B+ controller unit and LoRa communication protocol for monitoring the filling status of the waste in the bin [25]. In IoT applications, most designers have opted for microcontroller boards (Arduino board), or SOC (BeagleBone, Raspberry Pi, Lopy) for the platforms to connect sensor nodes to the internet [28]. From the above literature work, it is clear that there is a need of some architecture for designing and developing a customized sensor node and gateway that will be efficient enough for realizing the filling level of the bins with minimal energy consumption.

3. Overview of LoRa

Long-range (LoRa) is initiated in 2012, it can perform the communication with a high link budget with low power consumption [29]. LoRa is developed for supporting the LPWAN (Low Power Wide Area Network) that utilizes the ISM (Industrial, Scientific, Medical) bands of 433 MHz (Asia), 915 MHz (North America), and 868 MHz (Europe) [13]. LoRa modulation is formed from the CSS (Chirp Spread Spectrum) that provides robustness in case of multipath propagation interferences [30]. LoRa modulation is customized on distinct parameters, like spreading factor (SF), code rate (CR), and bandwidth (BW).
  • SF is the number of chirps generated by each symbol, and its range is between 7 and 12. The higher the SF value, the better the receiver will eliminate the noise from the signal. The more time it takes to deliver a packet, the greater the amount it takes to transmit the packet.
  • CF is the frequency of a carrier wave that is modulated to transmit signals; SX 1278 transceiver works on a carrier frequency of 433 MHz.
  • BW depicts the frequency in the spectrum band, and it is chosen from these three bands: 500 kHz, 250 kHz, or 125 kHz. Large bandwidth represents speed transmission and the small bandwidth presents long-range transmission. The main parameter of the LoRa modulation is BW. The 2SF chirps that covers the entire frequency band is represented as LoRa symbol. Initially, it begins with a sequence of upward chirps, if the highest frequency band is achieved then frequency is wrapped and there will be a rise in the frequency again from the lowest frequency.
As LoRa is established on chirp spread spectrum modulation and the transmitted data is represented as chirp signal from a frequency range from fmin to fmax. Here, there is an opportunity of configuring the symbol by varying the SF and BW parameters. According to Reference [31], one symbol will take TS of second to transmit, which is a function of SF and BW are presented in the equation below:
TS = 2 SF BW .
CR is implemented in communication for assuring short interference during transmission. In any data transmission, LoRa modulation includes a forward error correction (FEC). This is achieved by encoding 4-bit data with 5-bit, 6-bit, 7-bit, and even 8-bit redundancies. The LoRa signal can sustain small interferences with this redundancy. CR is expressed as
CR = 4 4 + n ,
where n has values in the range between 1 and 4. CR is proportional to transmission speed and inversely proportional to the time on-air (ToA) during the transmission of data. HigherCR represents high transmission speed and low ToA.
LoRa packet structure comprises a preamble, optional header, payload, and Cyclic Redundancy Check (CRC), as shown in Figure 1. A preamble is employed for communication between the receiver and the transmitter. The header contains the payload size and information of LoRa configuration, and it is encoded with CR = 4/8. The payload is determined with CR and CRC is transmitted at the end of the frame.
ToA is defined as the duration of time that is consumed before a receiver receives this signal. ToA of a packet is calculated with the combination of CR, SF, and BW. LoRa packet duration is defined as the combination of transmitted packet and preamble. The preamble length is expressed as follows.
T p r e a m b l e = ( n p r e a m b l e + 4.25 ) T s y m ,
where npreamble indicates programmed preamble length. The payload is based upon the enabled header mode, and the number of payload symbol is calculated with this Equation (4).
n p a y l o a d = 8 + m a x c i e l ( 8 PL 4 SF + 28 + 16 RC 20 IH ) 4 ( SF 2 DE ) ( CR + 4 ) , 0 ,
where PL indicates number of payload bytes, SF indicates spreading factor from 7 to 12, if IH = 0, it indicates header is enabled, if IH = 1, it indicates, if DE = 1, then Low Data Rate Optimize = 1, DE = 0; otherwise, CR is the coding rate (1 equivalent to 4/5, 4 to 4/8). The payload duration is the number of payload symbols multiplied by the symbol period, and it is expressed as:
T p a y l o a d = n p a y l o a d T s .
The time of the air or packet is the summation of the preamble and the payload duration, and it is expressed as:
T p a c k e t = T p r e a m b l e + T p a y l o a d .
Bit Rate/data rate is defined as the rate at which bits are transferred from one location to another location. The bit rate (Rbit) of LoRa is expressed as:
R b i t = SF BW 2 SF CR .
Sensitivity is the inherent property of a system’s ability to extract information from signals. It can also be quantified as the lowest possible signal strength that can trigger the system to its packet resolution. The first term is due to thermal noise in 1 Hz of bandwidth and can only be influenced by changing the temperature of the receiver. The second term, BW, is the receiver bandwidth. NF Is the receiver noise figure and is fixed for a given hardware implementation. Finally, SNR represents the signal to noise ratio required by the underling modulation scheme. It is the signal to noise ratio and bandwidth that are available as design variables to the LoRa designer. LoRa receiver sensitivity (S) is calculated with this expression as:
S = 174 + 10 log 10 BW + NF + SNR ,
where S = receiver sensitivity in dB, BW = Bandwidth in KHz, NF = Noise fig. of a receiver in dB, and SNR = Signal to Noise Ratio.
Signal-to-Noise Ratio (SNR) is the measure of received power signal and the noise floor power level. Generally, the range of SNR is between −20 dB and +10 dB. If the range is around the +10 dB, then the received signal is less corrupted. The SNR range of LoRa is between −7.5 dB to −20 dB.
A link budget or received power is the summation of all the losses and gains from the transmitter, over free space to the receiver [32]. Using a simple model, the link budget can be calculated by adding transmitter power ( P T x ), receiver sensitivity (Rx), antenna gain, and free space path loss (FSPL). The link budget is expressed as:
P R x = P T x F S P L + G T x + G R x ,
where P R x indicates received power or link budget (dBm), P T x denotes transmitter power (dBm), G T x denotes transmitting antenna gain (dB), G R x denotes es receiver antenna gain (dB), and FSPL denotes free space path loss (dB).
Free space path loss (FSPL) is defined as the amount of energy that is lost in free space during a communication between the transmitter (Tx) and receiver end (Rx). FSPL expression derives from friis transmission equation and friis transmission equation [33] is expressed as follows:
p r p t = λ 4 π R 2 G 0 t G 0 r ,
where p r and p t denotes power receiver and power transmitted, λ indicates wave length, and G 0 t G 0 r directivity of the transmitting and receiving antenna. Concerning the definition of FSPL and the expression of FSPL is represented as follows:
F S P L = 4 π d λ 2 ,
where d denotes a distance between Tx and Rx (Meters), Tx indicates transmitter, Rx indicates receiver, f indicates the frequency in Hertz, and λ indicates wavelength.
λ = c f ; c = 3 10 8 m / s .

4. Hardware Implementation

In this section, we will discuss the importance of customization of sensor node and gateway for real-time monitoring of the filling status of the bins. Here, the sensor node and gateway are developed based on LoRa modulation; additionally, the gateway is integrated with ESP 8266 Wi-Fi module for transmitting data over the internet. In the initial stage of designing the nodes, the power consumption parameter is the key as the nodes are installed in an outdoor environment where the electrical grid network should not be utilized for powering the nodes because it increases the infrastructure cost for installing a separate electric grid network. The power consumption parameter is the key in the initial stage of designing the node, as the nodes are meant to be installed in an outdoor environment where the electrical grid network cannot be used to power the nodes because it raises the cost of infrastructure for installing separate electric grid network. Concerning powering the sensor node, we embedded the power jack for supplying power to the node through batteries. The sensor node and gateway are integrating with the +5 V and +3.3 V voltage converter to supply the appropriate voltage.
As discussed earlier in recent studies, the selection of a communication module plays a critical role in preventing the power dissipation in the nodes during transmission of the data. So, communication module is chosen with low power consumption for transmitting the data to long-range. Another major component that is taken into account for designing the node is the computing unit. The computing unit is chosen based on computational power that is a criterion for processing the acquisition data. In our case, the computing power for processing the acquired data is of low complexity because the main objective of our study is to senses the filling data. Selecting the appropriate microcontroller/microprocessor is also a vital parameter for developing an energy-efficient node. After the completion of choosing suitable components for designing the node, the next stage is subjected to integrating all these components on the single board for executing a flexible, reliable, and compatible node.
Figure 2 illustrates the block diagram, PCB layout, and prototype of the sensor node. The node is embedding with an Atmega 328P controller and SX 1278 LoRa transceiver. In our study, the complexity of processing the data is low, we preferred the Atmega328P controller for computing the data as it consumes the least amount of current around milliamperes (mA). Here, we estimated the amount of battery required for the sensor node from Reference [34]. The sensor node sends data for every 30 min with airtime of 78.08 ms for 25-byte payload with SF7 and 125 BW. Therefore, to perform one transmission by the sensor node, it consumes 1.0962 mA of energy. If we had a battery of 2000 mAh of capacity, we could perform 1824 transmissions, i.e., performing 48 transmission per day (one transmission for every 30 min interval). With respect to battery capacity of 2000 mAh, the sensor node remains active for 38 days. If we place the battery capacity of 20,000 mAh, the sensor node performs the 18,240 transmission and the sensor node remains active for 380 days. The technical specifications of the Atmega328P microcontroller and SX1278 LoRa module are detailed in Table 1 and Table 2.
Figure 3 illustrates the block diagram, schematic view, and prototype of the LoRa-based gateway. An Atmega 328P controller is built into the gateway, SX 1278 LoRa transceiver, and ESP 8266 Wi-Fi module. The objective of the gateway is for transmitting the data over multiple communication protocols, in this SX 1278 LoRa transceiver receives the data, the Atmega 328P controller triggers the ESP 8266 Wi-Fi for transmitting the data over internet protocol (IP). The technical specifications of ESP 8266 Wi-Fi are shown in Table 3.

5. LoRa Architecture for Waste Management

After the completion of the design and development of the sensor node and gateway, we now have to implement in the real-time set up for analyzing the performance of the nodes during the transmission of the data. In order of implementing the customized node for sensing and transmitting the filling level of the bins, we are proposing architecture for waste management that is based on basic LoRa architecture and as shown in Figure 4. Physical Layer, gateway, network server, and cloud server are the key layers that exist in this architecture. The sensor nodes are part of the physical layer, the function of the sensor node is to sense the filling level of the bins and transmits the sensory data to the gateway via LoRa (Long-range).
The gateway in Figure 4 receives the messages from the sensor node to the network server. Since a transmission from a sensor node may be processed by more than single gateway, they establish a star-of-stars topology as standarised by the LoRaWAN architecture. Gateway utilizes the internet connection at their location to transmit data between the nodes and the network server. In proposed system, thhe gateways can communicate with one another via IEEE 802.11-based wireless mesh network in order of reaching the network server. This part of the system is independent of the LoRaWAN architecture. To optimize the system, we presume that the gateways have a good and direct connection to the network server.

6. Performance Analysis

In this section, we will be discussing the performance analysis of LoRa network. Initially, the section begins with the energy consumption of the LoRa nodes in different cases. Later on, the analysis of data rate/bit rate, LoRa sensitivity, time on air (ToA), link budget, and battery life of sensor node are elaborated.

6.1. Energy Consumption of Nodes

In previous studies, the simulation of LoRaWAN network is performed for studying the performance of the LoRa network by using the ns-3 module [38]. Before implementing the proposed model of waste management in real time environment, it is simulated on the virtual environment for examining the performance and capability of the model. In the virtual environment, we will analyze the LoRa network behavior in our model by varying certain parameters and aspects. FLoRa is a simulation framework, that utilizing the OMNeT++ discrete event simulation library. In spite of OMNeT++ framework, FLoRa is also based on the INET Framework, which is an open-source library for OMNeT++ and its function is to aid the procedure of experimentation for distinct network protocols [39]. In addition, the FLoRa structure ensures proper implementation of the LoRaWAN architecture [40] and a reliable LoRa radio physical layer model resulting from previous experimental findings [41]. The FLoRa architecture is convenient for simulating a complete LoRaWAN architecture that is based on star topology where it consists of four entities including LoRa nodes, gateways, a network server and application server [42].
Figure 5 also presents the working model of the FLoRa framework, where the LoRa nodes transmits the information to the gateway. The two nested submodules that handle the application layer (simpleLoRaApp) and the LoRa network service (LoRaNic) are shown in Figure 6. LoRaNode module includes the network module (LoRaNic) and the application module (simpleLoRaApp). LoRaNic module provides the LoRa network capability, radio module (LoRaRadio), and MAC module (LoRaMAC). In order of analyzing the behavior of LoRa network of waste management, LoRaNode is the main module in which parameters should to be modified. In this simulation we will generate the energy consumption of LoRa node by setting the parameters as CF = 433 MHz, BW = 125 KHz, SF = 7, CR = 4, No of packets = 2, network size = 480 m × 480 m, gateway distance = 320 m. number of nodes = 4, number of gateways = 1. The four nodes are represented as node ‘1’, node ‘2’, node ‘3’, and node ‘4’. The deployment type of network is select as square shape. As the network size is 480 m * 480 m, the geometry position of nodes in FLoRa environment are represented as Node 1 (263.43 m, 284.56 m), Node 2 (411.81 m, 261.54 m), Node 3 (310 m, 184.5 m), Node 4 (130 m, 184.05 m), Node 5 (444.2 m, 401.31 m), Node 6 (311.12 m, 9.70 m), Node 7 (373.51 m, 67.36 m), Node 8 (227.3 m, 383.5 m), Node 9 (374.6 m, 325.8 m), Node 10 (68.80 m, 257.9 m), Node 11 (41.8 m, 311.1 m), Node 12 (176.7 m, 399.6 m), Node 13 (373.5 m, 67.3 m), Node 14 (417.6 m, 469.7 m, Node 15 (383.5 m, 384.4 m, Node 16 (299.3 m, 374.6 m).
In case ‘1’, initially, we varied the code rate from 1 to 4, where no substantial changes are identified in the energy consumption of the LoRa node. Later on, we varied the transmission (Tx) power of the LoRa node from 2, 5, 8, 11, and 14 dBm and found the change in the energy consumption. We denoted the transmission power of the LoRa node as Tx1, Tx2, Tx3, Tx4, and Tx5. Here, remaining parameters, like CF, SF, B/W, CR, no of packets, network size, and gateway distance, are kept constant. Table 4 illustrates the energy consumption of the nodes ‘1’.
Figure 7 illustrates the graphical representation of the energy consumption of nodes of four different cases. The simulation results show that node ‘1’ and node ‘2’ has the same amount of energy consumption at the transmission (Tx) power of 2 and 5 dBm. In this case of node ‘2’, gradually, the energy consumption decreases at the Tx power of 11 dBm. Energy consumption of the node ‘3’ is suddenly increased at the Tx power of 8 dBm, i.e., from 1.90 mW to 2.74 mW. Node ‘4’ consumed the constant energy consumption for Tx power of 2 and 5 dBm; however, the energy consumption is triggered high at the Tx power of 8 dBm and suddenly the energy consumption is reduced to 2.31 mW. The part ‘a’ of Figure 7 reveals that the node ‘3’ (red color line) is consuming high energy consumption of all nodes from the Tx power of 8 dBm. The part ’a’ reveals that the node ‘3’ (red color line) is consuming high energy consumption of all nodes from the Tx power of 8 dBm. In the case ‘2’, we performed a simulation with 2 gateways by maintaining constant other parameters. The energy consumption of the 4 nodes are presented in Table 5. As the gateways have increased to two, the energy consumption of all nodes gradually decreased at the Tx power of 2 dBm.
The energy consumption of Node ‘1 decreased for the Tx of 2 dBm, 5 dBm, and 8 dBm is decreased when compared with a single gateway. In Node ‘4’, the energy consumption at all Tx power is decreased except for the Tx power of 14 dBm, where, at Tx power = 14 dBm, the energy consumption is the highest energy consumption among all nodes for all Tx power. Except for Tx power of 2 dBm and 5 dBm, the energy consumption of the Node ‘3’ is decreased at the remaining Tx power. The graphical representation of the energy consumption is represented in Figure 7b. In case ‘3’, we increased the number of nodes to 8 and the remaining parameters of the simulation are kept constant as assumed in the case ‘1’. As the number of nodes increased to the 8, the nodes are represented as node ‘1’, node ‘2’, node ‘3’, node ‘4’, node ‘5’, node ‘6’, node ‘7’, and node ‘8’. The case ‘3’ is represented as energy consumption of nodes ‘3’, and values are presented in Table 6. Figure 7c illustrates the graphical representation of case ‘3’.
The amount of energy consumption of the first four nodes has varied concerned to the previous case. In this case, Node ‘1’ has consumed a high amount of energy at the Tx power of 11 dBm, i.e., 3.25 dBm, and Node ‘2’ has consumed a low amount of energy at the Tx power of 5 dBm, i.e., 1.61 dBm. At Tx power of 14 dBm, the energy consumption for the node ‘2’, ‘3’, and ‘4’ is the same, i.e., 1.88 mW, and also for the Nodes ‘5’ and ‘6’, the energy consumption remains the same, i.e., 2.48 mW. For node ‘3’, the energy consumption gradually decreases from 3.01 mW to 1.88 mW. The energy consumption of Node ‘5’ gradually increased from 2.03 mW to 2.48 mW, and node ‘8’ also increased from 1.96 mW to 2.56 mW. The graphical representation of the energy consumption is represented in Figure 7c. In case ‘4’, we performed the simulation by increasing the number of nodes to 16, and the remaining parameters are kept constant. The case ‘4’ is represented as energy consumption of nodes ‘4’ and is presented in Table 7. The 16 nodes are represented as node ‘1’, node ‘2’, node ‘3’, node ‘4’, node ‘5’, node ‘6’, node ‘7’, node ‘8’, node ‘9’, node ‘10’, node ‘11’, node ‘12’, node ‘13’, node ‘14’, node ‘15’, and node ‘16’. The high energy consumption of nodes is recorded at Tx of 11 dBm for the Node ’13’, i.e., 3.10 mW, and low energy consumption of nodes is recorded at Tx power of 14 dBm for the Node ‘10’, i.e., 1.73 mW. Here, the energy consumption for Node ‘5’ is increased, and, for Node ‘6’, from the Tx power of 2 dBm to 14 dBm. The energy consumption for Node 1, 3, 4, 5, 6, 7, 9, 10, 11, 12, 14, and 16 are increased from Tx power of 2 dBm to 8 dBm and for node 2, 8 the energy consumption have increased from 2 dBm to 11 dBm. The graphical representation of the energy consumption is represented in Figure 7d.

6.2. Data Rate/Bit Rate

The data rate/bit rate is defined as the quantity of bits that are transferred during transmission between transmitter and receiver. We utilized Equation (3) for calculating the data rate of the LoRa. To calculate the data rate of LoRa, the input parameters, like CR, SF, and BW, are included in the equation. Figure 8 presents the data rate of LoRa from SF 7 to SF 12. The data rate is denoted in terms of bits per second (bps). It can be observed that in every SF, the data rate is in increasing at the point of BW 7 (62.5 kHz) and it exponentially raised after the BW 8 and reached maximum at the BW 10 (500 kHz). We can observe that increasing the SF7 is inversely affecting the data rate, as the data rate declines gradually from SF 7 to SF 12. In SF 7, the data rate of the LoRa touched 22,000 bps and in SF 12 the data rate is limited to 2000 bps. An increase in SF will lead to transmitting a low amount of data during transmission, so SF 7 is the optimal SF that needs to be considered for sending a large amount of the data.

6.3. LoRa Sensitivity

As discussed earlier in Section 3, the spreading factor, noise figure, and bandwidth are the input parameters for calculating the LoRa sensitivity of the receiver. Here, we utilized Equation (4) for calculating the sensitivity of the receiver. Noise fig. (SNR) value is different for distinct SF. SNR of the SF 7 is −7.5, SF 8 is −10, SF9 is −12.5, SF 10 is −15, SF 11 is 17.5, and SF 12 is −20. The above SNR value is considered for calculating the sensitivity of the receiver. As discussed in the data rate section, the same type of BW is utilized for sensitivity calculation. Generally, the sensitivity of power is in terms of a negative value; for example, −127 dBm, where the value going above this value indicates that the sensitivity is in decline. Figure 9 presents the sensitivity from the SF 7 to SF 12; the sensitivity power is highest for the SF 7 at the BW 10 (500 kHz), and the lowest sensitivity is observed for the SF 12 at the BW 1 (7.5 kHz). The sensitivity of every SF is gradually increasing after the BW 4 (20.8 kHz).

6.4. Time on Air (ToA)

In this study, to calculate the ToA, we set certain parameters, like payload = 25 bytes, preamble = 8 symbols, CF = 433 MHz, and Tx power = 14 dBm. The tool for calculating the ToA is considered from this [43]. Here, we considered three different BW, namely 125 kHz, 250 kHz, and 500 kHz, SF from 7 to 12, and CR from 1 to 4. The calculated results are recorded in the below tabular form. ToA is calculated at the distinct CR, namely 1, 2, 3, 4, and the ToA is illustrated in Table 8, Table 9, Table 10 and Table 11. The table delivers that the ToA increases when the SF moves from 7 to 12 and ToA is reduced by half when the bandwidth increases to 125 kHz to 500 kHz. Figure 10 illustrates the ToA for the payload size of 25 bytes. The graph of the ToA at distinct CR reveals that the ToA starts increasing after the SF 9. Of all three BWs, the ToA is high for the 125 kHz BW and low for the 500 kHz BW. It is observed that the CR is directly proportional to the increase in the ToA; for example, at CR 1, the ToA of BW 1 is 56.58 ms, and, at the same BW 1, the ToA at CR 4 is 78.08 ms.

6.5. Link Budget

Link budget or received power is the summation of the losses and gains. The concept of the link budget is addressed in Section 3. In order to calculate the link budget, we considered Equation (11). We considered the three BW, namely 125 kHz, 250 kHz, and 500 KHz, and SF from 7 to 12.
As the link budget is the sum of the transmitted power (Tx) and receiver sensitivity, the increase in the Tx is leading to an increase in the link budget, and it can be observed in Figure 11. For every increment in the SF, there is also arises in the link budget. At 14 dBm, the link budget achieved maximum dBm for 125 kHz of SF 12. At 2 dBm, the link budget recorded low dBm for 500 kHz of SF7. It is concluded that the maximum link budget is achieved with high Tx power and low BW.

6.6. Battery Life of Sensor Node

The calculating battery life of the sensor node is a necessary element in the hardware prototype. Here, we assumed the processing power of 15 mW for 5 ms during sensing value and power consumption at the sleep is 10 µW. SF 7 with 125 kHz BW and 2 dB Tx power are considered due to its optimal energy consumption during transmission. We subdivided the evaluation of battery life into three scenarios based on payload. Figure 12 presents the distinct battery life scenarios, where the battery life is represented as a time to live (TTL). In our study, we need to sense only the level measurement data, so, here, we considered a payload of 22 bytes, 25 bytes, and 28 bytes for analyzing the battery life at distinct periodicity. Here, periodicity is considered in terms of minutes likely, 15 min, 30 min, 45 min, and 60 min. The battery life of the sensor node is about months, and three distinct battery capacities are considered likely 260 mAh, 1000 mAh, and 2000 mAh Li-ion batteries. If the periodicity of sending the data from the sensor to the receiver end is 60 min, the battery life is long, and, in the case where the periodicity of sending the data of sensor is 15 min, the battery life is shorter. It is also observed that the battery life is the same for the (i) 260 mAh and 1000 mAh at a payload of 22 bytes and 25 bytes (ii) 1000 mAh at a payload of 22 bytes and 25 bytes.

7. Result Analysis

This section covers the deployment of sensor node and gateway in a real-time environment, and we will also present the sensors data that recorded on the cloud server and also a comparison of the previous studies with proposed studies is mention in detail. To evaluate the coverage of the LoRa, we deployed our sensor nodes in the bins that are located in our university. The gateway is placed at 320 m from the sensor nodes. In this study, we designed the bins for evaluating the filling levels of the bins. LoRa-based sensor node is deployed in the four bins with HC-SR 04 ultrasonic sensor (https://www.sparkfun.com/products/15569 (accessed on 7 March 2021)) with the sensor that measures the level in the bins. LoRa network is deployed in the sensor nodes according to the architecture that is proposed in Figure 4. Sensor nodes are connected with a gateway for receiving the status of the bins via the 433 MHz LoRa module. The gateway is placed at a distance of 320 m from the bins. The gateway is effectively receiving the data from the sensor node and it is logging in to the cloud server through ESP 8266 Wi-Fi module. Figure 13 illustrates the deployment of the sensor node and gateway in the real-time environment. The status of the bins that are recorded in the cloud server with graphical representation is presented in Figure 14. Distinct color representation in the graph provides the % of waste-filled in the bins. The green color represents that the bin is filled 50% and the red color represents that the bin is filled 100%. Orange and blue color represents that bins are 75% filled. With this result, we conclude that the proposed architecture based on LoRa can provide real-time data of the bins on the cloud server. Figure 14 presents that bin ‘2’ and bin ‘4’ are having constant waste for the prescribed time format.
Table 12 illustrates the comparison of previous studies focused on LoRa-based waste management with our study. The comparison is done based on the certain parameters that are illustrated in Table 12. The proposed study is having designed customized sensor node and LoRa-based gateway for realizing the LoRa-based waste management. In our implementation, we performed the simulation on FLoRa where the energy consumption of the nodes is estimated by changing distinct network parameters, like BW, CR, CF, number of nodes, and gateways. Even the distinct evaluation metrics include data rate, ToA, receiver sensitivity, link budget, and also estimated the battery life of the sensor node. The simulation of LoRa network for the waste management on the FLoRa simulator is missing in the many articles related to the waste management and also the estimated lifetime of the customized sensor node are included in our implementation. We recorded the sensor data from the sensor node with our customized sensor node and gateway in the cloud server. The data in Table 12 concludes that the customized gateway with LoRa and ESP 8266 module are implemented in limited studies. Simulation-based analysis and plot of evaluation metrics of LoRa are not addressed in any studies. Finally, the realization of the sensor data on the cloud server is observed in the few studies. Table 13 illustrates the main achievements that are achieved in the results section. The real time implementation of the proposed architecture with the customized sensor node and gateway with cloud server is the significant achievement in the results.

8. Conclusions

Wireless communication protocol plays key role for reliable transmission between the sensor nodes and cloud server in IoT. LoRa is one of the prominent and emergent wireless communication that meet the requirements of IoT in terms of minimum power consumption and long-range transmission. In this paper, we implemented the LoRaWAN architecture for the realizing of the real-time filling level of the bins with customized nodes. LoRa-based customized sensor nodes are deployed in the bins for establishing energy efficient nodes for transmitting the collected sensor data to the cloud server. FLoRa simulation based on LoRaWAN is performed for evaluating the energy consumption of the nodes by varying distinct parameters and also evaluated the metrics of LoRa network with plots. Finally, to show real application, an experimental set up is implemented for checking the performance of the proposed LoRa architecture for sensing the level of the bins in real-time scenario and logging the status of each of the bins in the cloud server.

Author Contributions

S.V.A. and R.S. made contributions to conception and manuscript writing; A.G. and M.A.A. examined and supervised this research and outcomes; O.S.F., M.R., W.E.-S., and D.P. revised and polished the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by the Deanship of Scientific Research, Taif University Researchers Supporting Project number (TURSP-2020/98), Taif University, Taif, Saudi Arabia.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

List of abbreviations used in study:
BWBandwidth
CFCarrier Frequency
CRCode Rate
CRCCyclic Redundancy Check
CSSChirp Spread Spectrum
FECForward Error Correction
FLoRaFramework for LoRa
FSPLFree Space Path Loss
GSMGlobal System for Mobile communication
GPRSGlobal packet radio service
GPSGlobal Positioning System
IEEEInstitute of Electrical and Electronics Engineers
IoTInternet of Things
IPInternet Protocol
LoRaLong Range
LoRaWANLoRa Wide Area Network
MQTTMessage Queuing Telemetry Transport
PCBPrinted Circuit Board
RFIDRadio Frequency Identification
SFSpreading Factor
SoCSystem on a Chip
ToATime on Air
SNIRSignal-to-Noise Ratio
VANETVehicular Ad Hoc Network
Wi-FiWireless Fidelity
WSNWireless Sensor Network

References

  1. THE 17 GOALS|Sustainable Development. Available online: https://sdgs.un.org/goals (accessed on 28 December 2020).
  2. Manager. The Weight of Cities. 2018. Available online: https://www.resourcepanel.org/reports/weight-cities (accessed on 1 January 2021).
  3. Kumar, S.; Smith, S.R.; Fowler, G.; Velis, C.; Kumar, S.J.; Arya, S.; Rena; Kumar, R.; Cheeseman, C. Challenges and opportunities associated with waste management in India. R. Soc. Open Sci. 2017, 4, 160764. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  4. Sinha, R.S.; Wei, Y.; Hwang, S.-H. A survey on LPWA technology: LoRa and NB-IoT. ICT Express 2017, 3, 14–21. [Google Scholar] [CrossRef]
  5. Nižetić, S.; Šolić, P.; González-de-Artaza, D.L.; Patrono, L. Internet of Things (IoT): Opportunities, issues and challenges towards a smart and sustainable future. J. Clean. Prod. 2020, 274, 122877. [Google Scholar] [CrossRef] [PubMed]
  6. Kumar, S.; Jasuja, A. Air quality monitoring system based on IoT using Raspberry Pi. In Proceedings of the IEEE International Conference on Computing, Communication and Automation, ICCCA 2017, Greater Noida, India, 5–6 May 2017; Institute of Electrical and Electronics Engineers Inc.: Greater Noida, India, 2017; pp. 1341–1346. [Google Scholar]
  7. Gomez, C.; Chessa, S.; Fleury, A.; Roussos, G.; Preuveneers, D. Internet of Things for enabling smart environments: A technology-centric perspective. J. Ambient. Intell. Smart Environ. 2019, 11, 23–43. [Google Scholar] [CrossRef] [Green Version]
  8. Hussain, A.; Draz, U.; Ali, T.; Tariq, S.; Irfan, M.; Glowacz, A.; Daviu, J.A.A.; Yasin, S.; Rahman, S. Waste Management and Prediction of Air Pollutants Using IoT and Machine Learning Approach. Energies 2020, 13, 3930. [Google Scholar] [CrossRef]
  9. Jain, A.; Sharma, B.; Gupta, P. Internet of things: Architecture, security goals, and challenges—A survey. Int. J. Innov. Res. Sci. Eng. 2016, 2, 154–163. [Google Scholar]
  10. Longhi, S.; Marzioni, D.; Alidori, E.; Buo, G.D.; Prist, M.; Grisostomi, M.; Pirro, M. Solid waste management architecture using wireless sensor network technology. In Proceedings of the 2012 5th International Conference on New Technologies, Mobility and Security, Istanbul, Turkey, 7–10 May 2012; pp. 1–5. [Google Scholar]
  11. Dubey, S.; Singh, M.K.; Singh, P.; Aggarwal, S. Waste Management of Residential Society using Machine Learning and IoT Approach. In Proceedings of the International Conference Emerging Smart Computing and Informatics, ESCI 2020, Pune, India, 12–14 March 2020; pp. 293–297. [Google Scholar]
  12. Madakam, S.; Ramaswamy, R.; Tripathi, S. Internet of Things (IoT): A Literature Review. J. Comput. Commun. 2015, 3, 164–173. [Google Scholar] [CrossRef] [Green Version]
  13. Mekki, K.; Bajic, E.; Chaxel, F.; Meyer, F. A comparative study of LPWAN technologies for large-scale IoT deployment. ICT Express. 2019, 5, 1–7. [Google Scholar] [CrossRef]
  14. Sheng, T.J.; Islam, M.S.; Misran, N.; Baharuddin, M.H.; Arshad, H.; Islam, M.R.; Chowdhury, M.E.H.; Rmili, H.; Islam, M.T. An internet of things based smart waste management system using LoRa and tensorflow deep learning model. IEEE Access. 2020, 8, 148793–148811. [Google Scholar] [CrossRef]
  15. Lokhande, P.; Pawar, M.D. Garbage Collection Management System. Int. J. Eng. Comput. Sci. 2016, 5, 18800–18805. [Google Scholar] [CrossRef]
  16. Kumar, G.N.; Swamy, C.; Nagadarshini, K.N. Efficient garbage disposal management in metropolitan cities using VANETs. J. Clean Energy Technol. 2014, 2, 258–262. [Google Scholar]
  17. Lata, K.; Singh, S.S.K. IOT based smart waste management system using Wireless Sensor Network and Embedded Linux Board. Int. J. Curr. Trends Eng. Res. 2016, 2, 210–214. [Google Scholar]
  18. Omara, A.; Gulen, D.; Kantarci, B.; Oktug, S.F. Trajectory-Assisted Municipal Agent Mobility: A Sensor-Driven Smart Waste Management System. J. Sens. Actuator Netw. 2018, 7, 29. [Google Scholar] [CrossRef] [Green Version]
  19. Suryawanshi, S.; Bhuse, R.; Gite, M.; Hande, D. Waste Management System Based On IoT. Int. Res. J. Eng. Technol. 2018, 5, 1835–1837. [Google Scholar]
  20. Cavdar, K.; Koroglu, M.; Akyildiz, B. Design and implementation of a smart solid waste collection system. Int. J. Environ. Sci. Technol. 2016, 13, 1553–1562. [Google Scholar] [CrossRef] [Green Version]
  21. Karthikeyan, S.; Rani, G.S.; Sridevi, M.; Bhuvaneswari, P.T.V. IoT enabled waste management system using ZigBee network. In Proceedings of the 2nd IEEE International Conference Recent Trends ELECTRONICS Information and Communication Technology, Bangalore, India, 19–20 May 2017; pp. 2182–2187. [Google Scholar]
  22. Reis, P.; Caetano, F.; Pitarma, R.; Gonçalves, C. IEcoSys—An intelligent waste management system. In Advances in Intelligent Systems and Computing; Springer: Berlin/Heidelberg, Germany, 2015; pp. 843–853. [Google Scholar]
  23. Satria, D.; Hidayat, T. Implementation of wireless sensor network (WSN) on garbage transport warning information system using GSM module. J. Phys. Conf. Ser. 2019, 1175, 12054. [Google Scholar] [CrossRef]
  24. Zavare, S.; Parashare, R.; Patil, S.; Rathod, P.; Babanne, V. Smart City waste management system using GSM. Int. J. Comput. Sci. Trends Technol. 2017, 5, 74–78. [Google Scholar]
  25. Augustin, A.; Yi, J.; Clausen, T.; Townsley, W.M. A study of Lora: Long range & low power networks for the internet of things. Sensors 2016, 16, 1466. [Google Scholar]
  26. Saari, M.; bin Baharudin, A.M.; Sillberg, P.; Hyrynsalmi, S.; Yan, W. LoRa—A survey of recent research trends. In Proceedings of the 41st International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia, 21–25 May 2018; pp. 872–877. [Google Scholar]
  27. Lozano, Á.; Caridad, J.; Paz, J.F.D.; González, G.V.; Bajo, J. Smart waste collection system with low consumption LoRaWAN nodes and route optimization. Sensors 2018, 18, 1465. [Google Scholar] [CrossRef] [Green Version]
  28. Cerchecci, M.; Luti, F.; Mecocci, A.; Parrino, S.; Peruzzi, G.; Pozzebon, A. A low power IoT sensor node architecture for waste management within smart cities context. Sensors 2018, 18, 1282. [Google Scholar] [CrossRef] [Green Version]
  29. Addabbo, T.; Fort, A.; Mecocci, A.; Mugnaini, M.; Parrino, S.; Pozzebon, A.; Vignoli, V. A LoRa-based IoT Sensor Node for Waste Management Based on a Customized Ultrasonic Transceiver. In Proceedings of the IEEE Sensors Applications Symposium, Sophia Antipolis, France, 11–13 March 2019; pp. 1–6. [Google Scholar]
  30. Lavric, A.; Petrariu, A.I.; Coca, E.; Popa, V. Lora traffic generator based on software defined radio technology for lora modulation orthogonality analysis: Empirical and experimental evaluation. Sensors 2020, 20, 4123. [Google Scholar] [CrossRef] [PubMed]
  31. Semtech Corporation. SX1272/3/6/7/8 LoRa Modem Design Guide, AN1200.13. 2013, p. 9. Available online: https://www.rs-online.com/ (accessed on 7 March 2021).
  32. Ortín, J.; Cesana, M.; Redondi, A. How do ALOHA and listen before talk coexist in LoRaWAN? In Proceedings of the IEEE 29th Annual International Symposium on Personal, Indoor and Mobile Radio Communications, Bologna, Italy, 9–12 September 2018; pp. 1–7. [Google Scholar]
  33. Balanis, C.A. Antenna Theroy: Analysis and Design; John Wiley & Sons: Hoboken, NJ, USA, 2012; p. 109. [Google Scholar]
  34. Sendra, S.; García, L.; Lloret, J.; Bosch, I.; Vega-Rodríguez, R. LoRaWAN network for fire monitoring in rural environments. Electronics 2020, 9, 531. [Google Scholar] [CrossRef] [Green Version]
  35. Semtech Corporation. SX1276/77/78/79—137 MHz to 1020 MHz Low Power Long Range Transceiver. 2016. Available online: https://www.scribd.com/document/399165229/SX1276-1278 (accessed on 7 March 2021).
  36. Atmel Corporation. Data Sheet ATmega328P. 2015, pp. 1–294. Available online: http://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7810-Automotive-Microcontrollers-ATmega328P_Datasheet.pdf (accessed on 9 March 2021).
  37. ESP8266 Wi-Fi MCU I Espressif Systems. 2020. Available online: https://www.espressif.com/en/products/socs/esp8266 (accessed on 9 March 2021).
  38. Magrin, D.; Centenaro, M.; Vangelista, L. Performance evaluation of LoRa networks in a smart city scenario. In Proceedings of the IEEE International Conference on Communications, Paris, France, 21–25 May 2017; pp. 1–7. [Google Scholar]
  39. OMNeT++ Discrete Event Simulator. Available online: https://omnetpp.org/ (accessed on 18 February 2021).
  40. Home|FLoRa—A Framework for LoRa Simulations. Available online: https://flora.aalto.fi/ (accessed on 18 February 2021).
  41. Slabicki, M.; Premsankar, G.; Francesco, M.D. Adaptive configuration of LoRa networks for dense IoT deployments. In Proceedings of the NOMS 2018–2018 IEEE/IFIP Network Operations and Management Symposium, Taipei, Taiwan, 23–27 April 2018; pp. 1–9. [Google Scholar]
  42. Petajajarvi, J.; Mikhaylov, K.; Roivainen, A.; Hanninen, T.; Pettissalo, M. On the coverage of LPWANs: Range evaluation and channel attenuation model for LoRa technology. In Proceedings of the 14th International Conference on ITS Telecommunications, Copenhagen, Denmark, 2–4 December 2015; pp. 55–59. [Google Scholar]
  43. LoRaTool. Available online: https://www.loratools.nl (accessed on 1 April 2021).
  44. Lundin, A.C.; Ozkil, A.G.; Schuldt-Jensen, J. Smart cities A case study in waste monitoring and management. In Proceedings of the 50th Hawaii International Conference on System Sciences, Waikoloa, HI, USA, 4–7 January 2017; pp. 1392–1401. [Google Scholar]
  45. Ziouzios, D.; Dasygenis, M. A smart bin implementantion using LoRa. In Proceedings of the 2019 4th South-East Europe Design Automation, Computer Engineering, Computer Networks and Social Media Conference (SEEDA-CECNSM 2019), Piraeus, Greece, 20–22 September 2019; Institute of Electrical and Electronics Engineers Inc.: Piraeus, Greece, 2019. [Google Scholar]
  46. Beliatis, M.J.; Mansour, H.; Nagy, S.; Aagaard, A.; Presser, M. Digital waste management using LoRa network a business case from lab to fab. In Proceedings of the Global Internet Things Summit, GIoTS 2018, Bilbao, Spain, 4–7 June 2018; pp. 1–6. [Google Scholar]
  47. Khoa, T.A.; Phuc, C.H.; Lam, P.D.; Nhu, L.M.B.; Trong, N.M.; Phuong, N.T.H.; Dung, N.V.; Nguyen, N.; Ta, H.N.; Duc, D.N.M. Waste Management System Using IoT-Based Machine Learning in University. Wirel. Commun. Mob. Comput. 2020, 2020, 6138637. [Google Scholar]
Figure 1. Long-range (LoRa) packet structure.
Figure 1. Long-range (LoRa) packet structure.
Sensors 21 02774 g001
Figure 2. Sensor nodes.
Figure 2. Sensor nodes.
Sensors 21 02774 g002
Figure 3. LoRa-based gateway.
Figure 3. LoRa-based gateway.
Sensors 21 02774 g003
Figure 4. LoRa architecture for solid waste management.
Figure 4. LoRa architecture for solid waste management.
Sensors 21 02774 g004
Figure 5. Framework for LoRa (FLoRa) graphical interface.
Figure 5. Framework for LoRa (FLoRa) graphical interface.
Sensors 21 02774 g005
Figure 6. Sub-modules of LoRa Node.
Figure 6. Sub-modules of LoRa Node.
Sensors 21 02774 g006
Figure 7. Energy consumption of nodes (ad).
Figure 7. Energy consumption of nodes (ad).
Sensors 21 02774 g007
Figure 8. Data rate of LoRa from spreading factor (SF) 7 to SF 12.
Figure 8. Data rate of LoRa from spreading factor (SF) 7 to SF 12.
Sensors 21 02774 g008
Figure 9. LoRa sensitivity from (SF 7–SF 12).
Figure 9. LoRa sensitivity from (SF 7–SF 12).
Sensors 21 02774 g009
Figure 10. ToA for a payload of 25 bytes.
Figure 10. ToA for a payload of 25 bytes.
Sensors 21 02774 g010
Figure 11. Link budget at distinct transmitter power (Tx).
Figure 11. Link budget at distinct transmitter power (Tx).
Sensors 21 02774 g011
Figure 12. Time to live (TTL) of sensor node.
Figure 12. Time to live (TTL) of sensor node.
Sensors 21 02774 g012
Figure 13. Sensor node deployed in the bins.
Figure 13. Sensor node deployed in the bins.
Sensors 21 02774 g013
Figure 14. Bin status on the cloud server.
Figure 14. Bin status on the cloud server.
Sensors 21 02774 g014
Table 1. SX 1278 LoRa specifications [35].
Table 1. SX 1278 LoRa specifications [35].
CharacteristicSpecification
Frequency433 MHz
Network topologyPoint-to-Multipoint, Point-to-Point, Mesh, and Peer-to-Peer
ModulationFSK/GFSK/MSK/LoRa
Data rate<300 kbps
Sensitivity−136 dBm
Output power+20 dB
Operating voltage1.8 V to 3.6 V
CurrentTx: 120 mA, Rx: 10.8 mA
RSSI127 dB
Link budget168 dB
Table 2. Atmega328P specifications [36].
Table 2. Atmega328P specifications [36].
CharacteristicSpecification
Controller8-bit microcontroller
ArchitectureRISC
ProgrammingIn-system programming
Serial interfaceMaster/slave SPI
PWM channels6
Pin 6 analog pins14 digital pins
Operating voltage2.7 V to 5.5 V
CurrentActive state: 1.5 mA at 3 V–4 MHz,
Power-down state: 1 µA at 3 V
Table 3. Technical specifications of ESP 8266 [37].
Table 3. Technical specifications of ESP 8266 [37].
ParameterFeature
ProcessorTensilica L106 32-bit processor
IEEE standard802.11 b/g/n
Frequency2.4 GHz
Data rate72 Mbps
Network ProtocolsIpv4, TCP/UDP, HTTP
Tx power20 dBm (802.11 b), 17 dBm (802.11 g) & 14 dBm (802.11 n)
Rx sensitivity−91 dBm (802.11 b), −75 dBm (802.11 g) & −71 dBm (802.11 n)
Operating voltage2.5 V to 3.6 V
CurrentAverage: 80 mA
Table 4. Energy consumption of the nodes ‘1’.
Table 4. Energy consumption of the nodes ‘1’.
NodeTx Power = 2 dBmTx Power = 5 dBmTx Power = 8 dBmTx Power = 11 dBmTx Power = 14 dBm
12.45 mW2.46 mW2.46 mW2.09 mW2.18 mW
22.45 mW2.46 mW2.18 mW1.9 mW2.03 mW
31.89 mW1.90 mW2.74 mW3.10 mW3.24 mW
42.38 mW2.39 mW2.60 mW2.31 mW2.41 mW
Table 5. Energy consumption of nodes ‘2’.
Table 5. Energy consumption of nodes ‘2’.
NodeTx Power = 2 dBmTx Power = 5 dBmTx Power = 8 dBmTx Power = 11 dBmTx Power = 14 dBm
11.68 mW1.69 mW2.39 mW2.10 mW2.78 mW
22.10 mW2.11 mW2.53 mW2.81 mW2.03 mW
32.10 mW2.12 mW2.60 mW2.52 mW2.63 mW
42.24 mW2.25 mW2.39 mW2.24 mW3.69 mW
Table 6. Energy consumption of nodes ‘3’.
Table 6. Energy consumption of nodes ‘3’.
NodeTx Power = 2 dBmTx Power = 5 dBmTx Power = 8 dBmTx Power = 11 dBmTx Power = 14 dBm
11.75 mW1.76 mW2.04  mW3.25 mW1.95 mW
21.61 mW1.59 mW2.32 mW1.95 mW1.88 mW
33.01 mW3.02 mW2.88 mW1.95 mW1.88 mW
42.52 mW2.53  mW2.11 mW2.38 mW1.88 mW
52.03 mW2.04 mW2.04 mW2.09 mW2.48 mW
62.51 mW2.46  mW2.74 mW2.74 mW2.48 mW
72.17 mW2.18 mW1.83 mW2.74 mW2.33 mW
81.96 mW1.97 mW2.11  mW2.31 mW2.56 mW
Table 7. Energy consumption of nodes ‘4’.
Table 7. Energy consumption of nodes ‘4’.
NodeTx Power = 2 dBmTx power =5 dBmTx Power = 8 dBmTx Power = 11 dBmTx Power = 14 dBm
12.11 mW2.11 mW2.53 mW2.81 mW2.71 mW
21.96 mW1.97 mW2.26 mW2.46 mW2.26 mW
31.82 mW1.83 mW2.81 mW2.09 mW2.86 mW
42.66 mW2.67 mW3.17 mW2.31 mW2.71 mW
51.89 mW1.90 mW1.89 mW2.46 mW3.08 mW
62.38 mW2.39 mW2.39 mW2.09 mW1.88 mW
72.31 mW2.32 mW2.53 mW1.96 mW2.86 mW
82.09 mW2.04 mW2.32 mW2.74 mW2.26 mW
91.89 mW1.90 mW3.10 mW2.60 mW3.31 mW
102.60 mW2.61 mW2.67 mW2.64 mW1.73 mW
112.03 mW2.04 mW2.60 mW2.45 mW2.18 mW
121.75 mW1.76 mW1.90 mW2.60 mW2.03 mW
132.80 mW2.81 mW1.76 mW3.10 mW2.78 mW
141.96 mW1.97 mW2.74 mW2.09 mW2.63 mW
152.03 mW1.97 mW2.46 mW2.52 mW2.48 mW
162.38 mW2.39 mW2.82 mW2.81 mW2.33 mW
Table 8. Time on-air (ToA) (ms) at code rate (CR) 1.
Table 8. Time on-air (ToA) (ms) at code rate (CR) 1.
SFBW 1 = 125 KHzBW 2 = 250 KHzBW 3 = 500 KHz
SF 756.5828.2914.14
SF 8102.9151.4625.73
SF 9205.82102.9151.46
SF 10370.69185.3492.67
SF 11741.38370.69185.34
SF 121318.91659.46329.73
Table 9. ToA (ms) at CR 2.
Table 9. ToA (ms) at CR 2.
SFBW 1 = 125 KHzBW 2 = 250 KHzBW 3 = 500 KHz
SF 763.7431.8715.94
SF 8115.257.628.8
SF 9230.4115.257.6
SF 10411.65205.82102.91
SF 11823.3411.65205.82
SF 121449.98724.99362.5
Table 10. ToA (ms) at CR 3.
Table 10. ToA (ms) at CR 3.
SFBW 1 = 125 KHzBW 2 = 250 KHzBW 3 = 500 KHz
SF 770.9135.4617.73
SF 8127.4963.7431.87
SF 9254.98127.4963.74
SF 10452.61226.3113.15
SF 11905.22452.61226.3
SF 121581.06790.53395.26
Table 11. ToA (ms) at CR 4.
Table 11. ToA (ms) at CR 4.
SFBW 1 = 125 KHzBW 2 = 250 KHzBW 3 = 500 KHz
SF 778.0839.0419.52
SF 8139.7869.8934.94
SF 9279.55139.7869.89
SF 10493.57246.78123.39
SF 11987.14493.57246.78
SF 121712.13856.06428.03
Table 12. Comparison of our study with previous studies.
Table 12. Comparison of our study with previous studies.
ResearchMCUCommunicationDesigned
Sensor
Node
Designed
Gateway
Customized
Node
Proof of
Concept
Simulation-
Based
Analysis
Plot of
Evaluation
Metrics
[14]Arduino UnoSX 1272 LoRa & WaspmoteYesNoYesYesNoNo
[27]ATSAML21SX 1276 LoRaYesNoYesYesNoNo
[28]Atmega328PSX 1278 LoRaYesNoYesYesNoNo
[29]Atmega328PSX 1272 LoRaYesNoYesYesNoNo
[44]NANAYesNoNoYesNoNo
[45]Arduino UnoSX 1272 LoRaNoNoNoNoNoNo
[46]Raspberry Pi3IP67 LoRa gatewayNoYesYesYesNoNo
[47]Atmega328PSX 1278 LoRaYesYesYesYesNoNo
Proposed
study
Atmega328PSX 1278 LoRaYesYesYesYesYesYes
Table 13. Achievements from the result section.
Table 13. Achievements from the result section.
S.NoParametersAchievements
1Energy consumptionEnergy consumption of nodes are calculated in FLoRa
simulation by changing distinct network parameters
2Data rateAn increase in SF leads to transmission of a low data
rate, so SF 7 is the optimal for sending a large amount
of the data.
3Sensitivity powerThe sensitivity power is highest for the SF 7 at the
500 kHz.
4ToAToA is good at 125 KHz and code rate 1, i.e., 56.58 ms.
5Link budgetAt 14 dBm, 125 kHz and SF 12, maximum link budget
is achieved.
6Battery life of sensor nodePeriodicity of transmitting data = 60 min, the bat-
tery life is long, if Periodicity of transmitting data =
15 min, the battery life is short.
7Real time experiment
set up
Realized the objective of proposed architecture in
Figure 4, where the sensor data is logging into the
cloud server through the customized sensor node
and gateway.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Akram, S.V.; Singh, R.; AlZain, M.A.; Gehlot, A.; Rashid, M.; Faragallah, O.S.; El-Shafai, W.; Prashar, D. Performance Analysis of IoT and Long-Range Radio-Based Sensor Node and Gateway Architecture for Solid Waste Management. Sensors 2021, 21, 2774. https://doi.org/10.3390/s21082774

AMA Style

Akram SV, Singh R, AlZain MA, Gehlot A, Rashid M, Faragallah OS, El-Shafai W, Prashar D. Performance Analysis of IoT and Long-Range Radio-Based Sensor Node and Gateway Architecture for Solid Waste Management. Sensors. 2021; 21(8):2774. https://doi.org/10.3390/s21082774

Chicago/Turabian Style

Akram, Shaik Vaseem, Rajesh Singh, Mohammed A. AlZain, Anita Gehlot, Mamoon Rashid, Osama S. Faragallah, Walid El-Shafai, and Deepak Prashar. 2021. "Performance Analysis of IoT and Long-Range Radio-Based Sensor Node and Gateway Architecture for Solid Waste Management" Sensors 21, no. 8: 2774. https://doi.org/10.3390/s21082774

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