Smart Google Glasses With Transparent OLED Display

- Advertisement -
 

Recently, Google Glass was launched. It looks similar to ordinary glasses, but it consists of special transparent glass. This special transparent glass gives you the UI and works like a smartphone that displays news, time, books, and much more information that you want to receive in front of your eyes.

You can also view the surroundings similarly to ordinary glasses. The text appears as an overlay or “floating in the air.” It’s an amazing technology. These Google glasses are revolutionary and will become one of the most advanced gadgets in the future.

Since these smart Google glasses are available in limited editions and very finite in numbers.

- Advertisement -

As it is very expensive, it is difficult for most people to experience such technology. Hence, we can design our own Google glasses. 

DIY Google Glass with OLED Screen

Smart Homemade Google Glass

The following are the components required for designing smart Google glasses.

Bill of Materials

Programming Google Glasses

Now, to design Google eyeglasses, prepare the code to show the data information on the transparent OLED display. Now, we need Python programming to create a code for interfacing and configuring the OLED display.

The latest version of Raspbian OS installed comes with Python 3 preinstalled. If not, then install Python and its IDLE first. Now install the libraries and modules for interfacing the display, and also install other python modules and libraries as per the functions you want on your google eyeglasses design.

Here is the simple reference design of Google eyeglasses that displays time and text information on eyeglasses. So, to install the Python modules, open the Linux terminal and run the following command.  

wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz
tar zxvf bcm2835-1.71.tar.gz
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
sudo apt-get install wiringpi
#For Raspberry Pi systems after May 2019 (earlier than before, you may not need to execute), you may need to upgrade:
wget https://project-downloads.drogon.net/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb

Check the installation using the following 

gpio -v
Install python modules 
sudo apt-get install python3-pil
sudo apt-get install python3-numpy
sudo pip3 install RPi.GPIO
sudo pip3 install spidev

Now clone the transparent OLED Python library and install the library.

sudo apt-get install p7zip-full
sudo wget  https://www.waveshare.com/w/upload/2/2c/OLED_Module_Code.7z
7z x OLED_Module_Code.7z -O./OLED_Module_Code
cd OLED_Module_Code/RaspberryPi

Now start to code…

First, import the Python modules and libraries. Here we have imported the DateTime library and OLED display modules and library. You can also import many other libraries and modules if you want to add any more functions to eyeglasses. 

Next, we will display the text like book text, or info and time on a transparent OLED display. 

Raspberry Pi Smart Glasses Code

OLED based Smart Glass Code

DIY Google Glass Circuit Diagram

Now connect the Raspberry Pi and set the Transparent OELD display as shown in the circuit diagram below. Place the Transparent OLED display glass instead of single glass in the eyeglasses and then mount the Raspberry Pi and battery inside the eyeglass as in pics below

Google Glass with OLED
Fig 6. Google Eyelglasses show data while it is transparent.
Google Glass Circuit Diagram
Fig 7. Circuit diagram

If using the I2C interface then connect the DIN pin to the SDA of the RPI board and SCLK to the SCK pin of the RPi board.

Testing and Working

Fig 8.
Fig 9.

Note:- This is the first version of the project. We made some improvisation in this project and came up with DIY smart glasses with a built-in phone.

Download Code

SHARE YOUR THOUGHTS & COMMENTS

 
 

What's New @ Electronicsforu.com

Most Popular DIYs

Electronics Components

Truly Innovative Tech