Next Article in Journal
Design of Longitudinal–Torsional Transducer and Directivity Analysis during Ultrasonic Vibration-Assisted Milling of Honeycomb Aramid Material
Previous Article in Journal
Absorption Performances of PLA-Montmorillonite Nanocomposites Thin Films in Salisbury and Rozanov Configurations: Influence of Aging and Mechanical Recycling
Previous Article in Special Issue
Micro-Mechanical Investigation of Interfacial Debonding in Carbon Fiber-Reinforced Composites Using Extended Finite Element Method (XFEM) Approach
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Internet of Things-Based ECG and Vitals Healthcare Monitoring System

School of Engineering, Ulster University, Newtownabbey BT37 0QB, Northern Ireland, UK
*
Authors to whom correspondence should be addressed.
Micromachines 2022, 13(12), 2153; https://0-doi-org.brum.beds.ac.uk/10.3390/mi13122153
Submission received: 15 September 2022 / Revised: 29 November 2022 / Accepted: 30 November 2022 / Published: 6 December 2022
(This article belongs to the Special Issue Micro-Scale Energy Harvesting Devices)

Abstract

:
Health monitoring and its associated technologies have gained enormous importance over the past few years. The electrocardiogram (ECG) has long been a popular tool for assessing and diagnosing cardiovascular diseases (CVDs). Since the literature on ECG monitoring devices is growing at an exponential rate, it is becoming difficult for researchers and healthcare professionals to select, compare, and assess the systems that meet their demands while also meeting the monitoring standards. This emphasizes the necessity for a reliable reference to guide the design, categorization, and analysis of ECG monitoring systems, which will benefit both academics and practitioners. We present a complete ECG monitoring system in this work, describing the design stages and implementation of an end-to-end solution for capturing and displaying the patient’s heart signals, heart rate, blood oxygen levels, and body temperature. The data will be presented on an OLED display, a developed Android application as well as in MATLAB via serial communication. The Internet of Things (IoT) approaches have a clear advantage in tackling the problem of heart disease patient care as they can transform the service mode into a widespread one and alert the healthcare services based on the patient’s physical condition. Keeping this in mind, there is also the addition of a web server for monitoring the patient’s status via WiFi. The prototype, which is compliant with the electrical safety regulations and medical equipment design, was further benchmarked against a commercially available off-the-shelf device, and showed an excellent accuracy of 99.56%.

1. Introduction

The use of Internet of Things (IoT) sensors for assessing the human body’s vital signs has grown in prominence in recent years [1]. While the primary driver for such devices has been ubiquitous on-demand healthcare monitoring, there is an increasing case for their use in enabling and improving the healthcare provisions in low- and middle-income countries (LMICs) [2,3]. The existing healthcare facilities in LMICs range from being inadequate to virtually non-existent, and this stems from a lack of finance, infrastructure, and trained manpower amongst other systemic factors [3]. As a result, a significant population and many communities are often deprived of medical care which invariably is expensive and inaccessible. At the same time, chronic disorders such as hypertension, diabetes, heart disease, and chronic obstructive pulmonary disease are becoming more prevalent [4]. In fact, cardiovascular diseases (CVDs) accounting for nearly 17.9 million deaths per year are now the leading cause of mortality across the world [4]. According to the World Health Organization (WHO), in 2016, CVDs accounted for more than 840,000 mortalities in the United States alone [4,5,6]. Similarly, according to the 2017 edition of the European Cardiovascular Disease Statistics, CVDs led to over 5.7 million deaths across Europe and European Union (EU), accounting for nearly 40% of all fatalities [7]. Globally, nearly 80% of CVD deaths occur in LMICs, where often the burden of disease is the greatest [8]. The numbers, as startling as they are, highlight the worldwide prevalence of CVDs, and they also bring to light how LMICs with the least resources suffer most of the disease burden.
While the continuous monitoring of CVD patients’ essential long-term physiological indicators (such as N-terminal pro B-type natriuretic peptide (NT-proBNP)) is crucial [9], day-to-day continuous heart rate monitoring and heartbeat/heartrate detection is equally important in the prognosis and understanding of the progress of the disease [2,3,10]. As such, the capture and analysis of the physiological electrocardiogram (ECG) signals have become the primary de facto healthcare monitoring tool for CVDs. Since the earliest bulky systems, the dramatic evolution of ECG monitors has been driven by advances in the system-on-chip (SoC) design and smart enabling technologies to now provide on-demand wearable-based ECG diagnostics [11,12,13]. As such, ECG monitoring devices are now employed in triaging in hospitals [14], care homes [15], outpatient ambulatory settings [16,17], and remote settings [18,19]. Underpinned by technologies, including the IoT [20,21], edge computing [22,23], and mobile computing [24,25], the ECG systems also incorporate a variety of computational parameters, such as processing frequencies, monitoring techniques, and third-person alerting systems [3,10,26]. Other than CVD detection and management, they have evolved to serve a variety of goals and objectives, including everyday activities [27], sports [28], and even mood-related reasons [29,30]. While decentralization of the diagnostics tools has been the norm in developed societies, the centralised in-patient diagnostics remain the least favoured option in LMICs, where the explicit (test costs) and implicit costs (travel time and loss of earnings) are often detrimental for the patients [3]. As such, the day-to-day monitoring via the physiological ECG signals can provide a comprehensive paradigm for assessing CVDs, aiding disease control and prevention via the continuous monitoring and analysis of the ECG data [2,3,10]. However, it is understood that often the medical infrastructure in LMICs makes the timely intervention and ongoing diagnosis of CVDs challenging owing to the lack of basic diagnostic modalities such as ECG. While the twelve-lead systems remain the gold standard for diagnosing the patient’s cardiac health and future treatment pathway, the commercially available single-lead ECG systems (two- or three-electrodes) have been tested in community settings wherein they have displayed high sensitivity (~98%) and sufficient specificity (~74%) to capture irregular heart rhythms [31]. For the LMICs, it can be argued that the lack of trained healthcare workers necessitates equipment which is end-user friendly, and thus, single-lead ECG systems are preferable to overcome the electrode placement and interpretation issues of multiple-lead systems [32,33]. While there are a number of commercial solutions available on the market (see Table 1) based on single-lead ECG acquisition as well as in the wearable domain, the end-user affordability is the underpinning driving factor for their uptake in LMICs. Consequently, there is a need for effective mitigation, low-cost, bespoke wireless portable health monitoring systems are required, which are reliable, accurate, and energy efficient.
Considering the widespread nature and significance of the problem, and to promote better understanding, analysis, design, and validation of the ECG monitoring systems from a larger viewpoint, we have developed a complete, end-to-end dual-mode (patient- and healthcare practitioner-centric) ECG monitoring device. The system utilises an AD8232 microchip (Analog Devices, USA) as the analog front-end which is then fed into an Arduino (MKR1010, Arduino, Italy) which offers both Bluetooth and WiFi connectivity to a smartphone or another external device for the remote monitoring of the patients. The system also comes equipped with temperature and specific oxygen (SpO2) sensors, and it can be powered by a rechargeable 3.7 V LiPo battery. The proposed device has the following specifications:
  • The device must display an ECG signal on a local display screen, and it records the data on a server.
  • To show the signal on a custom mobile application, the signal must be delivered over Bluetooth.
  • It should include capabilities that enable MATLAB integration; the ECG signal should be sent to MATLAB for further analysis. R-wave detection must be used to compute and display the heart rate on all of the display outputs.
  • All the user interfaces should record and show additional information such as blood oxygen level (SpO2) and skin temperature. The sensor data should be delivered via a WiFi connection to a ThingSpeak server.
  • The final prototype design should be printed on a high-quality PCB and housed in a protective casing. The device must be both portable and wireless.
  • The device must include a low-power sleep mode to enhance the battery’s lifetime and enhance the product’s portability requirements.

