If you are an individual planning on using Pupil exclusively for noncommercial purposes, and are not afraid of SMD soldering and hacking – then, buy the parts, modify the cameras, and assemble a Pupil DIY headset. We have made a guide to help you and a shopping list.
The Pupil DIY Kit is not for commercial use or commercial clients.
# Getting all the parts
The 3d-printed headset is the centerpiece of the Pupil mobile eye tracker. You can buy it from the Pupil Labs team through the Pupil shapeways store. The price for the headset is part production cost and part support to the pupil development team. This enables us to give you support and continue to work on the project.
All other parts of the Pupil DIY kit have been specifically selected with availability and affordability in mind. See the Bill of Materials to learn what else you will need to get.
You will need access to these tools:
- Solder station, wick, flux (for SMD solder work)
- Small philips screwdriver
- Prying tool to help un-case the webcams
# Prepare Webcams
The first step is to modify the cameras so we can use them for eye-tracking.
# De-case Cameras
Take both webcams out of their casings. Follow the video guides.
# Solder Work on Eye Camera PCB
This is by far the trickiest part. You will need some soldering experience, or work with someone that can help you for this step. In the video and photo the lens holder is removed, but you will do it with the lens holder attached.
- Cut off the microphone
- De-solder or break off the push button (Note: Some cameras don’t have this button.)
- De-solder the blue LED’s
- Solder on the IR-LED’s. Please take note of LED polarity! Video guide
# Replace IR-blocking Filter on the Eye Camera
- Unscrew the lens from the mount.
- Carefully remove the IR filter. Be very careful! The IR filter is a thin piece of coated glass and right behind it is a lens element that must stay intact and unharmed! It is necessary to remove the IR filter, so that the image sensor will be able to “see” the IR light.
- Using a hole punch, cut out 1 round piece of exposed film and put it where the older filter was.
- Use plastic glue to fix the piece. Don’t let the glue touch the center!
- Put the lens back inside. You will have to manually focus the lens when you run the software for the first time by hand. Later you can use the focus control in software to fine tune.
# Camera Assembly
- Attach the world camera onto the mount using 4 small screws, leftover from disassembly.
- Clip the world camera clip onto the headset
- Slide the eye-cam into the mount video guide
- Slide the arm onto the headset
- Route the cables
- Attach USB extension cable(s)
# Camera Mounts
The camera mounts can be replaced by custom build parts that suit your specific camera setup or other sensors.
We release the CAD files for the camera mounts for you to download, modify, in accordance with our license. CAD files for the frame are not open source; see explanation.
# Interface Documentation
By releasing the mounts as example geometry we automatically document the interface. You can use the CAD files to take measurements and make your own mounts.
The tolerances may need to be changed for your material or fabrication process.
The mounts were developed as part of the whole headset and carry the revision number of the headset they were designed for.
# Download Camera Mount CAD Files
All files are hosted in the pupil-hardware-diy repo here
You can clone the latest revision
git clone https://github.com/pupil-labs/pupil-hardware-diy.git
Or, if you want an older version, just checkout an older version. In this example, we checkout rev006 rev006 with the git version id of 6ad49c6066d5
git clone https://github.com/pupil-labs/pupil-hardware-diy.git git checkout 6ad49c6066d5