Monitoring of the Human Body Signal through the Internet of Things (IoT) Based LoRa Wireless Network System

Featured Application: The development process of an IoT based human health monitoring system has been described in this paper. This paper also analyzed the collected biomedical sensors data with normal human body data to prove the systems’ performance, e ﬀ ectiveness, and e ﬃ ciency. Abstract: Internet of Things (IoT) based healthcare system is now at the top peak because of its potentialities among all other IoT applications. Supporting sensors integrated with IoT healthcare can e ﬀ ectively analyze and gather the patients’ physical health data that has made the IoT based healthcare ubiquitously acceptable. A set of challenges including the continuous presence of the healthcare professionals and sta ﬀ as well as the proper amenities in remote areas during emergency situations need to be addressed for developing a ﬂexible IoT based healthcare system. Besides that, the human entered data are not as reliable as automated generated data. The development of the IoT based health monitoring system allows a personalized treatment in certain circumstances that helps to reduce the healthcare cost and wastage with a continuous improving outcome. We present an IoT based health monitoring system using the MySignals development shield with (Low power long range) LoRa wireless network system. Electrocardiogram (ECG) sensor, body temperature sensor, pulse rate, and oxygen saturation sensor have been used with MySignals and LoRa. Evaluating the performances and e ﬀ ectiveness of the sensors and wireless platform devices are also analyzed in this paper by applying physiological data analysis methodology and statistical analysis. MySignals enables the stated sensors to gather physical data. The aim is to transmit the gathered data from MySignals to a personal computer by implementing a wireless system with LoRa. The results show that MySignals is successfully interfaced with the ECG, temperature, oxygen saturation, and pulse rate sensors. The communication with the hyper-terminal program using LoRa has been implemented and an IoT based healthcare system is being developed in MySignals platform with the expected results getting from the sensors.


Introduction
A continuous and long-term healthcare system is essential in the healthcare environment nowadays to make the involved process efficient and reliable; to provide peace of mind to the patients by ensuring Appl.Sci.2019, 9, 1884 2 of 17 complete medical care.Internet of Things (IoT) is a fast-growing worldwide network of interconnected variety of objects that supports many input-output devices, sensors, and actuators based on standard communication protocol [1,2].Many applications are in the development process because of the IoT potentialities, of which quite a few numbers of IoT applications are being deployed or developed for our society.These autonomous quality IoT applications are helping to improve our daily lives [3,4].In the near future, IoT for healthcare will become a stable solution for the healthcare system.The IoT has a diversity of application domains in which IoT for healthcare is still at the top of the research because of its potentiality [5].Besides, developing technologies of IoT such as (Radio frequency identification) RFID, wireless network technologies (Bluetooth Low Energy, Wi-Fi, ZigBee), and (Low power wireless area network) LPWAN technologies like LoRa and SigFox are promising in terms of the IoT application development in a large scale and they are contributing to improving the device connection to the internet as well as the efficiency of the IoT application operation.
Nowadays, one of the top challenges that every country is facing is healthcare.In developing countries, the feasible solution for reducing the expenditures of chronic diseases and disabilities is the healthcare system because health organizations are transforming themselves into more efficient, coordinated, and user-centered systems [6,7].To address the health issues, the Internet of Things (IoT) offers a world of networked devices, cloud-based applications, and services, with diverse cooperation mechanisms based on the confluence of a right standardization, efficient wireless protocols, improved sensors, cheaper and low-power microprocessors, and wireless technologies [8][9][10].Besides, LPWAN technologies are taking place to enable new human-centric health and wireless monitoring applications [11].LoRa is one of such LPWAN protocols, which targets deployments where end-devices have limited energy (for example, battery-powered) with not transmitting more than a few bytes at a time and where data traffic can be initiated either by the end-device or by an external entity wishing to communicate with the end-device [12,13].
Table 1 represents the characteristics of different network technologies for IoT.It is noticeable that LoRa has a high communication range with lower data rate, which is the best choice for IoT based healthcare system because of its specification that ensures the perfect interoperability between the IoT objects.In this paper, we present an IoT based healthcare system with MySignals platform, which is an e-health monitoring development platform working in conjunction with the Arduino Uno and it can connect and measure up to fifteen sensors.MySignals with LoRa wireless network system is applied to different biomedical sensors.The performances and effectiveness of the gathered data have also been analyzed that can be used for future purposes.The LoRa communication with the multiprotocol radio shield has been applied for the gathered sensor data.

