Skip to content

A DIY VR rifle utilizing a HTC Vive tracker and an Arduino Due board.

Notifications You must be signed in to change notification settings

matzman666/VR-Rifle-Blueprints

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DIY VR Rifle Blueprints

Rifle Body

The rifle body is mainly based on the MagHak Virtual Reality Rifle.

Main Body

Stock (AR 15 style)

Stock Parts

Alternatives

Receiver

The receiver consists of six parts:

Stock Parts

Vive Tracker Mount

The Vive tracker mount features a side-tightening wheel and consists of three parts:

Arduino Mount

ToDo: Create a proper mount for the Arduino board.

Makeshift mount:

Electronic Parts

There are six components:

  • Arduino board
  • Triggger
  • Joystick
  • Buttons
  • Vive traker
  • Power source

Wiring Diagram

Arduino Board (Arduino Due)

The Arduino board has to support USB host mode to be able to talk to the Vive tracker. The Arduino AVR boards do not support USB host mode out-of-the-box but require additional hardware. The Arduino Due is ARM based and does support USB host mode. THerefore we are using it. The disadvantage is that it operates using 3.3V instead of 5V.

Trigger

The trigger features a potentiometer to measure how far the trigger is pulled, and an endstop switch for when the trigger reaches it maximal position.

Parts:

Trigger Potentiometer: Trigger Potentiometer Trigger Potentiometer 2: Inside trigger housing Trigger Endstop: Trigger Endstop

Joystick

Buttons

Parts:

The system and menu buttons are mounted inside the opening of the receiver housing. The grip button is supposed to be mounted somewhere on the grip, but it has not been desided yet where exactly.

Receiver Housing Buttons

Power Source

The easiest and cheapest power source seems to be a USB power bank. The Arduino board and connected electronic parts consume about 100-200 mA, with connected Vive tracker about 300-400 mA (possible charging bug?). A USB power bank with 2200 mAh costs about 10 Euro and should last about 5-6 hours.

Possible Extensions

  • Status LED(s)
  • Haptic Feedback: Haptic feedback events are not send via USB but can only be accessed via the tracker's pogo pins.

About

A DIY VR rifle utilizing a HTC Vive tracker and an Arduino Due board.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published