Section C

A Comparison of the Construction for IoT System in Smart Clothing

Jooyoung Ko1, Jaechang Shim2,*
Author Information & Copyright
1Dept. of Multimedia Engineering,Andong National Univ, Andong, Korea, sonice@andong.ac.kr
2Dept. of Computer Engineering, Andong National Univ. Andong, Korea, jcshim@andong.ac.kr
*Corresponding Author: Jaechang Shim, 1375, Gyeongdong-ro, Andong-si, Gyeongbuk, Korera, +82-54-820-5646, Dept. of Computer Engineering, Andong National Univ. Andong, Korea, jcshim@andong.ac.kr

© Copyright 2015 Korea Multimedia Society. This is an Open-Access article distributed under the terms of the Creative Commons Attribution Non-Commercial License (http://creativecommons.org/licenses/by-nc/4.0/) which permits unrestricted non-commercial use, distribution, and reproduction in any medium, provided the original work is properly cited.

Received: Feb 26, 2016 ; Revised: Mar 03, 2016 ; Accepted: Mar 04, 2016

Published Online: Dec 31, 2015

Abstract

Recently, as microcomputers and sensors have been miniaturized due to dropdown of their market rates, this lead to a favorable environment for implementing the Internet of Things. Smart clothing refers to a system which can be wearable or portable, and allows people to communicate or conduct sensing. Applying the Internet of things, the role of the server computer is to receive and process data obtained from the sensor. An ordinary PC can act as a server but during the implementation of IoT, a PC has limited application due to a large size and the inconvenient portability. This study proposes a model that allows a variety of functions while implementation with the server from the sensing using the Arduino and Raspberry Pi. If we apply this proposed model, everyone can easily and inexpensively experience mobile IoT system.

Keywords: Smart Clothing; Arduino; Raspberry Pi; Wireless Communication; IoT; Internet of Things

I. INTRODUCTION

Computer application technology has become so advanced that we can create an environment which allows us to enjoy the internet service beyond any limitation of space and time, independent of what one does either moving or doing household work. Internet of Things (IoT) technologies indicates to connect data obtained from the various sensors to the Internet through connection medium and provide the services [1]. In recent years, a variety of the applications in goods or services using IoT were developed. These technologies were applied in various field like real-time monitoring of the patient's condition, providing the information about an amount of workout done (work rate) and on various personal health management issues.

In addition, in the fields of the industry, this technology is used for monitoring plant facilities or applying IoT in the distribution phase [1]. Therefore, IoT technology is not only applicable to a particular field but also in day to day life. A smart clothing may be quoted as one of the vast areas of the application of the IoT. Smart clothing is a technique to monitor the health status of the user, or provide the information of user's activity by attaching a sensor on the cloth or jewelry which a person wears. In order to implement the smart clothing, communication with the sensor is required along with a server which is capable of managing necessary information. In this study, it is aimed to configure the IoT system for the smart clothing and compare the characteristics with each system.

II. RELATED STUDY

Smart clothing is one of the most important devices which can be used in the implementation of Internet of Things (IoT). IoT is a system, through which the user can exchange information irrespective of time and place. Objects (Thing) of the IoT are involved in the automated production and delivery of information by using the sensor. Much information, circulated on the Internet that you use, is the data which was produced or collected by objects as well as people. Thus, IoT system has already arrived for practical use on different issues around us. Beyond the correlation between the individual and the Internet as well as the things (or objects) and the Internet, the various combination of the services became convenient to the user. In particular, it is applicable to a variety of sports and medical fields. In the field of sports, these products record and analyze the heartbeat rate, body temperature, exercise amount (work-rate), etc. to determine the user's health, [2].

In addition, a smartwatch which allows you to make phone calls and measure your personal activities by just wearing it on your wrist. In the field of medical research, the study for monitoring the condition of a patient is done by automatically measuring the body temperature, pulse rate, as well as the study for monitoring the elderly living alone or a person with disabilities have been actively conducted. [3].

According to Hong [4], the IoT-based wearable device belongs to these areas which have much requirement for measuring the activities of the user, and there has been much demand by the customers for its application to medical devices. In addition to this study, Jang [5] points out that popularization of smartphones and deterioration of price of various sensors, the Internet of Things technology has gained popularity. This emerges the demand that even a layman can afford to implement the IoT technology. Nowadays, the microcomputer has become smaller and enhanced its performance with lowering the cost, so we have the environment where anyone can implement the IoT systems. Hence, IoT systems should grow actively and must be implemented in an easy and manageable way. Recently, Arduino [6] board has become popular and been used a lot because of it’s cheap price, easy to handle as well as it is based on the open-source system. Also, Raspberry Pi [7], developed in the UK, is characterized by subminiature feature and also can be used as an independent computer. This study aims to configure IoT systems for smart clothing using the features of Arduino and Raspberry Pi and comparing them with each other.

III. COMPOSITION OF IoT SYSTEMS

The technology for implementing an IoT system for smart clothing is shown in Figure 1.

jmis-2-4-327-g1
Fig. 1. Technology for IoT systems
Download Original Figure

This study mainly compares the characteristics of the Arduino and Raspberry Pi as well as configures the IoT system using a microcomputer. Features of the Raspberry Pi and Arduino are shown in Table 1.

Table 1. Arduino and RaspberryPi Features
RaspberryPi 2 Model B Arduino
CPU 900MHz quad-core ARM Cortex-A7 CPU Atmega328
Memory 1GB 2KB
Clock 900MHz 16MHz
Network Ethernet USB No
GPIO 40 14
Wifi No No
Bluetooth No No
Camera interface Yes No
Display Interface Yes No
OS Linux No
IDE Linux, IDLE, Scratch Arduino
Multitasking Yes No
Download Excel Table

As shown in Table 1, Arduino and Raspberry Pi have similar size but different characteristics. Arduino runs in low-speed and does not have a built-in network. On the other hand, Raspberry Pie can be used as an independent computer, as its speed is high and supports the interfaces of the keyboard and display. A proper combination of these two boards can easily configure the IoT system.

First, using of Arduino includes total 14 pins of digital and analog input and output pins where various sensors can be attached to sensors such as a temperature sensor, illuminance sensor, ambient light sensor, heart rate sensor, and ultrasonic sensor. It can be an additional advantage of this system since various service sources are provided for the sensors. When you connect a temperature sensor then either the temperature sensor or a module, which measures the temperature and humidity at the same time, can be used. Through a simple circuit configuration, you can obtain the desired information and it can also communicate by connecting ZigBee, Bluetooth, Wi-Fi module to it (Arduino). Figure 2 shows an example of a Bluetooth module connected to FriBee[8]. FriBee is an Arduino-compatible board designed to be equipped with wireless communication modules.

jmis-2-4-327-g2
Fig. 2. Arduino with Bluetooth module (FriBee)
Download Original Figure

Along with Arduino compatible boards, there is also a Lily Pad Arduino board which can be attached to the cloth. LilyPad board was developed to be attached to clothes, hat or shoes by using the electronic thread. Figure 3 shows an example of attaching the Arduino LilyPads in the bag. A board on the left in the figure is the LilyPad board, and the board on the right is a Bluetooth board. It is a bag which can communicate with the Bluetooth device.

jmis-2-4-327-g3
Fig. 3. LilyPadArduino application using bluetooth
Download Original Figure

A s we know, Raspberry Pi has the speed of 900MHz with 1GB memory and have 40- input and output pins which can support four USB ports and networks. This is the reason why Raspberry Pi can also be used as an independent, Linux-based computer as well as playing the role of sensing and it can also be used for building a server. Raspberry Pi supports HDMI ports, so it can be utilized as a monitor by connecting to a TV, and it supports VideoCore IV 3D graphics core which is convenient for multimedia production and its application. Raspberry Pi can be used to configure the server in the IoT system for its excellent features in contrast to its compact size.

To use the Raspberry Pi as a Linux-based computer, first you need to format the SD card and install Rasbian. Rasbian is a free operating system based on Debian optimized for the Raspberry Pi hardware and also a Linux-based OS [7] [9]. When you insert SD card, it is installed with Rasbian in Raspberry Pi and boot it, then the Raspberry Pi is ready to be used.

IV. THE MODEL OF THE PROPOSED SYSTEMS

4.1 Arduino-based sensing model

Arduino can pass the sensed data to the computer through serial communication. Figure 4 shows the sensing model using serial communication. By using a digital/analog port on Arduino, it is feasible to measure the temperature and illumination. It can transfer data at regular intervals of time in a serial communication.

jmis-2-4-327-g4
Fig. 4. Sensing Model a using Serial communication
Download Original Figure

As we know that this model is built for using a PC as the server but can be directly used if a PC is installed as a server. This system transfers the sensed data to the serial communication. Therefore, the program is simple and there is less risk of data loss; but as it is always supported by the PC, there may be restrictions on movement and the actual implementation of IoT

4.2 IoT model B using a Raspberry Pi as Server

Figure 5 is Model B utilizing a RaspberryPi as the server.

jmis-2-4-327-g5
Fig. 5. Sensing Model B using Wireless communication
Download Original Figure

In Figure 5, WC refers to wireless communication. Wireless communication between the sensing module and the server can be implemented in three types such as ZigBee (ZigBee, IEEE 802.11)), WiFi (WiFi, IEEE802.15.4) and Bluetooth (Bluetooth, IEEE 802.15.1). ZigBee wireless communication is available within the range of about 100m ~ 1.6Km. However the distance becomes shorter when there is an obstacle. ZigBee communication does not support smartphones therefore a separate module is used with a smartphone. Wi-Fi can be supported within 50M of range. Korea is one of the most convenient place to use Wi-Fi as it is available in most of the places and it is also compatible with the smartphone.

The communication method, which is popularly used in the IoT system, is a Bluetooth communication method. Since Bluetooth enables direct communication between the smartphone and the sensor, so it can be utilized without intermediate servers. It can be used at a distance of less than 10M indoor, and it particularly requires pairing as it was designed for one-to-one communication. Table 2 is a comparison table of characteristics of each model.

Table 2. A comparison of Model A and B
Model A using Arduino Model B using Raspberry Pi
Server IBM PC Raspberry Pi 2 Model B
Size Desktop size Name card size
Communication Serial, Internet Serial, Internet,
Price Expensive Low cost
Os Windows, Linux Linux
Application Sensing, Serial Communication, Wireless Communication Server, PC, Multimedia,
Download Excel Table
4.3 The network set up for Raspberry Pi

Raspberry Pi itself can be used as a computer by connecting a monitor, keyboard and a LAN cable. However, it brings about inconvenient as you have to install, and connect a keyboard and monitor whenever needed for its use. Raspberry Pi is more convenient and handy to implement IoT system due to its compact size, and it can be installed and programmed by the user in any place whenever it is necessary. Figure 6 shows that the Raspberry Pi is installed and used independently.

.

jmis-2-4-327-g6
Fig. 6. RaspberryPi is on the wall
Download Original Figure

Raspberry Pi can be programmed remotely by connecting directly to the network address because the network supports it. To connect the network of Raspberry Pi from your computer, you have to know the IP address of Raspberry Pi, for example, you can find the access number of Raspberry Pi from wireless router in your office or house. When you connect to an IP address, you are able to directly control the Raspberry Pi from your computer.When you want to connect from an external domain; you need to connect to Raspberry Pi with the ID, which is a unique identifier ID. For remote access, you need to download and install the Korean version of PuTTY [11] and after installing the remote access program, you have to give the Hostname orunique IP insettings screen and press the [Open] button. Figure 7 is of PuTTYsettings screen. Figure 8 is a screen connected to a Raspberry Pi.