2. Materials and Methods

Here, we discuss the theoretical aspects which underpin the practical considerations employed in the system design.

2.1. Analog Front End (AFE)

The low amplitude raw ECG signal necessitates amplification [34], while the elimination of the noise components arising from a range of sources demands strong attenuation (see Figure 1). To eliminate any noise components that were recorded during the ECG capture, the amplified signal needs to pass through a filter. To reduce the AC noise produced by the mains power—50 Hz in Europe and 60 Hz in America—a band-pass or notch filter is generally utilised. If the patient is not motionless throughout the recording, an electromyogram-type noise is created, which alongside the respiration, might cause baseline drift. This is in addition to the electrode offset noise which can occur owing to the poor connection between the patient’s skin and the electrodes. To ensure that the ECG signal is suitable for the analysis, all these noise components must be removed or attenuated significantly prior to digitisation [10,26,35].
While there are several off-the-shelf fully integrated ECG front ends (see Table 2), based on the low-power consumption and low-cost criteria, we have utilised the AD8232 integrated signal conditioning block [10,36,37] (Analog Devices, USA). The AD8232 has a voltage range of 2–3.5 V and a low supply current of 170 µA, making it simple to integrate with an external microcontroller such as Arduino [38]. Moreover, the 4 mm × 4 mm packaging enables it to have a small PCB design, and it features a shutdown pin, allowing it to be configured to save the power. Additionally, the integrated circuit includes a two-pole adjustable high-pass/low-pass filtering arrangement as well as an adjustable gain (maximum gain of 100 V/V), allowing for the configurable capabilities to be tailored for performance testing. There are several features in the AD8232 including a right-leg driver (RLD), leads-off detection, and an in-built fast restore circuit. Given the safety considerations and requirements for a high signal-to-noise (SNR) ratio, a three-electrode design comprising of RA, LA, and RL (RLD) was chosen wherein the RLD/ground-electrode minimises the effects of common noise by extracting the common-mode voltage and driving an opposing signal into the patient. The 1 nF integrator capacitor (C2) works in conjunction with an internal 150 kΩ resistor for driving the RLD. To ensure the patient’s safety, a 360 kΩ resistor (R5) was used to ensure that the current was limited to less than 10 µA. For the three-electrode configuration, the DC leads-off detection mode works by setting the AC / DC ¯ line to ground via the R19 resistor (see Figure 1). The leads-off mechanism relies on pull-up resistors (R1, R2) connected to the positive supply (3V3), and it senses when either of the instrumentation amplifier input voltage is within 0.5 V from the positive rail. Thus, the leads-off detection pins remain low if the electrodes are connected correctly, and this will change to high when they are disconnected.

2.2. Choice of Microcontroller

A microcontroller is required to process the signal that has been amplified and filtered by the front end. To avoid the necessity for an external analogue-to-digital converter (ADC), such as the MCP3208, a microcontroller with an on-board high-resolution ADC is required. Typically, the ADC resolution for mobile health devices is 10–12 bits, however, a 12-bit ADC resolution was required to ensure that the developed system was future-proof. In addition to an on-board ADC, the microcontroller must have at least 8 digital IO pins, with at least three of these enabling pulse width modulation (PWM) to enable the system to work with a wide range of input/output devices. Bluetooth and WiFi capabilities were other requirements for the chosen microcontroller to enable easy communication between the designed system and the peripheral devices. Table 3 lists the specifications of each of the Arduino platforms that were evaluated. In the literature, while Arduino Uno [38,42], and Arduino Mega [43,44,45] are the most popular microcontroller options for usage with the AD8232, we have discounted Mega owing to its large footprint. We have implemented the prototype on an Arduino MKR 1010 (Arduino, Italy) owing to its 12-bit resolution, large flash memory, in-built Bluetooth feature, multiple PWM-enabled pins (see Table 3) and the fact that it is about ten years newer than other models, and to the best of our knowledge, has not been evaluated for ECG signal processing.

2.3. Additional Components

2.3.1. Temperature Sensor

An infrared temperature sensor is necessary for non-contact temperature measurements. We have utilised MLX90614, a medical-grade Arduino-compatible sensor with a 0.02 °C resolution [46] and an accuracy of ±0.2 °C (Melexis, Belgium). It is a small, low-cost device with power-saving modes, operates via the I2C protocol, and has been used in earlier works as well [47,48].

2.3.2. Blood Oxygen Sensor

In view of the COVID-19 pandemic, the measurement of the specific blood oxygen level (SpO2) is extremely important, and was included in the overall device to produce a multi-functional product. From the literature review of such SpO2 sensors, a range of products from Maxim Integrated were found to be available (a comparison can be seen below in Table 4). We have utilised the MAX30100 sensor, which has a small breakout board [49], and as compared to MAX30102, has a smaller footprint (Maxim Integrated, San Jose, CA, USA). The sensor is cost-effective, with a low-power mode for reduced current consumption during the sleep mode.

2.4. Data Output and Communications

As stated in the previous section, the system should provide a live ECG signal on a local display. For such displays, the Organic Light Emitting Diodes (OLED) and Liquid Crystal Display (LCD) are the two most common options for Arduino. While the OLED displays are emissive, which means they generate their light, the LCDs are non-emissive and require a backlight [50]. If only the heart rate were to be displayed to the user, the LCD display would have been optimal, however, as the live ECG signal is to be displayed, the 1.3” OLED with the highest resolution (see Table 5) and lowest power consumption is considered to be ideal [10].

2.4.1. Bluetooth Mobile Application

The live ECG signal should also be presented on a mobile application, with the data being transmitted through Bluetooth in addition to the OLED display. The Arduino MKR 1010 has a built-in Bluetooth Low Energy (BLE) feature, making it an excellent choice for this work. However, it should be noted that mobile health services and applications should be driven by the use of the lowest common denominator technology, such as classic Bluetooth, which is supported by a higher percentage of mobile phones (as compared to BLE), particularly in LMICs [51]. Given that Android phones hold around 73% of the global mobile operating system market as of June 2021 [52], particularly in LMICs, a no-code approach was utilised to design an application compatible with Android phones. For this, the MIT App Inventor, a web-based, open-source development tool that offers a graphical interface for creating fully working Android apps, was chosen [53]. The finished software will have a primary screen that will show the user the live ECG signal as well as the patient’s heart rate, blood oxygen level, and body temperature. It will work with any smartphone that has Android 2.3 Gingerbread or a higher version.

2.4.2. Web Server

