Abstract

In this paper, we discuss the state of the art and trends in the field of smart clothing development and show two circuits that we assembled in search for adequate solutions. The circuits are based on Arduino concept and achieve a full-duplex voice communication and real-time publishing of temperature measurement to a designated web page. The characteristics of the two circuits are discussed as well as the prospects for their future improvements.

1. Introduction

Development of communication networks and microelectronics is bringing us opportunities to work towards development of smart clothing. Garment considered as smart clothing is envisioned to be equipped with various wireless sensors and communication capabilities towards remote entities. Sensors should enable either measurement of body parameters such as the heart rate [1, 2], blood pressure, glucose level [3, 4], or air quality [5] and wirelessly transmit the measured data to some main control unit (MCU) that is also being worn on a body or being outside it such as a mobile phone, which would then display them and/or store them, make further calculations using them, and alert the wearer and other interested parties about possibly concerning values of some body parameters, or forward them to a remote center, such as a cloud storage. Communication links should provide reliable and secure data transmission from the sensors to MCU in diverse environments and under different body motions and provide a range from a few tens of centimeters to several meters or tens of meters, depending on the scenario of the particular application.

The integration of the sensors and communication chips into the clothing should satisfy the requirements of being mechanically robust against various natural strains during body movement, being noninvasive to make wearing the clothing comfortable enough, be resistant to penetration of moisture, be water repellent, be either washable or easy to remove and mount before and after washing, respectively, have a good thermal stability, and, depending on the application, have a power supply secured over a long enough period of time. Sensors measuring body parameters and transferring that information to a mobile phone have recently appeared on the market in the form of watches equipped with a few sensors that typically monitor heart rate and track the physical activity by means of the number of steps walked, possibly including GPS-acquired locations, calories burned, and sleep cycles, for example. In the near future, clinical-accuracy blood pressure measurement is expected to become available on a wrist watch as well [6]. Succeeding that, we can expect it to be integrated with the already present features, for more complete monitoring. Most recent applications transfer sensors data from a wrist watch to a wearer’s mobile phone via a Bluetooth connection [7]. Such “fitness tracker” watches are typically powered on the principle of a mobile phone—by a regular periodic charging using a USB cable. However, in spite of their attractiveness, this kind of wearables does not match the notion of smart clothing because the key devices and their functions are placed outside the clothing.

There have also recently appeared specialized pieces of garment in the form of either a special shirt, belt, or socks that should help athletes or recreational players to monitor their body parameters during a workout or a game [8, 9] and the data are also transmitted to wearer’s cellphone and then forwarded to a cloud using a mobile network the phone is connected to. Wearable textile as an input device has also been recently researched [10, 11] to enable mobile device control without having to look at it. For example, one recent application [12] has touch sensors sewn into a popular jeans jacket, to enable a user to control his cellphone for popular functions such as control keys of a music player (i.e., next song, previous song, pause, play, etc.), or voice-guided navigation and is also based on the Bluetooth connection to a user’s cellphone. True garment-embedded electronics and communication devices that will be able to not only transfer the sensor-taken data, but also enable a user to have a full-duplex voice communication with his peer, without being dependent on the usage of mobile phone and its network or carrying a backpack with a radio device, are yet to be developed for comfortable wearing, dependable and robust operation of both the measurement and communication part. We are interested in achieving garment-embedded solution that will be more comfortable for wearing and maintenance, yet offer embedded communication and physical-parameter sensing features. In this paper, we present our early examination of possible implementations.

Achievements in the area of smart clothing have not been significant so far due to multiple factors: insufficient reliability of components and insufficient air-permeability of garment, high cost of manufacturing of such garment, and being impractical to wash. Besides it, such a garment was pretty rigid and uncomfortable to wear for being based on the e-textiles [13] (i.e., textiles having a property of electric conductivity) and as such impractical for everyday wearing. However, market analyses forecast a steady growth of this segment of the market at an annual rate of 12%, even up to 25% percent till 2022 [14].