Related Work
IoT based healthcare system performs all the healthcare activities including diagnosing, monitoring, and remote surgeries by connecting to all available resources over the internet [18].IoT based healthcare system can be separated into three areas of intervention such as clinical care, remote monitoring, and context-awareness, where clinical care is for the hospitalized patient who needs continuous and close attention, remote monitoring is for the elderly or child patient who needs to come to the hospital or clinic on a regular basis for a health checkup, and context-awareness is for identifying the patients' overall condition from anywhere in terms of clinical assistance, respectively [19].In recent years, Appl.Sci.2019, 9, 1884 3 of 17 many researchers have proposed and developed IoT based healthcare systems in various manners, where all the development architectures follow the typical format directly or indirectly.A two-stage fundamental approach has been proposed for a remote healthcare monitoring system, where the first stage is to gather the sensors data and the second stage is to send the data using a Femto-LTE network [20].Body Sensor Network (BSN) technology is also one of the core technologies in an IoT based health monitoring system.To support rapid and flexible prototyping and management of a body sensor network, an open source programming framework named SPINE (signal processing in node environment) has been proposed that efficiently addresses the identified requirements of the hardware or software sensor platforms [21].Later, a novel framework for collaborative body sensor network (CBSN) named C-Spine has been proposed, where it supports multi-sensor data fusion among CBSNs to enable time-dependent data integration, filtering, and classification [22].To prove the effectiveness of the C-Spine framework, a system named e-Shake has been introduced that can detect the emotions of two meeting people by allowing a ECG-based heart rate monitoring component to analyze the heart rate variability.The e-Shake detects three kinds of different emotional meetings like no emotion, emotion from one individual, and emotion from two individuals.Figure 1 represents the CBSN system e-Shake graphical user interface (GUI) during the handshake detection.
Appl.Sci.2019, 9, x FOR PEER REVIEW 3 of 18 continuous and close attention, remote monitoring is for the elderly or child patient who needs to come to the hospital or clinic on a regular basis for a health checkup, and context-awareness is for identifying the patients' overall condition from anywhere in terms of clinical assistance, respectively [19].In recent years, many researchers have proposed and developed IoT based healthcare systems in various manners, where all the development architectures follow the typical format directly or indirectly.A two-stage fundamental approach has been proposed for a remote healthcare monitoring system, where the first stage is to gather the sensors data and the second stage is to send the data using a Femto-LTE network [20].Body Sensor Network (BSN) technology is also one of the core technologies in an IoT based health monitoring system.To support rapid and flexible prototyping and management of a body sensor network, an open source programming framework named SPINE (signal processing in node environment) has been proposed that efficiently addresses the identified requirements of the hardware or software sensor platforms [21].Later, a novel framework for collaborative body sensor network (CBSN) named C-Spine has been proposed, where it supports multi-sensor data fusion among CBSNs to enable time-dependent data integration, filtering, and classification [22].To prove the effectiveness of the C-Spine framework, a system named e-Shake has been introduced that can detect the emotions of two meeting people by allowing a ECG-based heart rate monitoring component to analyze the heart rate variability.The e-Shake detects three kinds of different emotional meetings like no emotion, emotion from one individual, and emotion from two individuals.Figure 1 represents the CBSN system e-Shake graphical user interface (GUI) during the handshake detection.
An IoT based fog computing approach with a prototype of smart e-health gateway shown in Figure 2 has been implemented by Rahmani et al. [23], which investigated the range of high-level services offered by a smart gateway to sensors and end users [24].A fog-based system for IoT has been presented in reference [25], where human body signals such as ECG, body temperature, and contextual data such as room temperature, humidity, and air quality can be monitored in real time.A Wi-Fi based ECG monitoring system has been presented by Shebi et al. [26], where the ECG sensor data are displayed to the smart-phone after performing the wireless transmission.Wearable ECG monitoring system has also been proposed that uses a ZigBee wireless network [27] that is shown in Figure 3.A wireless blood pressure monitoring system using Bluetooth technology is also developed to display the systolic and diastolic blood pressure value.A pilot study to validate the performance of the developed prototype has also been performed [28] that is shown in Figure 4.An IoT based fog computing approach with a prototype of smart e-health gateway shown in Figure 2 has been implemented by Rahmani et al. [23], which investigated the range of high-level services offered by a smart gateway to sensors and end users [24].A fog-based system for IoT has been presented in reference [25], where human body signals such as ECG, body temperature, and contextual data such as room temperature, humidity, and air quality can be monitored in real time.A Wi-Fi based ECG monitoring system has been presented by Shebi et al. [26], where the ECG sensor data are displayed to the smart-phone after performing the wireless transmission.Wearable ECG monitoring system has also been proposed that uses a ZigBee wireless network [27] that is shown in Figure 3.A wireless blood pressure monitoring system using Bluetooth technology is also developed to display the systolic and diastolic blood pressure value.A pilot study to validate the performance of the developed prototype has also been performed [28] that is shown in Figure 4.   Besides, LoRa is always different compared to other short-range sensor network technologies such as Bluetooth, ZigBee, Wi-Fi, etc., and it provides a unique set of features including a wide area connectivity for low power and low data rate devices.The existing IoT based healthcare issues including high-cost communication links with 3G/4G, data privacy, and ignorance of monitored health parameters is now a matter of concern.Many deployments and proposals about the solution of these issues have been made where it is shown that LoRa has the ability to solve all of these issues by integrating medical sensors, cloud, and gateways.LoRa in mesh networking for a large area monitoring application has been developed by Lee et.al [29].They deployed 19 LoRa sensors in mesh networking devices to identify the Packet Delivery Ratio (PDR) by comparing it with a star-topology networking device.The result shows that mesh networking devices achieved 88.49%, where it is 58.7% for star-topology networking devices.A proposal has been made by Mdhaffar et al. [30], indicating that the usage of LoRa in the medical sector to monitoring a patient can solve the aforementioned issues.Three steps are proposed including getting the patient physical metrics from   Besides, LoRa is always different compared to other short-range sensor network technologies such as Bluetooth, ZigBee, Wi-Fi, etc., and it provides a unique set of features including a wide area connectivity for low power and low data rate devices.The existing IoT based healthcare issues including high-cost communication links with 3G/4G, data privacy, and ignorance of monitored health parameters is now a matter of concern.Many deployments and proposals about the solution of these issues have been made where it is shown that LoRa has the ability to solve all of these issues by integrating medical sensors, cloud, and gateways.LoRa in mesh networking for a large area monitoring application has been developed by Lee et.al [29].They deployed 19 LoRa sensors in mesh networking devices to identify the Packet Delivery Ratio (PDR) by comparing it with a star-topology networking device.The result shows that mesh networking devices achieved 88.49%, where it is 58.7% for star-topology networking devices.A proposal has been made by Mdhaffar et al. [30], indicating that the usage of LoRa in the medical sector to monitoring a patient can solve the aforementioned issues.Three steps are proposed including getting the patient physical metrics from   Besides, LoRa is always different compared to other short-range sensor network technologies such as Bluetooth, ZigBee, Wi-Fi, etc., and it provides a unique set of features including a wide area connectivity for low power and low data rate devices.The existing IoT based healthcare issues including high-cost communication links with 3G/4G, data privacy, and ignorance of monitored health parameters is now a matter of concern.Many deployments and proposals about the solution of these issues have been made where it is shown that LoRa has the ability to solve all of these issues by integrating medical sensors, cloud, and gateways.LoRa in mesh networking for a large area monitoring application has been developed by Lee et.al [29].They deployed 19 LoRa sensors in mesh networking devices to identify the Packet Delivery Ratio (PDR) by comparing it with a star-topology networking device.The result shows that mesh networking devices achieved 88.49%, where it is 58.7% for star-topology networking devices.A proposal has been made by Mdhaffar et al. [30], indicating that the usage of LoRa in the medical sector to monitoring a patient can solve the aforementioned issues.Three steps are proposed including getting the patient physical metrics from Besides, LoRa is always different compared to other short-range sensor network technologies such as Bluetooth, ZigBee, Wi-Fi, etc., and it provides a unique set of features including a wide area connectivity for low power and low data rate devices.The existing IoT based healthcare issues including high-cost communication links with 3G/4G, data privacy, and ignorance of monitored health parameters is now a matter of concern.Many deployments and proposals about the solution of these issues have been made where it is shown that LoRa has the ability to solve all of these issues by integrating medical sensors, cloud, and gateways.LoRa in mesh networking for a large area monitoring application has been developed by Lee et.al [29].They deployed 19 LoRa sensors in mesh networking devices to identify the Packet Delivery Ratio (PDR) by comparing it with a star-topology networking device.The result shows that mesh networking devices achieved 88.49%, where it is 58.7% for star-topology networking devices.A proposal has been made by Mdhaffar et al. [30], indicating that the usage of LoRa in the medical sector to monitoring a patient can solve the aforementioned issues.Three steps are proposed including getting the patient physical metrics from medical sensors, transmit the data through LoRa sensors and gateway, and send the data to the cloud for further proceedings of medical records.Diabetes and arterial hypertension have been measured through this system but it is not capable of getting continuous medical data that hinders the evaluation of ECG data.The proposed architecture that shows the LoRa sensors integrated IoT based healthcare shown in Figure 5.
Appl.Sci.2019, 9, x FOR PEER REVIEW 5 of 18 medical sensors, transmit the data through LoRa sensors and gateway, and send the data to the cloud for further proceedings of medical records.Diabetes and arterial hypertension have been measured through this system but it is not capable of getting continuous medical data that hinders the evaluation of ECG data.The proposed architecture that shows the LoRa sensors integrated IoT based healthcare shown in Figure 5.Long coverage area is one of the main characteristics of LoRa.Many applications have been tested within large geographical and indoor areas.The performance of LoRa sensors in the indoor areas is measured by Petjjrvi et al. [31], where the target was to check the hypothesis of health monitoring applications.The sensor nodes are operated with various physical layer settings of LoRa sensors.The results of the experiment show that the sending data amount may differ up to 200-fold, which indicates the efficiency of selecting LoRa in terms of indoor health monitoring.For the large area coverage area, an aforementioned developed framework indicates that the data transmission works perfectly using the LoRa wireless network system with a low power consumption, although the security issues are not mentioned [29].Long coverage area is one of the main characteristics of LoRa.Many applications have been tested within large geographical and indoor areas.The performance of LoRa sensors in the indoor areas is measured by Petjjrvi et al. [31], where the target was to check the hypothesis of health monitoring applications.The sensor nodes are operated with various physical layer settings of LoRa sensors.The results of the experiment show that the sending data amount may differ up to 200-fold, which indicates the efficiency of selecting LoRa in terms of indoor health monitoring.For the large area coverage area, an aforementioned developed framework indicates that the data transmission works perfectly using the LoRa wireless network system with a low power consumption, although the security issues are not mentioned [29].medical sensors, transmit the data through LoRa sensors and gateway, and send the data to the cloud for further proceedings of medical records.Diabetes and arterial hypertension have been measured through this system but it is not capable of getting continuous medical data that hinders the evaluation of ECG data.The proposed architecture that shows the LoRa sensors integrated IoT based healthcare shown in Figure 5.Long coverage area is one of the main characteristics of LoRa.Many applications have been tested within large geographical and indoor areas.The performance of LoRa sensors in the indoor areas is measured by Petjjrvi et al. [31], where the target was to check the hypothesis of health monitoring applications.The sensor nodes are operated with various physical layer settings of LoRa sensors.The results of the experiment show that the sending data amount may differ up to 200-fold, which indicates the efficiency of selecting LoRa in terms of indoor health monitoring.For the large area coverage area, an aforementioned developed framework indicates that the data transmission works perfectly using the LoRa wireless network system with a low power consumption, although the security issues are not mentioned [29].Figure 7 is the diagram of MySignals platform with 12 sensor ports.This platform is also integrated with a WiFi serial transceiver module ESP8266.The collected data then transferred via the LoRa module and the Waspmote gateway to the personal computer.7 is the diagram of MySignals platform with 12 sensor ports.This platform is also integrated with a WiFi serial transceiver module ESP8266.The collected data then transferred via the LoRa module and the Waspmote gateway to the personal computer.Table 3 represents the LoRa specifications that have been used in the proposed IoT healthcare project.LoRa is connected with the multiprotocol radio shield, which is an interconnection shield for Arduino and designed to connect two communication modules at the same time.This multiprotocol radio shield can connect any Arduino wireless module like Bluetooth, WiFi, ZigBee, RFID, LoRa, etc. Figure 8 represents the diagram of LoRa with the multiprotocol radio shield with Waspmote.Waspmote is an ultra-low power (7 µA) open source wireless sensor platform that is specially focused on the implementation of low consumption modes, which allows the sensor nodes ("motes") to be completely autonomous with its battery power.This Waspmote supports LPWAN technologies for 868 MHz or 900 MHz frequencies.One hyper-terminal named RealTerm, for capturing, controlling, and debugging binary and other difficult data streams, is used to connect with the Lora modules to send and receive packet data with a specific baud rate for confirmation that the sensor data are transferring successfully or not. Figure 9 shows the biomedical sensors that have been used in this proposed IoT healthcare system.

