Final Paper
Final Paper
Abstract - In order to improve user experience, this article development of cycling games that encourage physical
introduces a cycling game that combines the Internet of Things exercise and overall wellbeing in addition to being
(IoT) and virtual reality (VR). Our goal is to replicate real- entertaining.[11]
world cycling situations using VR to represent a variety of
terrains and IoT devices to provide real-time movement and The creation and use of a cycling game that makes use of
health information. The virtual environment is dynamically VR and IoT to give players an engaging and lifelike gaming
adjusted by this data, offering responsive and individualized experience is the main topic of this research paper. This
gameplay with realistic landscape and interactive components. project's main goal is to provide users with an immersive and
Our game offers an immersive riding trip by merging the participatory gaming environment by bridging the gap
virtual and physical worlds through the use of IoT and VR. We between virtual and real-world riding settings. Through an
explore its potential for encouraging physical activity in analysis of the design rules, technological barriers, and user
addition to entertainment, with the goal of motivating people to experiences related to this modern gaming platform, our goal
include exercise in their daily routines for better health. The is to add to the expanding amount of knowledge regarding
immersive gaming technology that has applications in fitness, immersive gaming technology and its uses in encouraging
entertainment, and rehabilitation is improved by this research. user engagement and physical activity.
Keywords - UI, IOT, VR, IR SENSOR, NODE MCU
II. IMPORTANCE OF VR & IOT
IoT and VR each have benefits of their own, but they also
I. INTRODUCTION
work more effective together because various technologies
The game industry has seen a transformation in recent work more effective combined. Combining IoT and VR
years due to the convergence of Virtual Reality (VR) and the allows you to blend the digital and virtual worlds with the
Internet of Things (IoT), which has allowed for immersive real one. IoT transforms the physical world into a digital one
experiences that blur the boundaries between virtual and by manipulating physical data, and virtual reality (VR) aids
actual realities. The creation of cycling games that employ in creating and enhancing the realism of the digital world.
VR and IoT technology to immerse players in lifelike virtual Every smartphone can be used to play the VR game, which
worlds and encourage physical interaction is one such has hardware integrated into it that has been developed.
creative use. This essay examines the conception, execution,
and consequences of a cycling game that is especially meant Applications – Healthcare, Gaming and entertainment,
to provide players a genuine, real-world experience, hence Training and Education, Sports and Fitness
boosting enjoyment and immersion. Virtual reality enhances
the enjoyment of cycling by providing an immersive and VIRTUAL REALITY: Virtual reality (VR) is a type of
diverse range of scenery to take in. Our prototype facilitates computing the atmosphere where objects and scenes seem
cycling with virtual reality, which is enjoyable and healthy. real and users are fully immersed in the world around them.
Users will feel accomplished and better able to recognize Users' interest may be piqued by VR's ability to offer them
their limitations. an engrossing and fascinating experience. A user is more
likely to stop or not accelerate when cycling in a non-
The degree of user engagement and interactivity has immersive environment than when pedalling in an immersive
historically been restricted by the bounds of screens when it one, where they are also more most likely to speed up and
comes to gaming experiences. But because to developments enhance their health. Virtual reality (VR) allows users to
in virtual reality technology, developers can now create experience a variety of places while cycling, breaking up the
immersive settings that engage and surround people in ways monotony of indoor cycling. Both adults and children can
that were previously unthinkable. Players can explore, use and enjoy this technology. Virtual reality (VR) offers
engage, and feel the excitement of virtual adventures by amazing views and a true-to-life cycling experience in the
wearing a VR headset and being taken to genuine settings. outdoors. Users of virtual reality (VR) do not need to deal
Furthermore, real-time interaction and feedback based on with traffic, and when cycling in real life, the amount of
the user's motions and physical responses is made possible attention needed varies with the volume of traffic—that is,
by the integration of IoT devices, which gives gaming a more traffic means more visual concentration is needed.
whole new dimension. IoT sensors make it possible for
cycling games to be more responsive and personalized by
tracking the player's motion, tracking heart rate, and INTERNET OF THINGS: The Internet of Things (IoT) is a
providing haptic feedback. The combination of VR and IoT network of gadgets, software, actuators, sensors, and
technology creates new and exciting opportunities for the connections that enables automated object control using
sensors in the Internet infrastructure or remote object
detection. The services that people need to make their jobs Internet of Things (IoT)-based serious gaming platform
easier are provided by IoT. Device-to-device interaction can designed to improve the cognitive capacities of kids
with autism spectrum disorder (ASD) are described in
be used to transfer data over a connection with the aid of the the article. The platform consists of three games: a road
Internet of Things. IoT is crucial in today's world for crossing game, a function card game, and a puzzle
gathering environmental data and using it to enhance task game that are all supported by three hardware systems
performance. The healthcare sector is currently utilizing IoT and combined into a mobile application. All of these
extensively, and it can be used to customize patient care parts work together to deliver engaging gaming
experiences, all the while maintaining and tracking
protocols. IoT-based systems have the ability to capture data player progress and performance. 15 special needs
while cycling, which can then be fed into software platforms children participated in the evaluation, which showed
for account maintenance. IoT-based apps are easier to use that the platform was useful, effective, and user-friendly
and offer greater customization flexibility. for enhancing cognitive abilities in people with ASD.
A. UNITY 3D
The prototype was developed using Unity version
2020.3.24f1. One of the most popular and extensively used
virtual reality engines is Unity3D. It is compatible with three
scripting languages: Boo, a Python dialect, JavaScript, and Fig 4. Breadboard & Jumper wire.
C#. These can be combined and applied to a project as well.
It is an extremely potent graphic editor. Because they are D. IR SENSOR
dynamic and colorful, virtual reality systems created with A body placed in the neighbourhood is detected by an
Unity3D offer an amazing experience. infrared sensor that emits light. An infrared sensor can be
used to calculate an object's temperature and detect
movement. An IR LED and a photodiode are the two
components of an IR sensor. The photodiode detects the light
emitted by the infrared LED following reflection. The IR
sensor is mounted close to the bicycle's wheel. Since the
majority of workout cycle wheels are either black or white,
we will attach a black or white coloured strip to ensure that
the IR sensor detects it.
Fig 2. Unity 3D
B. GOOGLE FIREBASE
Google Firebase is a data storage platform that is backed
up by Google. In addition to reporting and bug fixes, it offers
tools for monitoring the analytics. To ensure high data speed
and stability, Firebase purchases synchronous data storage
and NoSQL cloud data storage. Users can use it for safe
authentication techniques. Real-time databases are offered by
Firebase, and the information is safe.
Fig 5. IR Sensor.
E. NODE MCU
An freely available firmware called Node MCU
facilitates device connections via Wi-Fi protocols. For this,
there are also freely available board designs available. It also
offers a few crucial microcontroller functions. Programming
Fig 3. Google Firebase[12] in Lua is needed. The connections between the Node MCU
and IR Sensor are depicted in Fig. (2).
C. BREADBOARD & JUMPER WIRE
Using a breadboard eliminates the need for soldering
when creating and testing electronic circuits. It makes
connecting electronic components together quick and simple.
An electronic component can be put into a grid of holes on a
conventional breadboard. The internal connections between
these holes are arranged in a way that makes building circuits
simple.
Fig 8. Flowchart representation of the process being involved.
VI. RESULT
V. WORKING
Using Unity3D's C# scripting and other features, an
android application was created. The application now
includes virtual scenery, allowing the user to choose which
scenery to take in while pedalling. The User Interface (UI)
has been designed in a way that makes it easy for the user to Fig 10. Main menu of our Application.
use. The decides what kind of scenery they want to take in.
The routes and roadmaps are designed to provide a thrilling
journey. The application displays the user's speed as well as The Speedo Pursuit The application name, settings, exit
the distance travelled, which is determined by the Node button, accumulated money display, and pick cycle option
MCU. The means of communication medium is Wi-Fi. The are all located on Showdown's main menu. Take in the
database used to ensure the application runs smoothly and showroom atmosphere as you select your ride for
improves user experience is called Google Firebase. Flow exhilarating experiences.
chart of the process taking place is as shown in Fig. (3).
Fig 11. Cycle select menu of our Application. Fig 14. Code for Hardware part of the Application
Look check the Cycle Selection Menu. You may adjust the The above image display the code for Node MCU ESP 8266
parameters, return to the main menu, switch between bikes, which is written inside the Arduino IDE.
buy new bikes, and choose exciting music. With real-time
speed and braking control at your fingertips, you can stay
In this code we are calculating the speed of the wheel based
one step ahead of the competition.
on the distance covered (computed from the number of
interrupt ) and time elapsed. Initially we include some
necessary libraries for WiFi connectivity with ESP8266 and
communication with Firebase.
VIII. REFERENCES
1) Kamlesh Kahar, Ritanshu Khatke, Pranav Bhople,
Jayesh Tayde, Hariom Modokar -
https://ijarsct.co.in/Paper3668.pdf
2) Muhammad Nazrul Islam, Uzma Hasan,
A.K.M. Najmul Islam
https://journals.sagepub.com/doi/abs/10.1177/073563
31211067725
3) Jing Liao, Yikun Huang, Changyi Lin, Haolin Wang,
Yue Zhang -
Fig 15 Hardware Connection Image
https://www.researchgate.net/publication/354106600_
A_Virtual_Reality_Cycling_System_Based_On_Mult
The above image displays the Hardware Connections of the i-Sensor_Fusion
Project. In this IR Sensor and Node MCU ESP8266 is used 4) George Catargiu Eva-H. Dulf Liviu C. Miclea -
and are connected together used Jumper Wires and are https://www.mdpi.com/1424-8220/20/5/1473
attached to Breadboard. Attach the IR module VCC pin to 5) Rahul B George, Vaishak Ramachandran, Swetha
the Node MCU +3V pin for a reliable power source, and the Sharath, Aravind Sunil -
GND pin to the Node MCU Ground (GND) pin to create a https://www.ijsrp.org/research-paper-0820/ijsrp-
shared ground reference in order to guarantee seamless p10421.pdf
integration. Next, make the connection by connecting the IR 6) M. Bogacz et al
module output pin to the Node MCU Digital pin D7, which https://www.tandfonline.com/doi/abs/10.1080/194278
will allow sensor data to be transferred. In order to exchange 67.2020.1745358
signal data for processing, connect the IR sensor's signal pin 7) N. M. D’Cunha et al -
to the Node MCU D1 pin last. The Node MCU https://pubmed.ncbi.nlm.nih.gov/32820955/
microcontroller and the IR module will operate at peak 8) M. Ratajczak Skrypnik P. Krutki J. Karolkiewicz -
efficiency and communicate with each other thanks to this https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7727
configuration. 675/#:~:text=Our%20results%20demonstrate%20that
%20IC,that%20of%20the%20NW%20group.
9) T. C. Kang H. Wen S. W. Guo W. Y. Chang C. L.
Chang -
https://link.springer.com/article/10.1007/s11227-019-
VII. CONCLUSION
02889-
The research writing concludes with a novel method for 4#:~:text=We%20implemented%20an%20IoT%2Dba
integrating Internet of Things (IoT) and Virtual Reality (VR) sed,their%20exercise%20data%20with%20teachers.
technology to provide a realistic cycling game. Users are 10) Murizah Kassim, Muhamad Noor Hariz Muhamad
provided with an unprecedented experience that replicates Said - https://ieeexplore.ieee.org/document/9183980
the sensation of riding through a variety of terrains by means 11) IoT Based Virtual Reality Game for Physio-
of a seamless integration of VR simulations with real-time therapeutic Patients
data from IoT devices. https://deliverypdf.ssrn.com/delivery.php?ID=394013
The cycling game is a tool that encourages physical 1031130280301220281041160781090500630500680
7906900711500400907102810702112100903410209
exercise and wellness in addition to offering consumers 8026110059062007089123094007000072045007060
amusement. Users can visualize the distance travelled based 0770400030211050821261161170700000350460030
on the number of pedal rotations and watch their progress in 8300000902900208000408509409812308407302800
real-time with the help of hardware sensors. Users' 0014093007124024088006020068103&EXT=pdf&I
NDEX=TRUE
motivation and engagement are increased by this gamified
feedback system, which motivates them to reach their fitness 12) Designing an extended smart classroom: An approach
to game-based learning of IoT
objectives while having fun in the virtual setting. https://onlinelibrary.wiley.com/doi/epdf/10.1002/cae.
22446
Moreover, the incorporation of Internet of Things sensors
permits the simulation to adjust dynamically to user inputs,
offering a customized and responsive experience. Because of
its adaptable nature, users are always engaged and
challenged, which promotes realism and immersion.
All things considered, the study that has been given
shows how VR and IoT technologies can be combined to
transform leisure time and encourage healthy living. This
novel technique has the potential to enhance user
IX. FUTURE SCOPE