Such a forecast and the technological trends that lead to an extensive and ubiquitous use of the Internet of things, major part of which is wireless sensors, which are anticipated to take a significant part in the realm of upcoming 5G networks, encourage various research efforts throughout the world that are trying to propose a solution to some of the key challenges in the development of smart clothing, which are (a) embedding wireless sensors: locations, power supply, and data transfer; (b) radio-frequency (RF) transceivers: the size, power consumption, choice of arbitrary frequency, and output power; (c) antennas: placement, size, and the design for an arbitrary frequency; (d) power supply: battery vs. energy harvesting; (e) seamless integration of everything in a noninvasive way [15] while having mechanical robustness, thermal stability, water repellency, or moisture immunity and maintaining or enabling practical washability features [1618]. In addition to the aforementioned features, we also look forward to enabling a full-duplex voice communication [19], which imposes an additional issue of whether using one or two antennas, whether external or on-chip antennas, and how to connect them with transceivers.

As a novelty with respect to a typical approach nowadays, which is based on the Bluetooth connection between the sensors and wearer’s cellphone, we are exploring solutions that will enable cellphone-independent full-duplex voice communication suitable for group-based communications that are found in scenarios involving rescue services (e.g., firefighters or paramedics), military troops, and similar situations. Multiple wearable sensors are foreseen to be integrated via the MCU. In this paper, we explore achieving a full-duplex voice communication and remotely accessible real-time temperature measurement using an Arduino-based MCU.

2. Arduino-Based Full-Duplex Voice Communication

Initially, we had proposed [20] a jacket sleeve badge wearable textile antenna (Figure 1), as a basis to develop a complete solution of a smart jacket, which includes RF transceivers, wearable sensors, and renewable power supply by energy harvesting. In this early approach, we chose to examine the Arduino platform [21] as the basis for the communication solution. Arduino is nowadays a popular computing platform that enables programming of hardware using the arduino.ide language, a language similar to C and C++ programming language. Arduino, as a paradigm, had started an avalanche of small programmable devices around the world, which quickly became popular for its low cost, simplicity, and openness. Arduino and its derivatives now offer a variety of development boards, as the key unit to control various connected peripherals, such as sensors, switches, and indicators. Among them, we chose to use Arduino nano [22] for its small dimensions (Figure 2), while having enough computational and communication capabilities for our scenario. Its size is only 45 mm x 18 mm, weighs only 7g, and will here serve as an MCU. As it does not have the RF communication feature built in, the key communication element for that task was chosen to be a popular RF transceiver widely known as nRF24L01 [23, 24]. Using a low power consumption, it operates with one microcontroller in the 2400..2525 MHz ISM band. To communicate with another microcontroller, it utilizes a serial peripheral interface (SPI) [25], which enables it to work either in the transmit (Tx) or in the receive (Rx) mode at a time. The user can set a desired communication channel frequency, the output power level of 0 dBm, -6 dBm, or -18 dBm, and the data rate of either 250 kbps, 1 Mbps, or 2 Mbps. There are 124 channels, which are separated 1 MHz at the data rate of 1 Mbps and 2 MHz at the data rate of 2 Mbps. The receiver sensitivity is -82 dBm at 2 Mbps and -85 dBm at 1 Mbps. For the testing purposes, commercial antennas were used instead of our antenna in Figure 1, as we needed more than one antenna in the test assembly.

Since the RF transceiver operates in either Tx or Rx mode via an SPI protocol, to establish a full-duplex wireless link, as illustrated in Figure 3, we had to combine two Arduino nanos, two transceivers, and two antennas at each side, one pair of them to work in the Tx mode and the other to operate in the Rx mode. Figure 4 shows the assembled prototype Tx/Rx circuit for the two sides. (Antennas in this assembly were used merely to make initial tests and obviously not planned for a realistic scenario, due to their size and type.) Besides the principle blocks shown in Figure 3(a), there was also a need to secure a stable 3.3 V bias voltage for each transceiver. As the respective output pin of Arduino nano does not guarantee a stable 3.3 V voltage, external voltage regulators were employed for that purpose. In this test, the transceivers Tx 1 and Tx 2 on each side were set to work at 2401 MHz and 2475 MHz, respectively. Figure 5 shows a separate measurement of the two signals, which was performed by an Aaronia Spectran HF-6065 V4 spectrum analyzer [26]. Note that besides the two designated signals at 2401 MHz and 2475 MHz, the third strong signal at about 2455 MHz is an unrelated signal of a nearby WLAN router.