Development Methodology
LoRa is connected with the multiprotocol radio shield, which is an interconnection shield for Arduino and designed to connect two communication modules at the same time.This multiprotocol radio shield can connect any Arduino wireless module like Bluetooth, WiFi, ZigBee, RFID, LoRa, etc. Figure 8 represents the diagram of LoRa with the multiprotocol radio shield with Waspmote.Waspmote is an ultra-low power (7 µA) open source wireless sensor platform that is specially focused on the implementation of low consumption modes, which allows the sensor nodes ("motes") to be completely autonomous with its battery power.This Waspmote supports LPWAN technologies for 868 MHz or 900 MHz frequencies.One hyper-terminal named RealTerm, for capturing, controlling, and debugging binary and other difficult data streams, is used to connect with the Lora modules to send and receive packet data with a specific baud rate for confirmation that the sensor data are transferring successfully or not. Figure 9 shows the biomedical sensors that have been used in this proposed IoT healthcare system.The physiological properties of the sensor equipment selected to be measured during the health monitoring experimental trails with the ECG sensor for heart rate, pulse rate, and oxygen saturation sensor and body temperature sensor.These metrics were selected based on the ability to predict a patient's health status and reliability of the automated data.Each physiological metric measurement with the definitions and units are given in Table 4.The sensor data are evaluated by the following LoRa is connected with the multiprotocol radio shield, which is an interconnection shield for Arduino and designed to connect two communication modules at the same time.This multiprotocol radio shield can connect any Arduino wireless module like Bluetooth, WiFi, ZigBee, RFID, LoRa, etc. Figure 8 represents the diagram of LoRa with the multiprotocol radio shield with Waspmote.Waspmote is an ultra-low power (7 µA) open source wireless sensor platform that is specially focused on the implementation of low consumption modes, which allows the sensor nodes ("motes") to be completely autonomous with its battery power.This Waspmote supports LPWAN technologies for 868 MHz or 900 MHz frequencies.One hyper-terminal named RealTerm, for capturing, controlling, and debugging binary and other difficult data streams, is used to connect with the Lora modules to send and receive packet data with a specific baud rate for confirmation that the sensor data are transferring successfully or not. Figure 9 shows the biomedical sensors that have been used in this proposed IoT healthcare system.The physiological properties of the sensor equipment selected to be measured during the health monitoring experimental trails with the ECG sensor for heart rate, pulse rate, and oxygen saturation sensor and body temperature sensor.These metrics were selected based on the ability to predict a patient's health status and reliability of the automated data.Each physiological metric measurement with the definitions and units are given in Table 4.The sensor data are evaluated by the following The physiological properties of the sensor equipment selected to be measured during the health monitoring experimental trails with the ECG sensor for heart rate, pulse rate, and oxygen saturation sensor and body temperature sensor.These metrics were selected based on the ability to predict a patient's health status and reliability of the automated data.Each physiological metric measurement with the definitions and units are given in Table 4.The sensor data are evaluated by the following two methods.One is from the serial monitor of Arduino Uno and the other is from a hyper-terminal named RealTerm connecting with LoRa.The serial monitor gathers the sensor data via Bluetooth or wire (ECG) and the hyper-terminal gets the data from Arduino Uno connecting with LoRa modules, which are also shown in Figure 10.which are also shown in Figure 10.

