A camera-fed headset needs more than a fast camera: the image also has to reach both eyes quickly. Arcadia Labs’ DIY Augmented Reality Device on Hackaday.io makes that tradeoff concrete, using a Raspberry Pi Model B, two small screens and a ColorCross shell as a personal research platform for augmented reality, stereoscopy and computer vision. The supplied build logs run from May 23 to June 18, 2015, documenting a prototype whose bottleneck shifted as the hardware and software improved.
The ambition extended to a wireless heads-up display connected to other DIY devices, including home automation and a camera-tracking robot. Those integrations were goals, not demonstrated results in these excerpts. The immediate work was more fundamental: fit the displays behind the lenses, keep them synchronized and move camera frames through the Pi.
Two screens fit—once turned upright
The headset used two HY28B displays, each a 2.8-inch, 320 × 240 SPI panel. In the May 23 display log, Arcadia Labs described configuring them for a cloned view. That meant giving up their touchscreen functions: the displays and touch controllers each needed chip-select lines, while the Pi’s SPI interface offered only two.
The physical fit imposed another compromise. Mounted horizontally, the screens sat too far apart for the ColorCross lenses. Turning them vertically brought them into alignment, with software correcting the image orientation. Arcadia Labs used connector adapters rather than modifying the displays, preserving them for later projects, and chose removable hot glue to hold them in place.
By the May 28 assembly entry, the creator reported synchronized screens and a visibly pixelated view. Both eyes initially received a cloned image; two displays alone did not establish a stereoscopic camera system. At this stage, getting a usable physical arrangement mattered more than image refinement.
Packaging fixes improved the prototype before faster code did
The early assembly had a flickering screen, light leaking around the display edges and components attached on so many sides that setting the headset on a table was awkward. The June 7 hardware revision tackled those problems with fairly ordinary materials.
A cardboard cover, painted black inside, blocked stray light and provided a camera mount. Moving the Pi to the top made the assembly less bulky. A custom Arduino-style board improved the connections while exposing SPI signals and providing an I²C level shifter; it also carried an ATmega328 running at 3.3 V and 8 MHz.
Arcadia Labs also replaced the original PS3 Eye camera with an Xbox 360 camera whose case and infrared filter had been removed. The creator reported better image quality, no remaining light leaks and an end to the flickering after these changes. These were practical enclosure and connection fixes, separate from the speed problem still to come.
Threading exposed where the frames stopped
The most revealing change appears in the June 18 performance log. The original pygame experiment ran in one large loop. Arcadia Labs split capture, image processing and display into three threads, making it possible to measure each stage separately.
USB capture was initially stuck near 10 fps. The creator suspected both the Model B’s shared USB/Ethernet arrangement and limited USB power delivery. After routing 5 V directly from the power input to USB, Arcadia Labs reported capture rates of roughly 27–30 fps. That is a reported result from this modified board, not a general prescription for powering Pi peripherals; the electrical alteration should not be treated as a validated safe upgrade.
Faster capture then revealed the next constraint. With one screen removed, the display thread reached about 22–24 fps. With both attached, the creator could obtain only 10–12 fps per screen, though the pair remained synchronized. Arcadia Labs identified shared SPI bandwidth as the limiting factor and proposed an HDMI display as a future way around it.
Earlier notes had reported cloned-display operation at up to 50 fps, later reduced to 30 fps because of long cables. Those figures describe earlier display tests, not a demonstrated 50 fps camera-to-eye pipeline. The June measurements are the useful distinction: a camera delivering nearly 30 frames per second did not mean both eyes were receiving fresh images at that rate.
A Pi camera improved capture, not the display ceiling
The June revision also exchanged the USB camera for a Pi NoIR camera module, held in a sliding cardboard mount. Arcadia Labs used a UV4L driver to make it accessible to the pygame program as a webcam while retaining GPU support, and reported full-speed capture. The dual-screen SPI limit remained.
A GY-80 inertial sensor module added gyro, magnetometer, accelerometer and barometer measurements. Arcadia Labs reported getting it working with Python libraries, but noted that calibration—especially the magnetometer’s—was still incomplete. The June log excerpt ends before its next feature description, so it does not establish a finished tracking or overlay system.
The project’s strongest lesson is the value of measuring each stage rather than quoting one headline frame rate. Synchronization solved one problem; capture speed solved another; neither removed the shared display link’s limit. For a next revision, the meaningful test would be whether a new display path improves both fresh-frame delivery and camera-to-eye delay—not simply whether the camera can run faster.
Source: DIY Augmented Reality Device