A web server was added with the Bluetooth programme to monitor information such as heart rate, SpO2 level, and body temperature. Arduino IoT [54], Thingworx [55], and ThingSpeak [56] are examples of pre-made systems that offer such functionality. Since ThingSpeak can execute the MATLAB code, allowing for live signal processing and analysis, it was therefore chosen as the IoT server for patient data monitoring. It also makes it simple to import the sensor data into MATLAB. The Arduino MKR 1010 has a u-blox NINA-W102 multi radio module multi-radio that also supports WiFi connectivity, eliminating the need for a separate WiFi shield. The capability of reading raw ECG data from the AD8232 into MATLAB (through USB Serial) through the Arduino MKR 1010 has been introduced to the system.

3. System Overview

3.1. Component Block Diagram

The inputs and outputs, as well as how they are interfaced with the microcontroller, are shown in Figure 1, and they are further described in the block diagram below (Figure 2). The MKR 1010 is powered by a USB 5 V or a 3.7 V LiPo battery, and the Phantom 320 (Medtec Science GMBH, Germany) generates the raw ECG signal, which is then processed by the AD8232 before entering an ADC pin on the MKR 1010. It should be noted that the ECG signal can also be captured from a live subject (as denoted by the dashed line). Their blood oxygen levels, and skin temperature may be measured and sent to MKR 1010 via contact with the human. A local OLED, a Bluetooth application, and MATLAB are used to display the processed ECG signal, while the basic patient data are shown using the ThingSpeak server.

3.2. System Flow Design

Following the selection of the hardware, the following phase in the design process was to determine how the system should function. The fundamental system flow diagram for the two developed modes, the consumer, and medical modes, is shown in Figure 3. The medical mode was created with MATLAB in mind for an extensive heart condition analysis. The consumer mode, on the other hand, is designed for the regular user who wants to track their heart rate, SpO2 levels, and body temperature and examine the information on an OLED display, a mobile phone app, or a web server.

4. PCB Design

Once the hardware and system design were completed, the next stage was to construct a breadboard-based circuit and to follow it up with the corresponding PCB design. The prototype PCB with the dimensions of 140 × 100 × 0.8 mm (Figure 4) had an MKR 1010 positioned in the center of the PCB to make track routing for extra components easier. It was linked through two 14-pin female headers onto which the MKR 1010 was inserted. The I2C line was used to link the MLX90614, MAX30100, and OLED. For the I2C line and 3.3 V, the MLX90614 (Melexis, Belgium) required two 10 KΩ pull-up 0402 resistors. The I2C lines and 3.3 V were necessary for the MAX30100 breakout board to function. For it to work, the OLED required I2C lines and 5 V. For these connections, female headers were installed on the PCB. A 4-pin female header was used to link the Bluetooth classic module to the MKR 1010 via SPI and 5 V line.
Two female headers for the switches were included on the PCB. A 3-pin header with two digital pins and 3.3 V was required for the mode selection switch. A 10-KΩ 0402 resistor linked to the ground and a 3.3 V supply powered the interrupt switch, which was a 2-pin header attached to a digital pin. To limit the potential of noise interfering with the raw ECG input signal, the AD8232 was positioned next to the five-pole 3.5 mm surface-mounted audio jack in conjunction with the passive 0402 and 0603 components. The short tracks near the AD8232 were 0.25 mm wide, whereas the longer tracks were made to be 0.75 mm wide to ensure that they were not damaged during handling.
A two-pole 0.5 Hz high-pass filter was followed by a two-pole 40 Hz low-pass filter in the AD8232 circuit. The gain of the op-amp was set to 11, resulting in a total system gain of 1100. The following equation was used to create the high-pass filter:
f c = 10 2 π   ( R 1 ) ( C 1 ) ( R 2 ) ( C 2 )
f c = 10 2 π   ( 10 × 10 6 ) ( 0.33 × 10 6 ) ( 10 × 10 6 ) ( 0.33 × 10 6 )   where   f c = 0.48   Hz
The low-pass filter was designed using the following equation:
f c = 1 2 π   ( R 1 ) ( C 1 ) ( R 2 ) ( C 2 )
f c = 1 2 π   ( 1 × 10 6 ) ( 10 × 10 9 ) ( 1 × 10 6 ) ( 1.5 × 10 9 )   where   f c = 41.09   Hz
G a i n L P = 1 + R 3 R 4
G a i n L P = 1 + 1 × 10 6 100 × 10 3 = 11
As such, the complete electronic bill of materials (BOM) is shown in Table 6.

5. Arduino Code Design

5.1. System Flow Design

The final system flow diagram was developed prior to building the software for the MKR 1010, providing a full overview for completing the code. Figure 5 shows the flow diagram for the system operation. The two major modes, medical and consumer, both record the ECG signal for 30 s. When the device is in medical mode, the user is provided with graphs and charts, highlighting the identified QRS complexes, and when the ECG recording is completed, and the Arduino system goes to sleep. The live ECG signal is shown on both the OLED and Android apps when it is recording in the consumer mode. The patient’s SpO2 level and body temperature, as well as the computed heart rate and the voltage level of the on-board LiPo battery, are recorded and relayed to the OLED display, Android application, and the ThingSpeak Web Server, simultaneously, when the ECG recording is completed. The system will then go into sleep mode and stay there until the push button interrupt is used to wake it up. This is true in both the medical and consumer settings.

5.2. Code Design

The following sections provide a brief introduction of some of the codes’ most important features.

5.2.1. OLED Live ECG Signal

One of the main features of the system is that it displays the live ECG signal on the OLED display during the consumer mode. When the analogRead() command is used to import the ECG signal from the AD8232 (10-bit ADC for consumer mode), the map function is used to reformat the data so that they may be shown on the OLED. The ‘drawLine’ command from the ‘u8g2’ library is then used to construct the ECG plot. The current and prior ‘x’ and ‘y’ values are among the four variables. This provides two co-ordinates between which a line can be drawn. When the value of ‘x’ surpasses 127 (the OLED is 128 pixels wide), the OLED is cleared, and graphing resumes on the left side of the display, moving towards the right.

5.2.2. Lead-Off Detection

It is critical to verify that there is no distortion between the body and the electrode while it is measuring a patient’s ECG signal, otherwise the stated findings may not correctly reflect the patient’s genuine cardiac status due to distortion. Techniques such as lead-off detection are recommended for ensuring that the electrodes are correctly attached to the patient, and it will alert the user/medical worker if they are not. The lead off detection subroutine as implemented on Arduino is shown in Figure 6.

5.2.3. Sleep Mode

The addition of a sleep mode is beneficial in extending the battery source’s longevity as the system is meant for portable use. The ‘ArduinoLowPower’ library, which is meant for use with SAMD compatible boards such as the MKR1010 one, has been used to construct a hardware interrupt. At the end of both the medical and consumer modes, the machine goes into sleep mode. The function ‘wakeUpArduino’ executes whenever the low power interrupt is hit, and the system reboots via an internal reset.

5.2.4. MATLAB Data Import

