All projects

Hardware & 3D printing

DIY Valve Index tracking

I added eye and lower-face tracking to my Valve Index using three cameras, ESP32 boards and infrared lighting. The build brought together electronics, 3D-printed mounting options and software that maps facial movements to a digital avatar.

My modified Valve Index with the mounted USB hub, camera ribbon cables and front Noctua fan
My assembled Valve Index with the front-mounted USB hub, tracking electronics and cooling.

Parts list

The photographed build and its documented components.

ComponentQtyPurpose
Valve Index headset1The base headset and frame for the tracking hardware.
ESP32 tracker boards3Each board takes the image from one camera and passes it to the PC.
Tracking cameras3Two point inward at the eyes. A third frames the lower face from below the visor.
IR emitters and lighting controller1 setLight the areas the cameras need to see and control the emitters separately from the camera feeds.
UGREEN USB hub1Gather the tracker connections into a single link back to the PC.
Noctua fan and fan controller1 eachProvide airflow around the front hardware and control the fan speed.
Camera ribbons, USB leads and wiringAs neededCarry the camera signals, USB data and power between components.
Mounts, adhesive and solderAs neededHold the cameras at a fixed angle, secure the components and make the wiring connections.
Rear counterweight1Helps balance the extra hardware on the front of the headset.

For sourcing, Babble’s guide recommends a XIAO ESP32-S3 Sense board and lists a wide-angle, IR-sensitive OV2640 as a camera option. For emitters near the eyes, see EyeTrackVR’s IR safety guidance.

A closer look at the build

Build references

How I built the tracker

I built the tracker around three cameras, one for each eye and one for the lower face. I used the front compartment, or “frunk”, to route the wiring and connect the USB hub. A printed cover holds the fan.

  1. Order the parts and a few spares

    I ordered the hardware from AliExpress, Amazon and Seeed Studio, including spare parts and a custom infrared (IR) lighting board. I needed three cameras, an ESP32 board for each camera, ribbon extensions, a USB hub and a fan. See the parts list.

  2. Prepare the cameras for infrared tracking

    I removed the built-in IR-cut filters from the cameras for both eyes and the lower face so the sensors could see the infrared illumination used by the tracker.

  3. Flash the ESP32 boards

    I flashed the three ESP32 boards with Project Babble firmware before assembling the headset. Each board would later carry its own camera feed to the PC. Project Babble firmware guide

  4. Print the frunk cover and lens frames

    I printed a replacement frunk cover with room for the fan. I also printed the left and right frames that sit around the Index lenses and hold the eye cameras and IR emitters. The build photos show how the frames fit around the lenses.

  5. Route the infrared lighting

    I wired the IR controller through the front of the frunk and placed the emitters into their housings on the lens frames. EyeTrackVR guidance for near-eye infrared emitters

  6. Fit the USB hub and fan

    I connected the USB-C breakout hub to the USB port inside the frunk, fitted the printed cover and hot-glued the fan to the front of the headset.

  7. Install the two eye cameras

    I connected one camera to each flashed ESP32 board. For the eyes, I ran longer ribbon extensions over the top of the headset, then seated the cameras in the frames around the lenses so they pointed inward at each eye.

  8. Mount the lower-face tracker

    I placed the third ESP32 board at the front of the Index and used a shorter ribbon extension for the lower-face camera. I aimed the camera back toward my mouth so it could capture jaw and lip movement.

  9. Connect all three trackers to the hub

    I plugged the USB-C cables from all three ESP32 boards into the breakout hub. The hub powers the trackers and carries their camera feeds back to the PC through the Index’s USB connection.

  10. Calibrate in Project Babble

    I opened Baballonia, assigned the left-eye, right-eye and lower-face feeds, and calibrated the tracking. I checked eye movement, blinks and mouth movement before trying the finished headset. Baballonia setup and calibration