Skip to content

Ericfreespirit/Relativ

 
 

Repository files navigation

We couldn't afford an Oculus so we built one

Build your own VR headset for $100 💸

Why Relativ? 📖

My name is Maxime Coutte. I’m 16 years old and I live in a small village in the countryside where I’m the only teenager. With my best friends, Jonas Ceccon and Gabriel Combe, and my math teacher Jerome Dieudonne (we call him Sensei) we built our own VR headset for $100.

I started programming when I was 13, thanks to Sensei when he created a robotics club. On the first day we were 12 students, the next week we were 3 - yep, you guessed it, the other two were Gabriel and Jonas. I fell in love with VR because of an anime called SAO, but the problem was that the Oculus Rift was way too expensive for me. I talked about this with Gabriel and we both agreed that we should build our own VR headset. That got us into the math and physics behind VR (quaternions, proper acceleration, antiderivatives…). Then we bought the cheapest components we could and we reinvented VR. Now using FastVR and Relativ you can build your VR headset too.

Here's a schematic by TheYxxy to give you an overview of the project:

Meet the team ❤️

Gabriel: I work on optics for FastVR, 3D conception with Maxime and cheap tracking for the next big update.



Maxime: I created WRMHL and with Gabriel we created FastVR. I'm also behind the code for the hardware.



Jonas: I convinced a Chinese factory to sell us premium components at low prices and I'm working on a Master Guide for Relativ.



Sensei: I'm the theoretician of the team. I teach them math and I help them to solve algorithm issues.

Open-Source it FTW

Thanks to this project I’ve had the incredible fortune to meet amazing people, including the chief architect at Oculus, Atman Binstock. He gave me a precious piece of advice: "open source it". I deleted all the code I had, and started rewriting it all from scratch, better. And I convinced my two friends and our math teacher to open source the project

Getting Started ⚡️

Relativ is based on WRMHL and FastVR.

What you'll need

What components ?

There are a few variants of Relativ. The original design by the founders (deprecated) and two new version by TheYXXY and Vang1 based on a on a model from Horizon Lab. Shoutout to them for making this possible and allowing their design to be modified!

Parts needed for all the designs:
  • Arduino Due, $34 for the official one or $10 for a Chinese clone
  • GY-521 MPU-6050, $1
  • 5.5 inch 2560*1440 2K LCD Screen HDMI to MIPI, up to 100€ on AliExpress (recommended) ⚠️ Price may vary a lot
  • Face foam, about $4, see here
Extra needed for the TheYXXY design:
  • Biconvex lens, Focal length 37mm, 45mm diameter recommended
  • 4 M3 Screws and 2 M2 screws, both with nuts, $3 - alternatively you can use hot glue if M2 screws are not available
  • TPU 95 filament is recommended in addition to the normal PLA, and a printer which supports printing it
  • A screen which has a cable with a 90 degree bend just like the recommended one. For the direction: it should go up behind the screen when the small non-screen part is on the right while looking at the screen.
Extra needed for the Vang1 design:
  • Biconvex lens, Focal length 37mm, 45mm diameter recommended
  • Headstrap recommended (needs a bit modification)
  • ABS or PETG filament with 20% infill is recommended, but PLA also works fine. All the parts can be printed without infill.
  • M3 screws (More info will be added soon!!)
Extra needed for the old (deprecated) design:

How to Install?

You can either install it using Git or direct Download. Or from the command line:

# Clone this repository
$ git clone https://github.com/relativty/Relativ

Copy all folders in Relativ/src/libraries and past them in your Arduino Libraries folder: Documents\Arduino\libraries. You're now ready to build the headset!

Building the hardware

A detailed documentation can be found on our wiki!

Now what you need to do is 3D-print the hardware; if needed you can change any models with provided Source Files.

⚠️ PAY EXTRA ATTENTION TO THE SCREEN, IT'S VERY FRAGILE ⚠️

Building the software

Make sure you have all the libraries needed installed and upload the following program to the Arduino:

Path: Relativ/src/main/main.ino

Our documentation can be found on our wiki.

Play some demos or use SteamVR

You can now play with your headset by downloading some cool demos by clicking here. Or build your own game in a minute using the Relativty sdk, learn more by clicking here .

I would love to hear about what you’ve experienced building the headset or help if you have any questions. Ping me at maxime@relativty.com or @maximecoutte.

🤗You can now chat with me and the Fellowship https://discord.gg/W9VKbjU

<> with ❤️, maxime@relativty.com

About

🔥 Build your own VR headset for $100

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 96.3%
  • Processing 3.7%