<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Creation of a Hardware-Software Complex for the Transmission of Odor in Virtual Reality Environments*</article-title>
      </title-group>
      <abstract>
        <p>One of the main tasks to enhance perception and deeper immersion in virtual reality environments is the use of different sensory channels. This article discusses the creation of a prototype device for the reproduction of smells, which is used in conjunction with virtual reality headsets. This device will allow the user to immerse in the virtual space more fully.</p>
      </abstract>
      <kwd-group>
        <kwd>Virtual reality</kwd>
        <kwd>Sensor channels</kwd>
        <kwd>hardware and Software complex</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>During the evolution mammals obtained the ability of the nervous system for
multimodal perception to combine different inputs of the sensory system, such as light,
sound, smell and taste. This ability led to the enhanced detection or identification of a
particular stimulus.</p>
      <p>A reflex caused by the stimulus is a stereotypical reaction of the mammalian
organism, to something that prompted this reflex. Based on this theory, it can be assumed
that we can increase the degree of user’s involvement in the virtual reality
environments, by increasing the number of sensory inputs to enhance the stimulus.</p>
      <p>The sphere related to the degree of immersion of users in the virtual reality is now
actively developing, a variety of technological devices are being created, ranging from
various controllers to complex systems with climate change. All this allows to increase
the degree of involvement of users into the virtual reality.</p>
      <p>Based on the above, within the framework of this work, it was decided to create a
prototype of a smell reproduction device that can be connected to various virtual reality
headsets and integrated into new or existing applications.
*</p>
      <p>Copyright © 2019 for this paper by its authors. Use permitted under Creative Commons
License Attribution 4.0 International (CC BY 4.0).</p>
    </sec>
    <sec id="sec-2">
      <title>The Use of different sensory channels in virtual reality environments</title>
      <p>
        At the moment, various technological prototypes are being created. They use differ-ent