Results and Discussion
Figure 11 presents the overall system with all the elements.The analysis is aimed at collecting human body-centric data and evaluating the performance and effectiveness of the sensors and the wireless platform to ensure the suitability and sustainability of the devices in an IoT based health monitoring system.Figure 12 presents the ECG sensor data, which is collected from the real human body.Figure 13 presents the body temperature, pulse rate, and oxygen saturation rate collected from the serial monitor of Arduino.The average body temperature gathered from the sensor was 35.40 °C.The pulse rate was 55 to 62 bpm and the oxygen saturation rate was 96 to 100%.Figure 14 represents the results displayed on RealTerm to read the serial data coming from the COM port that shows two different messages repeating, which are the Arduino interfaced with the multiprotocol shield and the LoRa module.

Results and Discussion
Figure 11 presents the overall system with all the elements.The analysis is aimed at collecting human body-centric data and evaluating the performance and effectiveness of the sensors and the wireless platform to ensure the suitability and sustainability of the devices in an IoT based health monitoring system.Figure 12 presents the ECG sensor data, which is collected from the real human body.Figure 13 presents the body temperature, pulse rate, and oxygen saturation rate collected from the serial monitor of Arduino.The average body temperature gathered from the sensor was 35.40 • C. The pulse rate was 55 to 62 bpm and the oxygen saturation rate was 96 to 100%.Figure 14 represents the results displayed on RealTerm to read the serial data coming from the COM port that shows two different messages repeating, which are the Arduino interfaced with the multiprotocol shield and the LoRa module.The overall analysis between the normal data of the human body and sensor data are presented in Table 5.It is noticeable that the pulse rate, oxygen saturation, and ECG values have no issue with the human body normal data except body temperature data.This has happened due to the experimental environment.The experiment was performed in the air-conditioned laboratory and that is why the temperature fell down a bit, although the sensor data were acceptable.The overall analysis between the normal data of the human body and sensor data are presented in Table 5.It is noticeable that the pulse rate, oxygen saturation, and ECG values have no issue with the human body normal data except body temperature data.This has happened due to the experimental environment.The experiment was performed in the air-conditioned laboratory and that is why the temperature fell down a bit, although the sensor data were acceptable.6 that represents the sample data of wearable sensors with calculating results of the sample mean, standard deviation, and confidence interval approximations range.Confidence interval approximations range shows the data accuracy in a mathematical form where it is shown that pulse rate, and oxygen saturation sensor data have a 99% confidence interval, where it is 95% for body temperature sensor data.For the hypothesis testing shown in Table 7, we used the Left Tail method where the z score was above the significance level critical value.Body temperature sensor data and Pulse rate sensor data were within the non-rejection area, which means the hypothesis testing is accepted in terms of the gathered value.On the contrary, it was noticeable that the hypothesis testing was rejected in terms of the left tail method, which indicates that the pulse rate data are unable to maximize the accuracy.6 that represents the sample data of wearable sensors with calculating results of the sample mean, standard deviation, and confidence interval approximations range.Confidence interval approximations range shows the data accuracy in a mathematical form where it is shown that pulse rate, and oxygen saturation sensor data have a 99% confidence interval, where it is 95% for body temperature sensor data.For the hypothesis testing shown in Table 7, we used the Left Tail method where the z score was above the significance level critical value.Body temperature sensor data and Pulse rate sensor data were within the non-rejection area, which means the hypothesis testing is accepted in terms of the gathered value.On the contrary, it was noticeable that the hypothesis testing was rejected in terms of the left tail method, which indicates that the pulse rate data are unable to maximize the accuracy.LoRa module node class sends the message to the gateway for a certain period and the gateway receives it for further processing.LoRa 900 MHz ISM (Industrial, scientific and medical) band has been used and the data rate is 12.5 kbps with spreading factor 8 based on the specifications.Sensors related to measuring the vital body signal data such as the ECG sensor, body temperature sensor, oxygen saturation, and pulse rate sensor have the data rate of 8-10 kbps, which is an acceptable data transmission rate for LoRa [32].In addition, the acceptable baud rate of LoRa is up to 115,200 bps.The transmitting and receiving baud rate must be similar for proper transmission, which has also been used in the project for sensor data transfer.For ECG data, the continuous data flow has been shown in the serial plotter of Arduino and it is not possible to send the data in plotter form.However, it is possible to send in a form of listing like the serial monitor of Arduino Uno even though that data rate will be high for lesser samples.
The duty cycle of LoRa is often less than 1%.If many devices send their packets at the same time, there might be a problem with packet loss or network overload.However, the data packets can be sent properly if every device is configured to send at different times, which is an undeniable flaw of the LoRa module.In this paper, the data flow shown by the sensor going through the LoRa and the Waspmote gateway has been taken at different times on a single channel.
The main energy consumers are the microcontroller unit (Arduino Uno), sensor unit (MySignals), and RF unit (LoRa).Digital sensors e.g., MySignals are operated by the battery and have a low power consumption.The microcontroller Arduino Uno has the DC (Direct Current) per I/O pin is 40 mA which is taken as a reference to calculate the overall power consumption of data transmission of LoRa.The transmission power of the Waspmote SX1272 is 14 dBm.In this paper, the LoRa transmission and receiving range in terms of distance has been analyzed.The approximate data are shown in Table 8.It is noticeable that the transmission and receiving time is high due to the increased distance.It also increases the energy consumption rate due to the range and slower data rate.With a minimum range, the data rate is faster and shows lesser energy consumption.In general, more time transmitting means more energy consumption.The secure communication protocol is another important factor of every IoT system solutions, where the data transmission must be reliable, confidential, and available by preventing cyber-attacks.This IoT protocol is divided into three levels: Physical access, network and service and application levels.Every level consists of security issues and solutions.BLE (Bluetooth Low Energy) has the data transit attack in its physical layer and Black Network is the new solution for this issue.MQTT (Message Queuing Telemetry Transport) and IPv4 both have the same data transit attack in their application, and network levels, however, secure MQTT with ABE (Attribute Based Encryption) and IPsec protocol are the new and standard solutions of these issues [33,34].In this paper, the focus is on the LoRa wireless network system and it also has similar protocol levels.Data transit attacks are the main security issue in physical, network, and application levels of the proposed LoRa based solution.To solve the issue, Semtech Corporation, the development company of LoRa, has come up with a solution of embedded end-to-end (Advanced Encryption Standard) AES-128 encryption.This AES-128 is also known as an Application Key (AppKey) that encrypts all the data by ensuring optimal privacy and protection.In addition, the AppKey generates two session keys named Network Session Key (NwkSKey), which ensures the message integrity by creating a specific signature for every device and Application Session Key (AppSKey), which is used for both the encryption and decryption of the payload of the application data.

