Skip to content

jpalms1/RAD206-FinalProject

Repository files navigation

RAD206-FinalProject

Software:

  • This project was created using Unity 2020.3.19f1 and Arduino version 1.8.10

Hardware:

#Setup: Unity Hub: - In Unity Hub, open the Unity project folder named FinalProject in the path: [your download location]\RAD206-FinalProject\Final Project

Unity Editor: - Once the Hololens 2 Holographic Remoting and Arduino serial communication is setup, press the Play button in the Unity Editor to start the simulation

Hololens 2 Setup: - This project is run using the Hololens' Holographic Remoting in the Unity Editor so that the serial communication between the Arduino microcontroller and Unity can allow the wrist-worn device to provide haptic feedback - Please follow the instructions to setup Holographic Remoting in the Unity Editor (Unity 2020 + OpenXR): https://docs.microsoft.com/en-us/windows/mixed-reality/develop/unity/unity-play-mode?tabs=openxr

  • Arduino Setup:
    • Plug in the Arduino connected to your servo-driven wearable device to a USB port on your computer
      • Find the folder with path [your download location]\RAD206-FinalProject\Final Project\UnityArduinoComms and open the file UnityArduinoComms.ino
      • Download the program to the Arduino and make note of the COM port being used
      • In the Unity Editor, find the script SerialComms.cs in the file path Assets\Scripts
      • One line 13 of SerialComms.cs, change the String variable to "COM[#]" where "[#]" is the number (e.g. "COM3") of the COM port used to upload the UnityArduinoComms.ino program to the Arduino
      • Recompile the project in Unity Editor and ensure the change was made by checking the "Port Name" public variable attached to the GameObject "Needle"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors