• Fixing the cameras on the same plane surface

    hurðaskellir11/21/2018 at 19:31 0 comments

    As the cameras need to be looking at the same things, they have to be exactly parallel . I fixed them on a wooden stick.   

    As the headset cover will need to me removed and put back in place quite often, I glued tiny magnets on the cameras and the stick .

  • Finding and preparing the VR headset

    hurðaskellir11/21/2018 at 18:34 0 comments

    I wanted a headset with usb connection to the smartphone. It also appears my smartphone almost fits in the samsung gear VR, so I went for it. I found one second hand for around 20$. I had to trim the corners and it worked. Then I had to replace all the inside uncompatible and useless (to me) electronics with a micro usb cable.

    Once I have put everything together , it looks like this.

    The smartphone sits on the same usb hub as the raspberry pi on the right, all connected to the left one, which acts as the server for everything.

  • Testing video and smartphone

    hurðaskellir11/20/2018 at 16:24 0 comments

    I am using this streaming tool to access the raspberry pi camera with a low lag : 
    https://github.com/hurdaskellir/h264-live-player . It creates a webpage where you can see the live video. Just run Chrome on the phone and access the webpage on the raspberry pi. You have to find it's IP on the usb ethernet network at first, by using ssh or another method, and that's it.
    I measured the delay to be lower than 250ms by taking a picture of both a stopwatch and the smartphone displaying a video of it. Let's hope I don't get sea sick when I use this in front of my eyes... ;-)
    The phone I have is a sony xperia z5 premium, with a 4K display, the resolution should be nice when watched through the VR headset. 

  • Setting up the two "eyes".

    hurðaskellir11/20/2018 at 15:11 0 comments

    I am trying to use everything I already have on my shelves to keep the cost as low as possible, and because I do not want to wait for spare parts I would have to order on some asian country, with delivery delays of around a month. 
    Here is the idea : I want to use two raspberry pi zero linked together by a usb cable, one being a usb gadget connected to the other. The video streaming between both will be entirely managed by usb virtual network interfaces and routed through iptables.  The usb hub will also host an android smartphone using its usb tethering mode to use the same network and be able to watch the images streamed by both raspberry pis.