2.1. Field Testing

In our field tests of this initial assembly, we first achieved clear transmission at the distance of about 5 m, whereas at range beyond 15 m, the reception deteriorated due to the presence of an increased noise in the link. We tested it with minimum output power at -18 dBm and 2 Mpbs data rate and a decent transmission quality was up to about 17 m. When the transmitter output power was set to maximum, which is 0 dBm, we reached distance somewhat better than 20 m. We also tried with a lower data rate, being set at 250 kbps, because at that rate the receiver has a better sensitivity, but we did not notice improvement in the transmission quality at the same distance. (Since it is about a voice transmission, higher nominal data rate and wider bandwidth are a choice in this scenario.) Possible reasons for the noise are multiple: the components used for this prototype were generally low-cost components; the transceivers in use were from different vendors (i.e., have a different quality); there were quite a few wire contacts within the breadboards and between the components, which altogether provide substantial possibilities for noise.

When we replaced a lower-quality transceiver with a higher quality one (Figure 6(a)), we immediately experienced transmission range extension to minimum of 30 m (Figure 6(b) shows the moment at 15 m range in a hallway) without losing quality, even with low-gain antennas, which proved one of the above assumptions to be true. (To demonstrate the transmission, an old external speaker was connected in place of a headset and the received sound recorded in a camera video enclosed as a supplementary file (available here).) Both operating channels, i.e., CH1 and CH75, had a comparably successful transmission.

The remaining issues will be addressed in the next stage of the development when, besides the quality of parts in use, some connections can be hardwired instead of using a breadboard as an interface. In addition, the number of active components might ultimately be reduced by half using some new approaches.

3. Real-Time Body Temperature Measurement and Online Publishing

In this part, we designed a body temperature measuring circuit that submits the measured data to a web page in real time. The emphasis was put on making the circuit reasonably small and getting the real-time data reading at a remote location, such as reading the temperature data off of a designated website from any mobile device.

The circuit comprises an ESP8266 module [27], DS18B20 temperature sensor [28], a 9800 mAh Li-ion battery, a TP4056 lithium battery charging board [29], and a 5 V-to-3.3 V step-down DC voltage converter [30] to lower the battery output voltage, which can go up to 4.2 V, and only 3.3 V is needed for the ESP8266 module. Lastly, in order for ESP8266 module to be programmed, a USB-to-ESP8266 adapter is needed in combination with the drivers for chip 340 [31]. Most of these key components are presented in Figure 7. ESP8266 module is sized only 24.8 mm by 14.3 mm, which is even smaller than an Arduino nano board. It is similar to Arduino boards for being programmed in the same fashion and the advantage of it is to come equipped with a built-in WiFi module, which is not the case with Arduino boards. On the other hand, an ESP8266 module comes with fewer pins than typical Arduino modules. Unlike Arduino that is biased at 5 V, ESP8266 uses 3.3 V voltage, which is why it requires a voltage step-down converter from 5 V to 3.3 V, as mentioned earlier. ESP can work in two modes: as a wireless access point (AP) and as a mobile client that connects to an outside router. The specific URL address is either a fixed URL given by the ESP, if ESP is used as an AP, or given by a router that the ESP module connects to.

DS18B20 temperature sensor can measure temperature with the resolution from 9 to 12 bits, which covers the temperature range from -55°C to +125°C. The measured temperature is being converted into a 12-bit word within 750 ms. Each sensor comes with a 64-bit ID, to be uniquely distinguished from other possible sensors in a network and for data communication uses only one wire (i.e., needs only one pin of MCU board).

A lithium battery charging module TP4056 contains an overcurrent protection to preserve the battery from potentially too high a current during charging.

The assembled circuit is shown in Figure 8. The programming adapter shown in the lower half of the carry-on box in Figure 8(a) is superfluous for the run-time operation of the circuit, as it serves only during the programming stage. It is shown here merely as an indication of all the components needed to prepare the solution. As can be seen, the entire circuit, together with the battery, is enclosed within a chassis of 122 mm by 70 mm, having an outside switch that starts the circuit (Figure 8(b)). The components inside the chassis were glued to keep them safely in place during a motion. When the circuit is running, it periodically submits the temperature reading to the specified URL address, as shown in Figure 9, which was taken off of one mobile phone screen (the specific URL is hidden for this publication).