jmis-2-4-327-g7
Fig. 7. PuTTY setting screen
Download Original Figure
jmis-2-4-327-g8
Fig. 8. RaspberryPibooting screen.
Download Original Figure

V. CONCLUSION

This study has been focused on comparing the features and configuration of the IoT system applied for smart clothing. The IoT system is a system process of the data received by the sensor, and deliver the information through the wired or wireless communication channels. Smart clothing is an important area to implement the IoT because it is always close to the user. Recently, computers were miniaturized in size, and the performance was improved which leads to implement the IoT system at a relatively low cost. Arduino and Raspberry Pi are being widely used in a variety of areas since they have high usability due to a small size and excellent performance. Arduino is suitable for implementing the sensing system.

To run the IoT, a server needs to receive and process data, along with that RaspberryPi can be implemented an Independent ComputerRaspberry Pie utilizes not only the LAN service but also Wi-Fi, if Wi-Fi module is present on it and a user can also implement a program by connecting it with remote access. According to this study, we can say that, an IoT system with excellent performance and easy installation can be acquired by using Arduino board in sensing part and Raspberry Pi for server and multimedia part. For further research, we planned to study about application of data which is collected by smart clothing on Big Data.

REFERENCES

[1].

Libelium, 50 Sensor Applications for a Smarter World, http://www.libelium.com/top_50-_iot_sensor_applications_ranking/,2016

[2].

NIKE+ SPORTWATCH GPS, https://secure-nikeplus.nike.com/plus//,2016.

[3].

J. Ko. and H. Kim, “A Study on the Monitoring System for Emergency Recognition of Elderly People Living Alone,” Journal of KIIT, vol. 12, no. 3, pp. 61-68, Mar. 2014.

[4].

S. Hong, “An Explorative Study on the Features of Activity Trackers as IoT based Wearable Devices” Journal of Internet Computing and Services(JICS), vol. 6, no. 5, pp. 93-98,Oct. 2015.

[5].

Y. Jang, “Big Data, Business Analytics, and IoT: The Opportunities and Challenges for Business,” Journal of Information System, vol. 22, no.4, pp. 139-152, Dec. 2015.

[6].

Arduino, http://arduino.cc,2015.

[7].

RaspberryPi, https://www.raspberrypi.org/,2016.

[8].