Professional Documents
Culture Documents
net/publication/283491981
CITATIONS READS
11 3,377
6 authors, including:
Efstathios Sidiropoulos
Aristotle University of Thessaloniki
20 PUBLICATIONS 164 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Evdokimos Konstantinidis on 04 November 2015.
ABSTRACT comparatively little effort required for installation and use leads to
The emergence of inexpensive off-the-shelf wireless EEG devices augmented flexibility and mobility over traditional EEG [18].
led researchers to explore novel paradigms in the field of Human Emotion recognition [9][19][25] and cognitive load [4][22][23]
Computer Interaction. In fact, the compliance of these devices with through wireless EEG devices is a very active area of research,
the IoT principles towards pervasive EEG signaling in smart home considering that emotions and affective computing has been in the
environments enables new models of interaction and a different eye of the research community during at least the last two decades
perspective from traditional affective computing. In this paper, the [14]. Moreover, monitoring player’s gaming experience [18] and
implementation of wireless EEG (Emotiv EPOC and Mindawave) also while performing serious games [24] has emerged as a very
IoT connectivity of real time raw signals, through IoT hardware relevant application area. In addition, similar systems have been
devices and through the Raspberry Pi 2, is presented. demonstrated to work well detecting focused thoughts [16][10] or
even controlling smart home devices [21]. The maturity level of the
Categories and Subject Descriptors research along with the vision for commercial applications based
C.0 [Computer Systems Organization-]: General – System on EEG signals is reflected by the emergence of application stores
architectures. specifically targeted at exploiting EEG data in different application
domains.
J.3 [Computer Applications]: Life and Medical Sciences –
Health, Medical information systems. On the other hand, the recent convergence of advances in
ubiquitous computing, consumer electronics, and wearable sensor
General Terms technologies have led to the need for standards to handle
Measurement, Design, Standardization intercommunication among these devices and applications. Dealing
with the physical integration of everyday objects and their unique
Keywords capabilities on the Internet [20], Internet of Things (IoT) tackles
EEG, Emotiv, Internet of Things, cross device, smart home some of these challenges. However, the “device independency”
principle of IoT is sacrificed for the development simplicity and
1. INTRODUCTION specific knowledge requirement, by employing mobile devices as
The availability of inexpensive wireless electroencephalography gateways [6][12] rather than developing IoT enabled devices per
(EEG) devices has opened new research perspectives spanning se. Hence, the device has to be always paired with a smart phone
from clinical assessment to human-computer interaction. Wireless [15].
headsets are compact and easy to be worn during activities, as the
Emotiv EPOC [7] and Neurosky Mindwave [17], and could be Aligned with the increased adoption of IoT systems, a large number
deemed as representative devices of the field. Although both of of IoT compliant hardware and software frameworks have emerged
them have not been introduced as medical devices, the to facilitate developments on the field. Raspberry Pi 2,
MinnowBoard Max, Galileo and Arduino are some of the IoT ready
hardware devices while Windows 10 IoT Core, WebIOPi, IoTivity,
ThingBox and Smart Living are only some of the available
frameworks. In addition, there are custom frameworks following
the IoT principles that are designed to support commercial game
controllers and wireless EEG devices, like the Controller
Application Communication (CAC) framework [11].
However, the literature does not exhibit many efforts towards the
combination of IoT and the discussed wireless EEG devices. More
specifically, the Appmethod IoT framework has been used to
connect the Emotiv EPOC as a control source to other IoT packet collision, etc.). As far as the programming language is
devices/gadgets like the Google Glass and the Parrot AR Drone concerned, Python has been chosen also thanks to the light-weight
2.01. However, there is no provision for other wireless EEG handling of processes in terms of memory requirements. In
devices. As an omen of our work, Sinharay et al. [23] presented addition, the Python script was configured to be executed as a
their work by assuming the existence of a cognitive load service during startup. Hence, Neuroberry (c.f Figure 2) can be
information through commercial low-cost, low resolution, wireless deemed as a black box gateway for the wireless EEG devices
EEG devices connected to the cloud through an Internet of Things without the need for an external monitor screen.
(IoT) platform in real-time that could be utilized for different
applications.
All this considered, the aim of this paper is to present an IoT
approach of the emerged wireless EEG devices though a low cost
commercial hardware (Raspberry Pi 2). Although there are
implementations where these devices are connected to the Internet
through a smart phone acting as a gateway, this work is one of the
first implementations towards wireless EEG IoT connectivity of
real time raw signals through IoT hardware devices.
1 3
http://blog.appmethod.com/developing-the-internet-of-things- https://github.com/ozancaglayan/python-emotiv
emotiv-epoch-brain-computer-interface 4 https://pypi.python.org/pypi/websocket-client
2 https://github.com/BarkleyUS/mindwave-python
(when this is possible) to the CAC framework server. On startup as compose multiple images starting from the same set of cubes. For
well as in case of disconnection, the component subscribes to the a complete profiling of the users, additional metrics are collected
Websockets session by sending the corresponding Session ID. The from the system besides the neurological signals (e.g. cognitive
Websockets component communicates with the other threads by load, attentions, etc.), as the time of execution or the matching
exposing two methods. The SendMessageMindwave method score. A sample snapshot of the gaming station is provided for
accepts as argument a Mindwave headset object while the completeness in Figure 3.
SendMessageEpoc method gets an Epoc headset object as
argument. The role of these functions is to form a JSON message
packet in compliance with the CAC framework and transmit it.
Taking into consideration that real time transmission and especially
streaming a considerable number of packets per second is not a
simple task, the component drops any incoming packet when a
transmission is already in progress. This way, high streaming speed
is maintained at the cost of dropping some packets.