Abstract— Nowadays Heart disease is one of the leading causes of mortality. Pulse determining devices plays an important role in measuring the current heart rate and can give a very well prediction about sudden heart problems. People mostly get tired at the end of the day and any middle of the day. If the pulse devices can be fabricated in jacket or with clothing in an inexpensive way then the system can automatically read the pulse and analyze the data with feedback about health condition.
So, this research is about developing a low cost, wireless e-textile with heart rate monitoring facility and body massaging facility through vibration for relaxing. Arduino Nano is used with Bluetooth module by that pulse can be monitored and controlled vibration in android app. This system is powered by battery, rechargeable and the system can be run for about 16 hours with continuous data acquisition.
Keywords—Heart rate, BPM, E-textile, Body massaging, IoT, Sensor.
A heart rate monitoring is a monitoring system that allows one to measure one’s heart rate in real-time or record the heart rate for later study . A normal resting heart rate for adults’ ranges from 60 to 100 beats a minute .
Heart rate, or pulse, is the number of times heartbeats per minute. Normal heart rate varies from person to person. The best places to find your pulse are the wrists, inside of elbow, side of neck, top of the foot , .
Heart rate data can be really useful whether designing an exercise routine, studying activity or anxiety levels. The problem is that heart rate can be difficult to measure. It essentially combines a simple optical heart rate sensor  with amplification and noise cancellation circuitry making it fast and easy to get reliable pulse readings. It sips power with just 4mA current draw at 5V , .
Nowadays heart rate measuring instrument is available in smartphones, computers and portable devices. It will be very beneficial to the people if they get a wearable heart rate monitoring system with immediate feedback through IOT .
People generally want to get their medical feedback but it is not possible to go to the hospital. So, there is a solution to provide a heart rate monitoring in a wearable cloth by examining the blood flow at a low cost. Anyone can easily determine their health condition by determining the blood flow or BPM, especially the elder ones and patients of heart problems. It will be very attractive if there is an in-built body massaging system in that wearable textile .
The object of the research is to develop a low-cost heart rate monitoring system with body massaging facility, which is real-time , affordable, portable and user-friendly.
In this research
A prototype heart rate monitoring system is developed which is low cost, rechargeable battery-powered, portable and it includes the wireless facility for safety concern and reducing noise interference .
It gives wireless connectivity up to 10 meters. This designed system visualizes the bpm for the monitoring system and controls the vibration for body massage. It doesn’t detect abnormal bpm because of noise reduction algorithm .
An android app has been developed in which the data can be visualized and sent signal to start vibration .
The equipment used in this system consumes low power, for this reason, it can function for a long time.
There are seven pressure points in the back of the body which are targeted for making the prototype of the system . Vibration modules have been planted in those pressure points of the inner back of the jacket for massaging the back of the subject as shown in figure 1.
- System architect
Modern Smartphones have more processing power and other features like Bluetooth (IEEE 802.15.1) , Wi-Fi (802.11)  and 4G.
Wi-Fi (802.11)  and 4G. Among smartphones, Android operating system is becoming popular nowadays and currently it dominates about 85% of world smartphone market. This makes it an attractive field to wirelessly monitor the heart rate as well as health and also can be controlled the vibration modules.
Arduino Nano is a low power and highly efficient microcontroller board based on the ATmega328P . It has Fig. 1. Selected Pressure Point for Systembuilt in ADC and USART communication feature . In this system, for analog to digital conversion and serial transmission of the pulse sensor data Arduino Nano is used.
- Proposed methodology
This System is built through the microcontroller of Arduino Nano, Pulse sensor, relays and vibration modules. They are combined individually to get a better result.
- Vibration Module Unit: There is an off-centered weight attached to the motor’s rotational shaft that causes the motor to wobble . The amount of wobble can be changed by the amount of weight that is attached, the weight’s distance from the shaft, and the speed at which the motor spins .
There is used protection layer to the outside of the motor so that the weight attached to the rotational shaft can move freely without any hamper. There is used glue gun to attach glue. One of the possible base materials of hot-melt adhesive is Ethylene-Vinyl acetate. Glue is not brittle but has elastic property so it will adjust with the subject. Then the module is soldered with solder iron and is attached to pass the electricity. In Figure 3 before and after adding glue layer is shown.
- Pulse Acquisition Unit: The Pulse Sensor is actually a photo plethysmograph , which is popular as medical devices used for non-invasive heart rate monitoring. Usually, photo plethysmographs determine blood-oxygen levels (SpO2) but sometimes they don’t.
The heart pulse signal that comes out of a photo plethysmograph is an analog fluctuation in voltage , and it shows a predictable wave shape as shown in the figure. The depiction of the pulse wave is called a photo plethysmogram, or PPG .
This pulse sensor gives the raw data as well as amplify it for noise reduction in results and also normalizes the pulse of wave around midpoint in voltage which is V/2. Pulse Sensor Amped acts to relative changes in light intensity.
Light from the green LED that is reflected back to the sensor changes during each pulse. If the amount of light incident on the sensor remains constant, the signal value will remain at 512 or around 512. When more light comes the signal goes up. In times of less light, the opposite result occurs.
The code was developed to find successive moments of instantaneous heart beat and measure the time between, called the Inter Beat Interval (IBI) . In figure 4 connection between microcontroller, pulse sensor and vibration module are shown.
- Power Supply Unit: In this system two 3.7V disposable Lithium battery is used for making it portable. For safety and short circuit protection, a voltage regulator LM7805  is used. In this system all equipment gets power from battery. It is done to avoid power line interference (50Hz) and other noise interference.
To recharge the power system there is added a charging IC and a protection circuit TP4056 . In the figure 5 dual power supply for the system is shown.
- ADC and Serial Transmission using Arduino Nano: Arduino Nano board contains an 8 channel 10-bit analog to digital converter. It returns a linear value from 0 to 1023 corresponding to 0V and +5V respectively .
For serial transmission baud rate is taken as 9600 bps and sampling rate of 320 samples per second is used. Arduino Nano has a built in USART communication feature which allow USART transmission and reception via digital pins 1 and 0 .
For serial communication pin 1 and pin 0 of Arduino Uno needs to connect with Bluetooth modules Rx and Tx and figure 6 shows the connections. A Bluetooth module HC-05 establishes signal transmission between Arduino UNO and Android phone. Arduino Uno can also communicate with laptop via USB cable.
- Software implementation
There are two main parts of the software structure and they are device layer and application layer. The device layer is used to drive hardware and the application layer is for user to monitor pulse rate through BPM.
For programming the microcontroller, integrated development environment provided by the Arduino platform is used. An Android application and a software for laptop is developed by processing which is an open source programming language and integrated development environment IDE.
To develop the system there is used Processing IDE of version 2.21. For receiving serial data from Bluetooth module, BtSerial library was used . For developing the software used in laptop serial library of processing was used to receive the data from Arduino Nano.
- Experimental measurements and results
We have connected all the circuits, electronic parts and sensors all together. This system can work together with laptop and smartphone or individually by using only smartphone or laptop. Android phone used for visualizing the data from the sensor and the phone has snapdragon-617 chipset and 2GB ram. In figure 8 heart rate is displayed both in the android phone and the laptop screen.
This system can work together with laptop and smartphone or individually by using only smartphone or laptop. The Laptop has Intel Core i5-6200U (2.4 GHz) processor and 8GB ram running on windows 10 OS. In laptop data is received by USB cable which is connected to Arduino UNO.
Pulse sensor is tested on the subject of 22 years old. Data was taken from two positions of the body, one is fingertip and other is wrist of the hand. In the Figure 7 bpm of the fingertip is shown.
Normally pulse gives noise without filtering. After filtering the pulse shows very low noise. In this research noise is minimized by adding noise reduction algorithm in the serial plotter of Arduino IDE.
In the figure 9 and figure 10, before and after noise reduction is shown in the case of fingertip.
From the above graph it is completely clear that signal without filtering, noise appears in BPM and to minimize noise, filtration is a must, and otherwise, the BPM cannot be measured properly.
In figure 11 and figure 12 before and after noise in the wrist of the hand is shown.
In the figure 9-11 it can be noticed that each and every data is received and plotted in graph automatically by the software Arduino IDE 2.1.1 and before noise reduction, it can be easily determined that every data fluctuates from its previous data and after noise reduction the fluctuations are eliminated and are in range.
The sensor values are transformed into the MATLAB Arduino serial communication and after data acquisition in MATLAB using the library, we get filtered PPG signal.
By analyzing the data of both wrist of the left hand and the fingertip, noise is low in fingertip but to fabricate in the jacket we have to use wrist of any or left hand.
In this research, data have been comparison between the developed system and between the mi band 2 available in the market which is certified and can be thought of standard. Both Fig. 10. After noise reduction when in fingertip developed system of this research and the mi band 2 in the market are comparison.
|Table 1: Comparison of two different systems.|
|Developed System (BPM)||Mi Band 2 (BPM)||% Error|
|Average % Error||4.12%|
In the table 1. Value of mi band 2 is set as true value and the value developed system is set as measured value. Then % error is calculated through the equation-
The average error is about 4.12%. So, this can easily be accepted as a working prototype.
For testing vibration of the vibration module of the jacket we have used iDynamics app for measuring through the accelerometer sensor of the android phone. This testing is used in the Samsung Galaxy J7 (6) and the accelerometer sensor of the phone is K2HH Accelerometer. The maximum range of the accelerometer sensor is ±39.2266 m/s2.The accelerometer gives data in 3 axis-x axis,y axis, z axis.
The measured value for vibration is determined from 3rd -21st sec because 0-3rd sec shows error.
The more the RPM of the vibration module the more the vibration and as well as acceleration. The maximum value of acceleration, velocity and displacement is given on the below chart which is got from sensor data.
By conversion the graph gives the value of 4-5 Hz. And human comfort zone and relaxation limits lies in .5-10 Hz range. The vibration module for relaxing works fine. The relative measure of the vibration is quite satisfying. Vibration unit of the system does not harm to anyone and it is in the comfort zone.
Bluetooth module (HC-05) that we used has a very little amount of radiation and it is too low to be considered dangerous to humans .
- Cost analysis
Table 2. shows the list of the component used for this system. Total cost of the system is USD 11.625.
|Table 2. Cost of the equipment’s|
|Component Name||Quantity||Unit Price
|Total cost of the system||11.625|
- Future development
In future, additional features can be added such as-ECG monitoring system, live tracking and alert system, Glucose level measurement, Blood pressure level measurement, live proximity alert system if anyone occurs any accident it will automatically reach out for help, adding washable property, increasing battery performance and fast charging property, fully IOT based system development etc.
The main aim of this research is designing and building a low cost, wireless heart rate acquisition system has been fulfilled. As the system is wireless and battery powered, noise interference is reduced and subject safety is acquired.
This system is simple and effective for continuous pulse acquisition. The cost of the system is USD 11.625, which makes this system highly inexpensive and ideal for under developed and developing countries.
This system can be used in Android phone or can be monitored by any laptop. The component used for this system consumes very low power and the developed hardware for this system takes maximum current of 35 mA without using the vibration system. With vibration and the pulse sensor both draws current about 110 mA.
The system has been tested and found that it is capable of acquiring up to 16 hours of continuous heart rate data and during operation 25%of the CPU was utilized by the application. In future blood pressure level and blood sugar level recognition with updated feedback system can be added to this system.