The ECG signal must be imported into MATLAB to implement the medical mode as previously described. The ‘Serial.print()’ method in Arduino is used to do this. In this case, it is utilised to communicate the ECG signal over USB to a PC running MATLAB. A 12-bit ADC resolution is employed in the medical mode to provide a higher signal accuracy. MATLAB additionally requires ‘Carriage Return’ and ‘Linefeed’ terminators.

6. Android Application

The Android application contains a real-time graphing of the recorded ECG signal, as well as displays of the heart rate, blood oxygen level, and body temperature. Figure 7a displays an early version of the Android app with a noisy ECG signal and minimal human–machine interaction elements. This was enhanced until the final application, Figure 7b, incorporated real-time ECG graphing and additional health care statistics.

ThingSpeak

A ThingSpeak server, as shown in Figure 7c, was created as part of the work to allow for the remote monitoring of the patient’s heart rate, SpO2, and temperature levels, as well as the voltage of the internal LiPo battery. A channel was constructed in ThingSpeak to display these data, with each variable displayed on a graph and a text box displaying the last value received from the Arduino. The data were transferred wirelessly from the MKR 1010 to the ThingSpeak server via an API key for publishing to the server as well as the channel ID. The ‘write2TSData’ method, a part of the Arduino ThingSpeak library, was used to transmit the variables to the server.

7. ECG Signal Processing

As cardiovascular disease is the leading cause of mortality worldwide, substantial research and development into the diagnosis and prevention of CVD-related fatalities has been conducted [57]. The most important element of an ECG signal is the QRS complex. The QRS complex explains the electrical activity that occurs during Ventricular Depolarization, and it has been used to diagnose a variety of cardiac diseases. Throughout the 20th century, computer-based ECG equipment grew in popularity, and a survey in 1988 found that over half of the 100 million ECGs recorded in the United States were interpreted by computer ECG programs [58]. The advantages of computerised ECGs much outweighed the additional expense. The problem that hospitals faced was that there were just not enough electro cardiographers to read all of the ECGs that were being generated. The computerization of ECGs has substantially shortened the time between recording an ECG and diagnosing a patient [59].
Software development for QRS complex detection has been investigated for over 30 years, however, the computers’ capabilities limited any methods developed in the early phases. During the evolution of the microprocessor, the attention shifted away from hardware implementations and toward more software-based solutions for QRS detection [60]. For QRS detection, a variety of methods are utilised, including Pan-Tompkins, Hillbert Transform, and Wavelets Transform. A majority of these algorithms have a pre-processing step, which is followed by a decision stage that contains r-peak detection and decision logic. The focus these days is on AI-based systems that employ Convolutional Neural Networks (CNN) to recognise QRS complexes properly. The project ‘Common Standards for Quantitative Electrocardiology’ was a huge step forward in ECG signal processing. Many ECG datasets were created as part of this research, allowing for the extensive testing and development of new technologies. Some of the CSE project’s specifications are still relevant today [61].

QRS Complex Detection Algorithm

A basic Pan–Tompkins algorithm was constructed in MATLAB to demonstrate the capabilities of the developed equipment [62]. The Pan–Tompkins algorithm relies on the detection of the QRS complex via the strongest observable feature which commences once the ECG signal is recorded into MATLAB using the ‘Medical Mode’. The following steps are outlined.
Filtering—To eliminate the typical components of noise present in ECG data, a bandpass filter of total order four with a passband of 5–15 Hz is used.
Differentiation—The filtered signal is then differentiated, yielding information about the QRS slopes.
Squaring—Entails squaring the differentiated signal. This increases the signal’s dominance of the frequencies known to include QRS information. It also lowers the chances of a T-wave being misidentified as an R-wave.
Integration—A moving mean integration window is used to integrate the squared signal. There are 54 samples in this window (150 ms). The QRS complexes will be distorted if the window is too large or too narrow, resulting in erroneous peak detections.
Peak detection—As the simulator, Phantom 320, produces a clear signal, sophisticated thresholding requirements are unnecessary. A simple ‘findpeaks’ function may be used to detect the R waves in the ECG data at that time. If the gadget is to be commercialised, a more complex algorithm needs to be incorporated. Figure 8 illustrates the technique outlined above graphically.
Besides the ECG capture accuracy, a basic performance test was performed to evaluate the accuracy of the SpO2 sensor and the temperature sensor. The MAX30100 and the off-the-shelf Pulse Oximeter were used to collect a sample from the individual (Figure 9). The MAX30100 employed inside our developed system was 99% accurate in this testing situation, according to the results. Similarly, a performance test was performed to check the accuracy of the body temperature sensor. The MLX90614 and an infrared thermometer (Boots, United Kingdom) were used to record each patient’s body temperature. Table 7 summarises these findings.

8. Conclusions

In this study, we propose a pervasive healthcare service based on IoT-based ECG and vitals monitoring system. This system continually monitors the patients’ signs, such as ECG and SpO2, and offers data transmission modalities to balance the healthcare demand for communication and processing the resources. A prototype fulfilling the requirements of the amplification, filtering, digitization, processing, and transmission of the ECG signal was developed which further transmits it to multiple back-end devices including the displays, mobile applications, and web servers. In addition, the system keeps track of the SpO2 levels and body temperature. It generates precise ECG signal recordings while remaining portable as well as user-friendly. Invariably, in its current state-of-the-art form, the wearables technology (including smartwatches, smart vest, etc.) for ECG are more expensive than the portable ECG monitors are, and is therefore, they are not being considered for use in the context of LMICs, and thus, our system could provide a solution. In its current format, our proposed solution is similar to the other devices (shown in Table 1) which are capable of recoding 25–30 s of ECG data, and they often provide data on heart rate (variability) with the additional features of a smartphone interface and/or display screen and cloud integration. The cheapest option with all-inclusive features is ~$80, however, at such a price point, the end user’s affordability often becomes the constraint for their use in LMICs. We believe that scaling up further design iterations will bring down our cost down dramatically, and the further integration of Data Stream Management System (DSMS) technology will enhance capabilities such as continuous query, windowing, and aggregation. Following that, data stream mining and context awareness technologies are being evaluated as ways to give more powerful ubiquitous healthcare services to patients, such as early warning and real-time knowledge assistance.

Author Contributions