We also tested duration of the battery discharge cycle to examine how long a fully charged battery can support this circuit. The data are graphically shown in Figure 10. The data show that, after about 250 minutes, the battery dropped from the nominal 4 V to 3.85 V, which is a drop of about only 4%.

4. Analysis and Future Work

The circuits presented here were created to examine the potential of using Arduino microcontrollers as the basis for the smart-jacket-embedded electronics and to experience the overall complexity and dimensions of such circuits.

The beneficial aspects of this approach are the low cost and availability of these electronic components, the time to build the circuit (once the idea is mature), and acceptably small dimensions of the key components.

The challenge is a relatively large number of electric contacts that ought to be made to connect all the necessary nodes in the circuit, the number of separate chips that must be connected, the placement and size of the necessary power supply, and the number and placement of the antennas to realize a full-duplex voice communication.

To advance the circuits, the following modified concepts will be examined: (a) getting transceivers more integrated with the Arduino board; (b) exploring if the transceivers and sensors could work together without Arduino boards; (c) using antennas integrated on the transceiver module without losing an option of choosing the operating frequency different from the one in typical commercial circuits; (d) using one antenna for both Tx and Rx (instead of two antennas) either by making use of a circulator circuit or by a more sophisticated MCU code that would ultimately make use of a single transceiver for both Rx and Tx; (e) having conventional batteries replaced with an energy harvesting-based concept [3235].

It is also to be tested whether antennas that would be integrated within a garment could make a reliable communication link, which would substantially help to avoid cabling between the external antenna and the transceiver, or they will ultimately have to be mounted on the outer surface of the jacket. In any case, it would help to have two transceivers realized on a single chip and have them work at an arbitrary frequency instead of the populated ISM frequency bands. Furthermore, an energy harvesting-based circuit would eliminate the need for replacing the batteries or having the jacket unready due to the charging time, but the question is whether such a circuit would ultimately make the power supply block any smaller than in case when conventional batteries are utilized.

5. Conclusion

In this paper, we presented two concept circuits for an envisioned smart jacket, which would be capable of both monitoring a wearer’s vital signs and mobile phone-independent full-duplex voice communication. We demonstrated that, even with low-cost off-the-shelf modules and breadboard-level prototype, it was possible to transfer voice to at least several tens of meters in an open space, without using a Bluetooth connection towards a user’s mobile phone, but rather independently on a peer-to-peer basis via a chosen radio frequency. The next version will aim to reduce the number of circuit wire connections, where applicable, make firmer electrical connections in the circuit nodes, replace the job of two transceivers with only one transceiver, and test the RF link success based on an external antenna vs. an on-chip antenna, making transceivers operating at an arbitrary frequency, not necessarily at the most populated ISM frequency bands.

In addition, we showed that sensor readings could be transferred to a designated URL address for a real-time viewing from any Internet-connected device. The sensor module is currently based on its connection to a nearby wireless access point, either a router or a hot spot of a mobile phone, while in the future, sensor connection to module serving as an access point itself or having a direct connection to an LTE or 5G network will be explored for an extended mobility.

An ultimate success will be subject to achieving the smallest possible circuit form factor, while retaining communication quality by means of low noise and bit-error-rate, having a sufficiently long voice communication range at a reasonably low transmitting signal power, all embedded in a way that is noninvasive, comfortable to wear, mechanically robust, and practical to wash or remove before washing. In spite of the technological advancements in all of the aforementioned areas, making a mass production viable product that will fulfill all of the specified requirements is still a challenge.

Data Availability

The microcontroller codes used to support the findings of this study as well as the videos showing successful voice reception are included within the supplementary information files.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work has been supported in part by the University of Rijeka under the project number uniri-tehnic-18-264.

Supplementary Materials

Tx1.ino: the code for transmitter 1. Rx2.ino: the code for receiver 2. Tx2.ino: the code for transmitter 2. Rx1.ino: the code for receiver 1. testing_5m_range_video.mp4: a video clip while testing the 5-m voice transfer range. testing_30m_range_video_rotated.mp4: a video clip during the test of the 30-m voice transfer range. (Supplementary Materials)