The rifle body is mainly based on the MagHak Virtual Reality Rifle.
- 3x VRR3a2 from the MagHak Virtual Reality Rifle.
- 2x M4x32 scews (M4x25 screws should also work)
- AR 15 buffer tube (commercial variant).
- Collapsible AR15 Hex Stock (I had to scale it to 104% to nicely fit the buffer tube).
- Spring (diameter: 8mm, length: 30mm), M4x40 screw and M4 nut for release lever.
- Adapter to connect buffer tube to main body.
- based on VRR3e2 piece from MagHak Virtual Reality Rifle (modified to nicely fit the buffer tube).
- M4x32 screw and M4 nut for adapter
- The original MagHak Virtual Reality Rifle has two alternative stocks.
- The Oculus Remix also has an alternative stock.
The receiver consists of six parts:
- Receiver housing.
- Receiver inlay.
- Trigger.
- Receiver rail adapter.
- Skeleton Grip.
- Joystick mount.
- M4x20 screw to attach grip.
- M3x35 screw and M3 nut to connect housing, inlay and rail adapter together.
- Spring with diameter 9mm and length 38mm between inlay and trigger.
The Vive tracker mount features a side-tightening wheel and consists of three parts:
- Upper body.
- Screw with wheel.
- Lower body with rail adapter.
- 4x M4x6 screws.
ToDo: Create a proper mount for the Arduino board.
Makeshift mount:
- VRRb3 piece from MagHak Virtual Reality Rifle.
- Cut away the pins with pliers and attach Arduino board with double-sided adhesive tape.
There are six components:
- Arduino board
- Triggger
- Joystick
- Buttons
- Vive traker
- Power source
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.
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 2: Trigger Endstop:
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.
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.
- Status LED(s)
- Haptic Feedback: Haptic feedback events are not send via USB but can only be accessed via the tracker's pogo pins.