optical data overlay

optical data overlay


Click on images to enlarge.

The optical data overlay is a project I created for a high school science fair. I have always been interested in optics, and was inspired to combine this interest with electronics. Virtual and augmented reality devices were a large source of inspiration for this project, their exclusivity only made the idea of a homemade platform more exciting.

There is a small OLED display pointing into the cardboard construction (visible in fig. 3). Inside the cardboard tube seen in fig. 1, a half-silvered mirror is situated at a 45° angle from both the display and the line of sight through the device. The half-silvered mirror, or “beamsplitter,” reflects light from the display and transmits light through the tube - the result is a combination of the two images.

Fig. 2 is an image from the user’s point of view. In this setup, a magneto sensor is connected to the microcontroller, which displays the magnetic compass heading in the top left of the viewport as well as a reticle in the middle.

The driver board for the display is visible in fig. 3, on the bottom of the assembly. Both the magneto sensor and display are connected to an Arduino UNO, which handles the data input, output, and heading computations.

Because the image from the display is being reflected onto the view of the user, it appeared 'flipped', or mirrored. To remedy this, I edited the main file of the Arduino library which was being used to write to the display, essentially reversing the pixel values on the x and y axes on the display to create a 'flipped' image on the screen. When this image is reflected inside the tube, it appears 'unflipped' to the user.