sensor channels in both unique and combined formats [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. For example, experiments
are being conducted on the effects on the taste buds of the person.
      </p>
      <p>The Nourished project is a VR simulator that can help people with allergies to
perceive the full sensory experience of eating (recreating the full sensory experience of
eating, without actual food). The main components of the development are: Oculus
virtual reality headset, food detection devices, motion sensor and aroma diffusers (see Fig.
1).</p>
      <p>
        The system creates visual effects using virtual reality, as well as simulates sounds
during meal. In this case, the user eats healthy food in the form of cubes printed on a
3D printer (algae, flour from shiitake mushrooms, etc.) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>Experiments on the symbiosis of smell and other ways of influencing perception
began in the 1960s, when watching a film was followed by special cards that a person
could scrub and feel a certain smell.</p>
      <p>
        One of the developed commercial prototypes of the device for transmitting smells is
multisensory VR mask Feelreal (see Fig. 2) [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. The mask is attached to the viewer’s
face and to one of the virtual reality headsets, and then a scent generator with seven
removable cartridges releases odors into the nose area.
      </p>
      <p>
        Feelreal SDK is attached to this method, which will allow developers to add various
individual scents to their projects. In addition, using the special Feel Real Player, it is
possible to use different flavors while watching movies [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
    </sec>
    <sec id="sec-3">
      <title>Creating a prototype device for transmitting smells in virtual reality environments</title>
      <p>For the first version of the prototype, experiments were conducted, on the basis of
which we received data on changes in interest and involvement in the interaction
process after the inclusion of another sensory channel.</p>
      <p>Before creating a prototype of this device, research was carried out, which resulted
in a method that meets the following criteria:
As a result, the third method was chosen, in which the spray was carried out using an
odor injection system.</p>
      <p>The second stage of the study was the search for a technical solution to control the
previously selected method of implementing odor reproduction.</p>
      <p>First of all, methods for controlling the injection of odors and regulating the amount
of odors were investigated. As a result of this work, a large number of control methods
were developed and the option of using a water pump and valves with a tap controlled
by motors without gearboxes and tubes used in home aquariums was selected. After
working on the next version of the prototype, a different method was chosen, due to the
low reliability of the first one.</p>
      <p>The following technical solutions for the control of valve and pump were also
investigated:
 Development of unique management Board;
 Using a ready-made Arduino Board and writing unique firmware;
 Using a ready-made solution, such as injecting water into the engine.
As a result, the second method was chosen: using a ready-made Arduino-based Board
and a raspberry Pi mini-computer as a web server to receive commands and execute
them on the device.</p>
      <p>Fig.3 shows the final layout of the prototype, without interaction with the
mini-computer.</p>
      <p>For this device the microcontroller Arduino Nano was chosen because of its
simplicity and capabilities, as well as due to compatibility with other more powerful
counterparts. In addition, thanks to this microcontroller, it is possible to expand the
functionality without high costs. The control device was built on the ARM architecture, with
the possibility of wireless connection methods.</p>
      <p>As a result of the undertaken work, we can highlight the following components,
which should have interaction with the system and with each other:
 Control device;
 Microcontroller;
 Engines;
 Pump.
 The motor driver;
 Pump driver;
 Power supply;
 Voltage converter;
 Microcontroller;
 Control device;
 Pump;
On the Fig. 4 there is demonstrated the third iteration of the scheme, in which the
channels of exchange commands (black lines), power (red dotted lines) and the following
components of the system are indicated:
 Engine;
 Valve.
The final version of the device diagram, which is shown in Fig. 5 represents a complete
diagram of the interaction of the device components and external sources.</p>
    </sec>
    <sec id="sec-4">
      <title>Preparing the created prototype for operation</title>
      <p>To prepare the created prototype for operation, the following tasks were required:
 PC setup;
 Configuration of the control device;
 Calibration of devices.</p>
      <p>To control and configure the controller and the control device from a personal
computer, it was necessary to have the PuTTy program, which allowed connecting to the
device via the Serial port and SSH. Also, to connect to the Serial port, a special
converter was required, which was implemented as a USB device.</p>
      <p>When using Unix-like systems with a kernel version higher than 4.4, the driver for
our controller was embedded in the kernel. To flash the Arduino controller, it was
necessary to install the Arduino IDE software package for the required version of the
operating system. 30 4.3.1.2</p>
      <p>
        Since the control device is available without a pre-installed OS, we needed to use
the Orange Pi portal [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] and find a suitable version of the operating system for us.
      </p>
      <p>In this case, it was Ubuntu Server, after using which we recorded the image on a
MicroSD memory card using the Win32 Diskimager utility, which is distributed under
the OpenSource license. After recording to the microSD card, it was required to connect
it to the device via the SERIAL port, for this purpose, using connectors we joint the
Converter in USB and outputs for the UART.</p>
      <p>In the process of connecting at a speed of 115200 b / s, process of the first start
appeared. Since the terms of reference already specified which language and libraries
should be used to function the program code on the control device, the required
packages were installed:
 NodeJS;
 Git;
 Python 3;
 GCC;
 Make.</p>
      <p>The last three points are required for successful Assembly of packages used in the Node
Js project. The Serial package was built using the command: npm install -g serial.</p>
      <p>As a result of the first launch of the device, it was clear that the standard package
manager that comes with NodeJS was not enough. It was decided to use the third-party
package manager Yarn, which is installed using the command: npm install -g yarn.</p>
      <p>After successful installation, you it is possible to launch it in the folder with the
already created project using the command: yarn install.</p>
      <p>For the voltage Converter to work, its initial calibration was required. For this
purpose, a multimeter was used, which was switched to the voltage measurement mode.
The input contacts were supplied with a voltage of 12V, the output was connected with
the contacts of multimeter, and then the device was calibrated until the necessary 5V
was obtained on the multimeter.
5</p>
    </sec>
    <sec id="sec-5">
      <title>Final testing</title>
      <p>
        To test the developed prototype, there was chosen a VR location created by Borrowed
Light Studios. It represents a journey into Vincent van Gogh's the Night Cafe. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] To
enhance the effect of immersion, the smells of coffee and brandy were used, those
drinks were typical in the cafes of van Gogh's epoch (see Fig. 6).
      </p>
      <p>Further prospects for the modification of the project are to change the way the air
supply is controlled; instead of engines and valves, it is supposed to use an
electromagnetic nozzle, which will allow for a more accurate supply of odor and increase the speed
of response to a request, since the reaction time to the task will be minimal.</p>
      <p>The new version of the prototype is supposed to be connected directly to the Oculus
Quest helmet, using Bluetooth technology, thus abandoning the Pro-jutting device in
the form of a web server.
Virtual reality technologies are actively used in society in all aspects of its existence:
education, commerce, entertainment, etc.</p>
      <p>Nevertheless, there is a number of unsolved problems, one of which is the creation
of a software and hardware complex for immersion in virtual reality environments with
the full use of touch channels.</p>
      <p>As a result of the undertaken work, a prototype of a smell reproduction device for
virtual reality environments was developed. The development of this device included
the following stages:
 Selection of technology of reproduction of smells;
 Technical development of the device;
 Selection of test applications;
 Selection and preparation of smells.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Papagiannis</surname>
            <given-names>H</given-names>
          </string-name>
          .
          <article-title>Augmented reality. Everything you wanted to know about future technology</article-title>
          . - Moscow: Eksmo,
          <year>2019</year>
          . - P.
          <fpage>123</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Project</given-names>
            <surname>Nourished</surname>
          </string-name>
          , http://www.projectnourished.com/
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Multisensory</surname>
            <given-names>VR</given-names>
          </string-name>
          mask Feelreal, https://feelreal.com/
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>4. Orange Pi Portal, http://www.orangepi.org/downloadresources/</mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>The</given-names>
            <surname>Night Cafe - An Immersive</surname>
          </string-name>
          VR Tribute to Vincent van Gogh,
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>6. https://www.borrowedlightvr.com/the-night-cafe/</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>