Conclusions
This paper presented an overall monitoring system of human body signal that is performed by biomedical sensors, MySignals, and the LoRa wireless network system.The MySignals platform is successfully interfaced with ECG, temperature, pulse rate, and oxygen saturation sensors to produce

Figure 6
Figure 6 represents the overall block diagram, where the development process of the health monitoring system for IoT is given.Biomedical sensors are connected to the MySignals and Arduino Uno to collect the health data with a wired and Bluetooth form.Arduino and MySignals are connected with LoRa by the multiprotocol radio shield.The specifications of MySignals are given below in Table 2.It also represents the controlling and monitoring characteristics with different sensors and the data transmission line like wire/Bluetooth/WiFi/LoRa.

Figure 6 .
Figure 6.Block Diagram Representing the Overall System.

Figure 6
Figure 6 represents the overall block diagram, where the development process of the health monitoring system for IoT is given.Biomedical sensors are connected to the MySignals and Arduino Uno to collect the health data with a wired and Bluetooth form.Arduino and MySignals are connected with LoRa by the multiprotocol radio shield.The specifications of MySignals are given below in Table2.It also represents the controlling and monitoring characteristics with different sensors and the data transmission line like wire/Bluetooth/WiFi/LoRa.

Figure 6
Figure 6 represents the overall block diagram, where the development process of the health monitoring system for IoT is given.Biomedical sensors are connected to the MySignals and Arduino Uno to collect the health data with a wired and Bluetooth form.Arduino and MySignals are connected with LoRa by the multiprotocol radio shield.The specifications of MySignals are given below in Table 2.It also represents the controlling and monitoring characteristics with different sensors and the data transmission line like wire/Bluetooth/WiFi/LoRa.

Figure 6 .
Figure 6.Block Diagram Representing the Overall System.Figure 6. Block Diagram Representing the Overall System.

Figure 6 .
Figure 6.Block Diagram Representing the Overall System.Figure 6. Block Diagram Representing the Overall System.

Figure 7 .
Figure 7. MySignals with Sensor Nodes and WiFi Module.

Figure 7 .
Figure 7. MySignals with Sensor Nodes and WiFi Module.

Figure 8 .
Figure 8. LoRa with Waspmote and a Multiprotocol Radio Shield.

Figure 8 .
Figure 8. LoRa with Waspmote and a Multiprotocol Radio Shield.

Figure 8 .
Figure 8. LoRa with Waspmote and a Multiprotocol Radio Shield.

18 Figure 11 .
Figure 11.Overall connection of the system.Figure 11.Overall connection of the system.

Figure 11 .
Figure 11.Overall connection of the system.Figure 11.Overall connection of the system.

Figure 11 .
Figure 11.Overall connection of the system.

Figure 11 .
Figure 11.Overall connection of the system.

Figure 14 .
Figure 14.(a) LoRa module being set up before transmitting packets (b) test packets sending using RealTerm (c) receiving sensor data using RealTerm.

Figure 15 .
Figure 15.Body temperature data collected from the sensor.

Figure 16 .
Figure 16.Pulse rate data collected from the sensor.

Figure 16 .
Figure 16.Pulse rate data collected from the sensor.

Figure 17 .
Figure 17.Oxygen saturation data collected from the sensor.

Figure 17 .
Figure 17.Oxygen saturation data collected from the sensor.

Table 3
represents the LoRa specifications that have been used in the proposed IoT healthcare project.

Table 4 .
Physiological metrics and information.

Table 4 .
Physiological metrics and information.

Table 5 .
Analysis of the human body-centric data and gathered sensor data.Figures 15-17 represent the graph of gathered data from the body temperature sensor, pulse rate sensor, and oxygen saturation sensor, which continues with Table

Table 5 .
Analysis of the human body-centric data and gathered sensor data.17 represent the graph of gathered data from the body temperature sensor, pulse rate sensor, and oxygen saturation sensor, which continues with Table

Table 6 .
Statistical analysis of sample sensor data.

Table 7 .
Hypothesis testing of sample sensor data.

Table 6 .
Statistical analysis of sample sensor data.

Table 7 .
Hypothesis testing of sample sensor data.

Table 10 .
Comparison among different health monitoring systems with applied sensor nodes.BLE: Bluetooth Low Energy; ECG: Electrocardiogram.