Conceptualization, N.S. and M.U.H.; methodology, J.H.; software, J.B.; validation, J.H., J.B., N.S. and M.U.H.; data curation, J.H. and J.B.; writing—original draft preparation, J.H. and J.B.; writing—review and editing, M.U.H. and N.S.; supervision, N.S. and M.U.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the cited studies used in our analysis and no information of the subjects was made public. No additional samples for the purpose of this study were collected. Patients were informed of the research and their nonobjection approval was confirmed.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Swaroop, K.N.; Chandu, K.; Gorrepotu, R.; Deb, S. A Health Monitoring System for Vital Signs Using IoT. Internet Things 2019, 5, 116–129. [Google Scholar] [CrossRef]
  2. Thwaites, C.L.; Ngoc Dinh, M.; Nygate, J.; Hoang Minh Tu, V.; van Cuong, N.; Anh, T.T.; McBride, A.; Huynh, T.; Chau, N.H.; Lâm, H.M.; et al. New Technologies to Improve Healthcare in Low- and Middle-Income Countries: Global Grand Challenges Satellite Event, Oxford University Clinical Research Unit, Ho Chi Minh City, 17th-18th September 2019. Wellcome Open Res. 2020, 5, 17–18. [Google Scholar] [CrossRef]
  3. Soin, N.; Fishlock, S.J.; Kelsey, C.; Smith, S. Triboelectric Effect Enabled Self-Powered, Point-of-Care Diagnostics: Opportunities for Developing ASSURED and REASSURED Devices. Micromachines 2021, 12, 337. [Google Scholar] [CrossRef] [PubMed]
  4. Cardiovascular Diseases. Available online: https://www.who.int/health-topics/cardiovascular-diseases#tab=tab_1 (accessed on 15 July 2022).
  5. Roth, G.A.; Johnson, C.O.; Abate, K.H.; Abd-Allah, F.; Ahmed, M.; Alam, K.; Alam, T.; Alvis-Guzman, N.; Ansari, H.; Ärnlöv, J.; et al. The Burden of Cardiovascular Diseases Among US States, 1990-2016. JAMA Cardiol. 2018, 3, 375–389. [Google Scholar] [CrossRef]
  6. Mozaffarian, D.; Benjamin, E.J.; Go, A.S.; Arnett, D.K.; Blaha, M.J.; Cushman, M.; de Ferranti, S.; Després, J.P.; Fullerton, H.J.; Howard, V.J.; et al. Executive Summary: Heart Disease and Stroke Statistics-2015 Update: A Report from the American Heart Association. Circulation 2015, 131, 434–441. [Google Scholar] [CrossRef] [Green Version]
  7. Nichols, M.; Townsend, N.; Scarborough, P.; Rayner, M. Cardiovascular Disease in Europe 2014: Epidemiological Update. Eur. Heart J. 2014, 35, 2950–2959. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Anand, S.; Bradshaw, C.; Prabhakaran, D. Prevention and Management of CVD in LMICs: Why Do Ethnicity, Culture, and Context Matter? BMC Med. 2020, 18, 7. [Google Scholar] [CrossRef]
  9. Navarro, C.; Fishlock, S.J.; Steele, D.N.; Puttaswamy, S.V.; Lubarsky, G.; Raj, S.; McLaughlin, J. A Point-of-Care Measurement of NT-ProBNP for Heart Failure Patients. IEEE Access 2020, 8, 138973–138983. [Google Scholar] [CrossRef]
  10. Faruk, N.; Abdulkarim, A.; Emmanuel, I.; Folawiyo, Y.Y.; Adewole, K.S.; Mojeed, H.A.; Oloyede, A.A.; Olawoyin, L.A.; Sikiru, I.A.; Nehemiah, M.; et al. A Comprehensive Survey on Low-Cost ECG Acquisition Systems: Advances on Design Specifications, Challenges and Future Direction. Biocybern. Biomed. Eng. 2021, 41, 474–502. [Google Scholar] [CrossRef]
  11. Chamadiya, B.; Mankodiya, K.; Wagner, M.; Hofmann, U.G. Textile-Based, Contactless ECG Monitoring for Non-ICU Clinical Settings. J. Ambient. Intell. Humaniz. Comput. 2013, 4, 791–800. [Google Scholar] [CrossRef]
  12. Kwon, J.M.; Jeon, K.H.; Kim, H.M.; Kim, M.J.; Lim, S.M.; Kim, K.H.; Song, P.S.; Park, J.; Choi, R.K.; Oh, B.H. Comparing the Performance of Artificial Intelligence and Conventional Diagnosis Criteria for Detecting Left Ventricular Hypertrophy Using Electrocardiography. EP Eur. 2020, 22, 412–419. [Google Scholar] [CrossRef] [PubMed]
  13. Siva Nagendra Reddy, P.; Vishnu Vardhan, D.; Tharun Kumar Reddy, K.; Ajay Kumar Reddy, P. An IoT-Based Low-Cost Weather Monitoring and Alert System Using Node MCU. Smart Innov. Syst. Technol. 2018, 77, 265–274. [Google Scholar] [CrossRef]
  14. Hutchison, A.W.; Malaiapan, Y.; Jarvie, I.; Barger, B.; Watkins, E.; Braitberg, G.; Kambourakis, T.; Cameron, J.D.; Meredith, I.T. Prehospital 12-Lead ECG to Triage ST-Elevation Myocardial Infarction and Emergency Department Activation of the Infarct Team Significantly Improves Door-to-Balloon Times: Ambulance Victoria and Monash Heart Acute Myocardial Infarction (MonAMI) 12-Lead ECG Project. Circ. Cardiovasc. Interv. 2009, 2, 528–534. [Google Scholar] [CrossRef] [Green Version]
  15. Fensli, R.; Gunnarson, E.; Gundersen, T. A Wearable ECG-Recording System for Continuous Arrhythmia Monitoring in a Wireless Tele-Home-Care Situation. In Proceedings of the 18th IEEE Symposium on Computer-Based Medical Systems, Dublin, Ireland, 23–24 June 2005; pp. 407–412. [Google Scholar] [CrossRef]
  16. Gionfriddo, W.J.; Laidlaw, D.W.; Mark Estes, N.A. Ambulatory Electrocardiography. In Cardiology Procedures; Springer: Cham, Switzerland, 2022; pp. 159–167. [Google Scholar] [CrossRef]
  17. Petrenas, A.; Marozas, V.; Jaruševičius, G.; Sörnmo, L. A Modified Lewis ECG Lead System for Ambulatory Monitoring of Atrial Arrhythmias. J. Electrocardiol. 2015, 48, 157–163. [Google Scholar] [CrossRef] [PubMed]
  18. Elgendi, M.; Al-Ali, A.; Mohamed, A.; Ward, R. Improving Remote Health Monitoring: A Low-Complexity ECG Compression Approach. Diagnostics 2018, 8, 10. [Google Scholar] [CrossRef] [Green Version]
  19. Guan, K.; Shao, M.; Wu, S. A Remote Health Monitoring System for the Elderly Based on Smart Home Gateway. J. Healthc. Eng. 2017, 2017, 5843504. [Google Scholar] [CrossRef] [PubMed]
  20. Selvaraj, S.; Sundaravaradhan, S. Challenges and Opportunities in IoT Healthcare Systems: A Systematic Review. SN Appl. Sci. 2020, 2, 1–8. [Google Scholar] [CrossRef] [Green Version]
  21. Tuli, S.; Basumatary, N.; Gill, S.S.; Kahani, M.; Arya, R.C.; Wander, G.S.; Buyya, R. HealthFog: An Ensemble Deep Learning Based Smart Healthcare System for Automatic Diagnosis of Heart Diseases in Integrated IoT and Fog Computing Environments. Future Gener. Comput. Syst. 2020, 104, 187–200. [Google Scholar] [CrossRef]
  22. Oueida, S.; Kotb, Y.; Aloqaily, M.; Jararweh, Y.; Baker, T. An Edge Computing Based Smart Healthcare Framework for Resource Management. Sensors 2018, 18, 4307. [Google Scholar] [CrossRef] [Green Version]
  23. Sodhro, A.H.; Luo, Z.; Sangaiah, A.K.; Baik, S.W. Mobile Edge Computing Based QoS Optimization in Medical Healthcare Applications. Int. J. Inf. Manag. 2019, 45, 308–318. [Google Scholar] [CrossRef]
  24. El-Rashidy, N.; El-Sappagh, S.; Riazul Islam, S.M.; El-Bakry, H.M.; Abdelrazek, S. Mobile Health in Remote Patient Monitoring for Chronic Diseases: Principles, Trends, and Challenges. Diagnostics 2021, 11, 607. [Google Scholar] [CrossRef] [PubMed]
  25. Mamdiwar, S.D.; Akshith, R.; Shakruwala, Z.; Chadha, U.; Srinivasan, K.; Chang, C.Y. Recent Advances on IoT-Assisted Wearable Sensor Systems for Healthcare Monitoring. Biosensors 2021, 11, 372. [Google Scholar] [CrossRef] [PubMed]
  26. Serhani, M.A.; El Kassabi, H.T.; Ismail, H.; Navaz, A.N. ECG Monitoring Systems: Review, Architecture, Processes, and Key Challenges. Sensors 2020, 20, 1796. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  27. Vuorinen, T.; Noponen, K.; Vehkaoja, A.; Onnia, T.; Laakso, E.; Leppänen, S.; Mansikkamäki, K.; Seppänen, T.; Mäntysalo, M. Validation of Printed, Skin-Mounted Multilead Electrode for ECG Measurements. Adv. Mater. Technol. 2019, 4, 1900246. [Google Scholar] [CrossRef]
  28. Lv, W.; Guo, J. Real-Time ECG Signal Acquisition and Monitoring for Sports Competition Process Oriented to the Internet of Things. Measurement 2021, 169, 108359. [Google Scholar] [CrossRef]
  29. Carney, R.M.; Freedland, K.E.; Steinmeyer, B.C.; Rubin, E.H.; Stein, P.K.; Rich, M.W. Nighttime Heart Rate Predicts Response to Depression Treatment in Patients with Coronary Heart Disease. J. Affect. Disord. 2016, 200, 165–171. [Google Scholar] [CrossRef] [Green Version]
  30. Valenza, G.; Nardelli, M.; Lanata, A.; Gentili, C.; Bertschy, G.; Kosel, M.; Scilingo, E.P. Predicting Mood Changes in Bipolar Disorder Through Heartbeat Nonlinear Dynamics. IEEE J. Biomed. Health Inform. 2016, 20, 1034–1043. [Google Scholar] [CrossRef] [PubMed]
  31. Babusiak, B.; Borik, S.; Smondrk, M. Two-Electrode ECG for Ambulatory Monitoring with Minimal Hardware Complexity. Sensors 2020, 20, 2386. [Google Scholar] [CrossRef]
  32. Pitman, B.M.; Chew, S.-H.; Wong, C.X.; Jaghoori, A.; Iwai, S.; Thomas, G.; Chew, A.; Sanders, P.; Lau, D.H. Performance of a Mobile Single-Lead Electrocardiogram Technology for Atrial Fibrillation Screening in a Semirural African Population: Insights from “The Heart of Ethiopia: Focus on Atrial Fibrillation” (TEFF-AF) Study. JMIR Mhealth Uhealth 2021, 9, e24470. [Google Scholar] [CrossRef]
  33. Soni, A.; Earon, A.; Handorf, A.; Fahey, N.; Talati, K.; Bostrom, J.; Chon, K.; Napolitano, C.; Chin, M.; Sullivan, J.; et al. High Burden of Unrecognized Atrial Fibrillation in Rural India: An Innovative Community-Based Cross-Sectional Screening Program. JMIR Public Health Surveill. 2016, 2, e6517. [Google Scholar] [CrossRef] [Green Version]
  34. Singh, B.N.; Tiwari, A.K. Optimal Selection of Wavelet Basis Function Applied to ECG Signal Denoising. Digit. Signal Processing 2006, 16, 275–287. [Google Scholar] [CrossRef]
  35. Raja, K.; Saravanan, S.; Anitha, R.; Priya, S.S.; Subhashini, R. Design of a Low Power ECG Signal Processor for Wearable Health System-Review and Implementation Issues. In Proceedings of the 2017 11th International Conference on Intelligent Systems and Control, ISCO 2017, Coimbatore, India, 5–6 February 2017; pp. 383–387. [Google Scholar] [CrossRef]
  36. Gifari, M.W.; Zakaria, H.; Mengko, R. Design of ECG Homecare:12-Lead ECG Acquisition Using Single Channel ECG Device Developed on AD8232 Analog Front End. In Proceedings of the 5th International Conference on Electrical Engineering and Informatics: Bridging the Knowledge between Academic, Industry, and Community, ICEEI 2015, Denpasar, Indonesia, 10–11 August 2015; pp. 371–376. [Google Scholar] [CrossRef]
  37. Agung, M.A. Basari 3-Lead Acquisition Using Single Channel ECG Device Developed on AD8232 Analog Front End for Wireless ECG Application. AIP Conf. Proc. 2017, 1817, 040015. [Google Scholar] [CrossRef]
  38. Iskandar, W.J.; Roihan, I.; Koestoer, R.A. Prototype Low-Cost Portable Electrocardiogram (ECG) Based on Arduino-Uno with Bluetooth Feature. AIP Conf. Proc. 2019, 2193, 050019. [Google Scholar] [CrossRef]
  39. Single-Lead, Heart Rate Monitor Front End. Available online: www.analog.com (accessed on 16 July 2022).
  40. HM301D-Diagnostic Quality Acquisition System for Bio-Electric Sensors and Bio-Impedance Measurements-STMicroelectronics. Available online: https://www.st.com/en/data-converters/hm301d.html (accessed on 16 July 2022).
  41. ADS1191 Data Sheet, Product Information and Support|TI.Com. Available online: https://www.ti.com/product/ADS1191 (accessed on 16 July 2022).
  42. Dioren Rumpa, L.; Suluh, S.; Hendrika Ramopoly, I.; Jefriyanto, W. Development of ECG Sensor Using Arduino Uno and E-Health Sensor Platform: Mood Detection from Heartbeat. J. Phys. Conf. Ser. 2020, 1528, 012043. [Google Scholar] [CrossRef]
  43. Güvenç, H. Wireless ECG Device with Arduino. In Proceedings of the TIPTEKNO 2020-Tip Teknolojileri Kongresi-2020 Medical Technologies Congress, TIPTEKNO 2020, Antalya, Turkey, 19–20 November 2020. [Google Scholar] [CrossRef]
  44. Bravo-Zanoguera, M.; Cuevas-González, D.; Reyna, M.A.; García-Vázquez, J.P.; Avitia, R.L. Fabricating a Portable ECG Device Using AD823X Analog Front-End Microchips and Open-Source Development Validation. Sensors 2020, 20, 5962. [Google Scholar] [CrossRef] [PubMed]
  45. Tătaru, A.I. Drugă; CN Designing and Realization an ECG Based the Arduino Mega 2560 Development Board. IOP Conf. Ser. Mater. Sci. Eng. 2019, 568, 012081. [Google Scholar] [CrossRef] [Green Version]
  46. Digital Non-Contact Infrared Thermometer (MLX90614) #Melexis. Available online: https://www.melexis.com/en/product/mlx90614/digital-plug-play-infrared-thermometer-to-can (accessed on 16 July 2022).
  47. Marques, G.; Pitarma, R. Non-Contact Infrared Temperature Acquisition System Based on Internet of Things for Laboratory Activities Monitoring. Procedia Comput. Sci. 2019, 155, 487–494. [Google Scholar] [CrossRef]
  48. Jin, G.; Zhang, X.; Fan, W.; Liu, Y.; He, P. Design of Non-Contact Infra-Red Thermometer Based on the Sensor of MLX90614. Open Autom. Control. Syst. J. 2015, 7, 8–20. [Google Scholar] [CrossRef]
  49. MAX30100 Pulse Oximeter and Heart-Rate Sensor IC for Wearable Health|Maxim Integrated. Available online: https://www.maximintegrated.com/en/products/sensors/MAX30100.html (accessed on 16 July 2022).
  50. Optics & Photonics News-OLED Versus LCD: Who Wins? Available online: https://www.optica-opn.org/home/articles/volume_26/february_2015/departments/oled_versus_lcd_who_wins/ (accessed on 16 July 2022).
  51. van Heerden, A.; Tomlinson, M.; Swartz, L. Point of Care in Your Pocket: A Research Agenda for the Field of m-Health. Bull. World Health Organ. 2012, 90, 393–394. [Google Scholar] [CrossRef]
  52. Top, A.; Gökbulut, M. Android Application Design with MIT App Inventor for Bluetooth Based Mobile Robot Control. Wirel. Pers. Commun. 2022, 126, 1403–1429. [Google Scholar] [CrossRef]
  53. Mobile OS Market Share 2021|Statista. Available online: https://0-www-statista-com.brum.beds.ac.uk/statistics/272698/global-market-share-held-by-mobile-operating-systems-since-2009/ (accessed on 16 July 2022).
  54. Singh, P.; Jasuja, A. IoT Based Low-Cost Distant Patient ECG Monitoring System. In Proceedings of the IEEE International Conference on Computing, Communication and Automation, ICCCA 2017, Greater Noida, India, 5–6 May 2017; pp. 1330–1334. [Google Scholar] [CrossRef]
  55. Kadarina, T.M.; Priambodo, R. Monitoring Heart Rate and SpO2 Using Thingsboard IoT Platform for Mother and Child Preventive Healthcare. IOP Conf. Ser. Mater. Sci. Eng. 2018, 453, 012028. [Google Scholar] [CrossRef]
  56. Bharadwaj, K.; Dhawan, R.; Ray, M.K.; Mahalakshmi, P. Wi-Fi-Based Low-Cost Monitoring of ECG and Temperature Parameters Using Arduino and ThingSpeak. Lect. Notes Electr. Eng. 2018, 442, 637–646. [Google Scholar] [CrossRef]
  57. Liu, F.; Liu, C.; Jiang, X.; Zhang, Z.; Zhang, Y.; Li, J.; Wei, S. Performance Analysis of Ten Common QRS Detectors on Different ECG Application Cases. J. Healthc. Eng. 2018, 2018, 9050812. [Google Scholar] [CrossRef] [Green Version]
  58. Drazen, E.; Mann, N.; Borun, R.; Laks, M.; Bersen, A. Survey of Computer-Assisted Electrocardiography in the United States. J. Electrocardiol. 1988, 21, S98–S104. [Google Scholar] [CrossRef] [PubMed]
  59. Rautaharju, P.M. Eyewitness to History: Landmarks in the Development of Computerized Electrocardiography. J. Electrocardiol. 2016, 49, 1–6. [Google Scholar] [CrossRef]
  60. Köhler, B.U.; Hennig, C.; Orglmeister, R. The Principles of Software QRS Detection. IEEE Eng. Med. Biol. Mag. 2002, 21, 42–57. [Google Scholar] [CrossRef]
  61. Pan, J.; Tompkins, W.J. A Real-Time QRS Detection Algorithm. IEEE Trans. Biomed. Eng. 1985, 32, 230–236. [Google Scholar] [CrossRef]
  62. Rubel, P.; Fayn, J.; Macfarlane, P.W.; Pani, D.; Schlögl, A.; Värri, A. The History and Challenges of SCP-ECG: The Standard Communication Protocol for Computer-Assisted Electrocardiography. Hearts 2021, 2, 384–409. [Google Scholar] [CrossRef]
