Skip to content

Latest commit

 

History

History
60 lines (35 loc) · 2.01 KB

README.md

File metadata and controls

60 lines (35 loc) · 2.01 KB

VR-shooting

A VR unity shooting game. With the integration of a real life hand motion and fingers movement on the game using STM32 microcontroller and sending the data wirelessly using ESP8266 through UDP socket.

Download Links

Setup process

0 - Download latest stable unity project files.

1- Flash ESP8622 Script into your ESP8266 uc. 👨‍💻

// change those values to fit your application.

#define WIFI_SSID "net1" // change this to Wifi SSID
#define WIFI_PASS "yoyoyoyo" // change to Wifi network password
#define RECEIVER_IP "255.255.255.255" // leave it as it is if the device with unity app doesn't have a static ip

#define LISTENING_UDP_PORT  8051
#define SENDING_TO_PORT     8051 // unity app receives on this post number.

2- Flash STM32 Script into your STM32 uc. 👨‍💻

#define flexPin1 PA2 // change those pins to fit your design
#define flexPin2 PA5

3- Download RiftCat + Steam + SteamVr on your PC 💻

- Those applications are required to stream the game on your smartphone.

RiftCat Download

Steam Download

SteamVr Download

4 - Download Vridg on you smart phone 📱

5 - Play and have fun :) ! 🕹

img of shooting

Extra Images for more project visualization 🖼

Assembly of the project 🟩🟦🟪🟩

img of shooting

Shooting using VR hands w/o the VR headset 🔫🔫

img of shooting