Skip to content
HardwareLab

CardboardXR: a 3D-printed phone headset with room and hand tracking

Bren Poly's CardboardXR is a Unity phone app for a 3D-printed Google Cardboard-style viewer.

Hardware:
3D-printed Cardboard-style viewer, Smartphone, 45 mm Cardboard v2 lenses
Difficulty:
Intermediate · Our suggestion
License:
Apache-2.0
Creator:
Bren Poly

Turn your phone into a VR viewer with room and hand tracking.

By Bren Poly

Posted

Video by @brenpoly on X

Demo by Bren Poly, posted · Watch on X · Video by Bren Poly.

What it does

Bren Poly's CardboardXR is a Unity phone app for a 3D-printed Google Cardboard-style viewer. It shows a separate view for each eye with lens distortion, tracks your movement around a room, shows the rear camera view, finds surfaces for virtual objects, and tracks hands for pinch controls, grabbing and a pointing ray. The README reports testing on a Pixel 9 Pro with ARCore and an iPhone 15 Pro with ARKit and LiDAR. The open-source app and repository use Apache-2.0; bundled third-party code, models and fonts keep their own licenses in THIRD_PARTY_NOTICES.md. The creator calls the print files free to download; the MakerWorld license name has not been verified.

What you need

Runs offline
Yes, per the source
Difficulty
Intermediate · Our suggestion
License
Apache-2.0 (source)

Parts

  • Smartphone you already have (Tested: Pixel 9 Pro and iPhone 15 Pro. Android APK: ARCore, Android 10+, 64-bit, Vulkan.)
  • 3D-printed viewer shell (MakerWorld model 3511377; access to a 3D printer.)
  • Phone door and four TPU corner locators (MakerWorld plate for iPhone 15 Pro, Pixel 9 Pro or iPhone 16 Pro, or use the door generator for your phone. PETG door; TPU locators.)
  • Pair of 45 mm biconvex Google Cardboard v2 lenses (About $5 for the pair, per Bren Poly's YouTube description.)
  • MagSafe Peltier cooler and USB-C power bank (Creator's optional Pro model.) [optional]
  • Unity 6000.6.8f1 with iOS module and Xcode (Needed for the iPhone source build only. Sign Xcode into an Apple ID; a free personal team is enough.) [optional]
AI model or service
MediaPipe hand tracking (source)

Part sources: Sources

Full build guide

Full instructions: View original

How it works

  1. Print the viewer shell from the MakerWorld files. Ready-made phone doors fit the iPhone 15 Pro, Pixel 9 Pro and iPhone 16 Pro. For another phone, enter its dimensions in the door generator, which makes 3MF and STL files in your browser. Print the door in PETG and the four corner locators in TPU. The outline, hinge and latch stay the same, so the door fits the standard shell.
  2. Fit a pair of 45 mm biconvex Google Cardboard v2 lenses. Bren Poly's YouTube description puts the lenses at about $5; that is not a price for the whole headset.
  3. Put your phone in the door. On Android, download the free APK from the v1.0.0 release and open it on an ARCore phone with Android 10 or later, 64-bit support and Vulkan. Android asks you to allow installation from your browser or file manager. There is no iPhone download yet: build from source using Unity 6000.6.8f1 and Xcode; a free personal team is enough.
  4. Start the app. The lobby shows the camera view and scans your room. Look around at the floor and any tables until it says it is done, or tap Skip. The phone tracks where you move as well as which way you turn, using ARCore on Android or ARKit on iPhone. This prepares head tracking and detected surfaces for the demos, so you can walk around rather than only turn your head.
  5. Look at something to aim, then pinch in front of the rear camera to click it. A screen tap works too. The phone finds your palm and then 21 points on your hand in 3D using a two-stage MediaPipe model that runs locally. In room-tracking demos, your hand or its pointing ray can also pick objects up.
  6. Try Air Paint to paint strokes in the air in your own room, Orb Rush to hit orbs with your hand, Portal to open a floor doorway into a night world, or 360 Video. You can also place cubes on scanned surfaces. Portal's camera view stays flat, with no sense of depth.
  7. Expect the phone to get hot. The app's thermal governor lowers how often it runs the hand models and caps the frame rate as heat rises. The creator's optional Pro model adds a MagSafe Peltier cooler and a USB-C power bank.

The app works offline. Camera images for tracking, passthrough and QR scanning are processed on the phone and never stored or sent anywhere. It only goes online when you ask it to follow a viewer QR short link or download a Google Drive video you added. Unity analytics, crash reporting and engine diagnostics are off.

Setup effort

Android is a print-and-APK build. The iPhone path requires a Unity/Xcode source build.

Limits and caveats

  • Hands leave the rear camera's view: it covers about 68° across and 42° up and down.
  • Passthrough is flat. One camera sends the same image to both eyes at one distance, so it gives no sense of depth.
  • Expect heat. On the iPhone 15 Pro, hand tracking and heat prevent the app from holding 120 fps.
  • On the Pixel 9 Pro, Android holds the display at 60 Hz while the camera runs.

Like this build? Get the weekly builds

Every Thursday: the 5 best gadget hacks you can copy. Free.

Built something? Submit a build

Credits and links

This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.

Featured? Add this badge

Built this? Paste the badge into your README. It links back to this page.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](https://hardwarelab.dev/projects/cardboardxr/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)

HTML

<a href="https://hardwarelab.dev/projects/cardboardxr/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>
All 7 in Wearables
  • Owl

    A personal wearable AI that runs locally.

    • wearable capture device
    • local server
    Advanced667
  • Omi

    An AI wearable and app that transcribes your conversations, writes summaries and action items, and remembers what you heard.

    • Omi wearable
    • Seeed Studio XIAO nRF52840 Sense
    • mic
    • +1 more
    Intermediate13.9K
  • Pi Pin

    An open AI pin built on a Raspberry Pi.

    • Raspberry Pi
    • mic
    • speaker
    • +1 more
    Intermediate
  • StrapLink

    HardwareLab’s own build: an iPhone app that talks directly to the Garmin HRM 600 chest strap, with no Garmin account, no watch and no cloud.

    • Garmin HRM 600
    • iPhone (iOS 26+)
    Intermediate · Our suggestion