Figure 1. Custom-built, end-to-end ECG capturing system. The main components of the prototype are the AD8232-based AFE, temperature sensor (MLX90614), SpO2 sensor (MAX30100), and the Arduino MKR1010. The communication and display options are provided by the OLED and classic BT. The entire system is powered by a 3.7 V rechargeable Li battery.
Figure 1. Custom-built, end-to-end ECG capturing system. The main components of the prototype are the AD8232-based AFE, temperature sensor (MLX90614), SpO2 sensor (MAX30100), and the Arduino MKR1010. The communication and display options are provided by the OLED and classic BT. The entire system is powered by a 3.7 V rechargeable Li battery.
Micromachines 13 02153 g001
Figure 2. Component block diagram. The dotted line represents that ECG can be acquired either from a simulated source or from a human.
Figure 2. Component block diagram. The dotted line represents that ECG can be acquired either from a simulated source or from a human.
Micromachines 13 02153 g002
Figure 3. System flow diagram.
Figure 3. System flow diagram.
Micromachines 13 02153 g003
Figure 4. PCB layout highlight the routing and placement of various components.
Figure 4. PCB layout highlight the routing and placement of various components.
Micromachines 13 02153 g004
Figure 5. System level flow diagram. “F” represents the action if the condition is false, while “T” represents the action if the statement is true.
Figure 5. System level flow diagram. “F” represents the action if the condition is false, while “T” represents the action if the statement is true.
Micromachines 13 02153 g005
Figure 6. Lead off detection subroutine. “F” represents the action if the condition is false, while “T” represents the action if the statement is true.
Figure 6. Lead off detection subroutine. “F” represents the action if the condition is false, while “T” represents the action if the statement is true.
Micromachines 13 02153 g006
Figure 7. (a) Android App V1.0, (b) Android App V2.4, and (c) the ThingSpeak channel.
Figure 7. (a) Android App V1.0, (b) Android App V2.4, and (c) the ThingSpeak channel.
Micromachines 13 02153 g007
Figure 8. MATLAB ECG signal processing outputs. ×105 and ×106 are the scales of amplitude in the subplots.
Figure 8. MATLAB ECG signal processing outputs. ×105 and ×106 are the scales of amplitude in the subplots.
Micromachines 13 02153 g008
Figure 9. Final working prototype, (a) external packaging, and (b) internal structure.
Figure 9. Final working prototype, (a) external packaging, and (b) internal structure.
Micromachines 13 02153 g009
Table 1. Comparison of commercially available ECG capturing systems (√ means that the feature is available, while ✗ means that the feature is unavailable).
Table 1. Comparison of commercially available ECG capturing systems (√ means that the feature is available, while ✗ means that the feature is unavailable).
ECG DeviceSingle-LeadDisplay CapabilityStorage FacilityBuilt-in BatteryData TransmissionCloud-Based ServicesSmart-Phone InterfaceFDA ApprovalCost ($US)
Kardia mobile$89
Omron HS$387
Heal Force$170
Instant Check$422
Heart Check CardiBeat$129
Nuvant mobile$754
Afibalert$449
ECG Check$80
DimetekNA
ZiopatchNA
ZenicoreNA
Reka E100NA
Read my heartNA
Medtronic RevealNA
Smart-vest (multi-lead)NA
This work$131
Table 2. Analog front-end IC comparison (√ means that the feature is available).
Table 2. Analog front-end IC comparison (√ means that the feature is available).
ParameterAD8232 [39]HM301D [40]ADS1191 [41]
ManufacturerAnalog Devices ST Microelectronics Texas Instruments
Dimensions (mm)4 × 4 6 × 6 5 × 5
Operating Voltage2–3.5 V 1.62–3.6 V 1.7–3.6 V
Operating Current (operating power)170 µA 1.3 mA (335 µW/channel)
Output Impedance10 GΩ 50 MΩ 100 MΩ
Gain100 V/V 64 V/V 12 V/V
Low Power Mode
Leads-off Detection
ECG Channel1 3 2
Chip Cost$5.00$5.00$5.00
Table 3. Arduino hardware options (√ means that the feature is available, while ✗ means that the feature is unavailable).
Table 3. Arduino hardware options (√ means that the feature is available, while ✗ means that the feature is unavailable).
Parameter Arduino UnoArduino NanoArduino MKR 1010
Dimensions (mm)68.6 × 53.445 × 1861.5 × 25
ProcessorATmega328PATmega328SAMD21
Clock Speed16 MHz16 MHz48 MHz
Flash Memory32 KB32 KB256 KB
SRAM2 KB2 KB32 KB
Digital I/O Pins142221
Digital PWM Pins6613
Analog Input Pins687
ADC Resolution10-bit10-bit12-bit
WiFi
Bluetooth
On-Board Charging
Price£20.00£18.00£27.90
Release DateSeptember 2010May 2008June 2018
Table 4. SpO2 and temperature sensor options (√ means that the feature is available, while ✗ means that the feature is unavailable).
Table 4. SpO2 and temperature sensor options (√ means that the feature is available, while ✗ means that the feature is unavailable).
-SpO2 SensorTemperature Sensor
Parameter MAX30100 MAX30101 MAX30102 DS18B20MLX90614DHT11
Manufacturer Maxim Int.Maxim Int.Maxim Int.Maxim Int.Melexis
Dimensions (mm) 5.6 × 2.8 × 1.25.6 × 3.3 × 1.55.6 × 3.3 × 1.5 17.10 × 10 dia.15.5 × 12 × 5.5
Operating Voltage 3.3 V5 V3.3 V3–5.5 V3.3 V3.5–5.5 V
Operating Current 600 µA600 µA600 µA1 mA1.5 mA300 µA
Low Power Mode
Low Power Current 0.7 µA0.7 µA0.7 µA -60 µA
Interface I2CI2CI2C1-wire I2CI2C
Table 5. Display hardware options.
Table 5. Display hardware options.
Parameter16 × 2 LCD 1.3” OLED 0.91” OLED
Resolution16 × 2 128 × 64 128 × 32
InterfaceI2C I2C I2C
Power Consumption50 mA 11 mA 20 mA
Operating Temperature−10 to 60 °C −20 to 70 °C −40 to 85 °C
Table 6. Electronic components BOM.
Table 6. Electronic components BOM.
ComponentDescriptionDesignatorQuantityUnit Price (£)Total Price (£)
GRM1885C1H152JA01DCAP 0603, 1500 pF, 50 VC110.0450.045
1 nFCAP 1 nF 50 V 0603C210.380.38
CC0603KRX7R9BB103CAP 10000PF 50 V 0603C310.820.82
C0805C334K4RACTUCAP 0.33 UF 16 V 0805C4, C620.09120.018
CC0603KRX7R7BB104CAP 0.1 UF 16 V 0603C5, C720.0530.106
3-Pin Switch Mode typeHeader, 3-PinMode selection pin10.580.58
ECG in headerHeader, 3-PinECG In11.721.72
AD8232 Dev Board optionHeader, 6-PinDevBoard Option10.640.64
BT moduleHeader, 4-PinHC-0516.996.99
MKRMKR1010IC1125.0025.00
AD8232ACPZ-R7Integrated CircuitIC214.854.85
Oxygen SensorHeader, 7-PinIC314.454.45
Interrupt SwitchHeader, 2-PinInterrupt switch10.580.58
Audio Jack for ECG in35RASMT4BHNTRXJ113.003.00
LCD DisplayHeader, 4-PinLCD16.496.49
Signal out LEDHeader, 2-PinSignal Out Header10.240.24
Power LEDHeader, 2-PinPWR LED10.240.24
1RT0603BRD07180KLRES 180 K 0603R3, R420.100.20
CRCW0603360KFKEARES 360K 0603R510.100.10
1 MRES 1 M 0201R6, R7, R930.100.30
CRCW0603100KFKEARES 100 k 0603R810.0970.097
1.4 MRES 1.4 M 0603R1210.0860.086
DNFDNFR161--
RC0603JR-070RLRES, 0, 0603R17, R1920.0860.172
DNFDNFR18, R202--
RC0603FR-0710KLRES, 10 k, 0603R2110.100.10
CRCW040210K0FKEDRES 10 K 0402R100, R10120.100.20
CRCW0402220RFKEDRES 220, 0402R102, R103, R104, R10540.100.40
LED2Header, 4-PinRGB LED10.990.99
MLX90614Infrared temperature sensorTemp130.3130.31
1300 mAh LiPo-Batt117.3917.39
Micro USB Extension-USB EXT13.493.49
Audio Jack Extension-Audio EXT12.682.68
Table 7. Body temperature and SpO2 sensor performance testing performance testing.
Table 7. Body temperature and SpO2 sensor performance testing performance testing.
Subject Infrared Thermometer MLX90614Pulse OximeterMAX30100
Patient 1
Patient 2
Patient 3
32.0 °C
34.5 °C
33.8 °C
33.4 °C
35.8 °C
34.7 °C
96%
94%
94%
94%
96%
94%
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Heaney, J.; Buick, J.; Hadi, M.U.; Soin, N. Internet of Things-Based ECG and Vitals Healthcare Monitoring System. Micromachines 2022, 13, 2153. https://0-doi-org.brum.beds.ac.uk/10.3390/mi13122153

AMA Style

Heaney J, Buick J, Hadi MU, Soin N. Internet of Things-Based ECG and Vitals Healthcare Monitoring System. Micromachines. 2022; 13(12):2153. https://0-doi-org.brum.beds.ac.uk/10.3390/mi13122153

Chicago/Turabian Style

Heaney, James, Jamie Buick, Muhammad Usman Hadi, and Navneet Soin. 2022. "Internet of Things-Based ECG and Vitals Healthcare Monitoring System" Micromachines 13, no. 12: 2153. https://0-doi-org.brum.beds.ac.uk/10.3390/mi13122153

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