Raspberry Pi Smart Glasses

by oof-baroomf in Circuits > Raspberry Pi

2701 Views, 10 Favorites, 0 Comments

Raspberry Pi Smart Glasses

WIN_20210310_13_26_25_Pro.png
FG6O1Y2KJSKSPTE.jpg
WIN_20210302_12_04_50_Pro.jpg (1).png

This project shows an easy way to make portable, battery powered smart glasses for under $55. Unlike some other smart glasses, which just show you the time and a few notifications, this one runs plain Raspberry Pi OS, so you get a full desktop. The images are what it looks like, although the desktop looks a lot cleared than worn, compared to the image. I came up with this project after wondering what to do with my Pi 0W and PiTFT after buying them for another project that failed. Most of the smart glasses used very expensive VR technology, or just made use of a small black and white screen with an Arduino to notify you of calls. I wanted neither, so I created this.

Note: If you are farsighted, then it won't work unless you are wearing your glasses. I apologize for any dead links. I'll try to post updated links in this Instructable, so if you see a dead link, comment!

Supplies

Materials:

Total: $54.92

Tools:

  • Scissors
  • A monitor (optional, but really helpful)
  • A 5v power adaptor (you can use the USB ports on your laptop)
  • A USB micro SD card reader (this should be able to read microSD cards and convert them to something your laptop can use)

Setting Up Your Materials

WIN_20210111_09_26_48_Pro.png
WIN_20210111_10_32_05_Pro (1).png
FWU7S38KJU08A0D.png

Start off with some housekeeping. Charge the power bank and keyboard, and open up the packaging for the rest. Cut the cardboard according to my first image. (you might need to click on the images) This will be your main body. (Pi shown for scale) Then, cut the plastic fruit box to the shape shown in the picture. The exact shape isn't important, just make sure it fits on to the back of the PiTFT without covering any ports. (picture shown) I secured this to the PiTFT with a rubber band, but you can use glue or anything else that works for you. Lastly, plug the USB dongle that came with the keyboard into the large end of the USB-microUSB converter, and plug that whole thing into the middle port of the Pi Zero. (There are two microUSB ports, make sure to pick the one towards the center) Then, turn on the keyboard.

Setting Up the Raspberry Pi

WIN_20210111_09_26_48_Pro (1).png

If you are already able to access your Pi's command prompt, then skip this step. If not, here goes:

If you have a monitor, go ahead and follow this tutorial (Note: don't worry about the USB hub, adaptor, and mouse. This was completed in the last step.)

If you don't have a monitor, then use this tutorial. (I would opt for the Headless Wi-Fi option, because USB is a little complicated and the Pi 0W does not have Ethernet. Also, you do not need to use VNC, so skip that part.)

Next, if you are on the desktop, open LXTerminal, which is next to the web browser on the taskbar. If you are on a command prompt with no GUI, then enter the command "startx" on the command prompt. This should load the desktop.

Activate the PiTFT

WIN_20210114_11_22_54_Pro.png

Mount the PiTFT on to the pi according to the image. The code is quite easy; just run these commands, reboot when it asks you to, and then run these commands.

Bending the Small Cardboard Pieces

WIN_20210201_09_37_26_Pro.png
WIN_20210201_10_22_44_Pro (1).png
WIN_20210201_10_23_00_Pro (1).png

First, bend the small cardboard pieces into two folds of 90 degrees according to the first image. You want it so that one side is shorter than the other. This will hang onto your glasses. Then tape it so that it stays in place according to the second and third images. I used yellow masking tape for visibility, but it is up to you for what tape you want to use. Again, don't worry about getting it exact, it just needs to serve the purpose. Make sure to do this to both the cardboard pieces.

Assemble It All!

WIN_20210208_10_12_50_Pro.png
WIN_20210208_10_17_21_Pro.png

Tape everything together, except for the long piece, according to the first and second pictures. The cylinder in the second picture is my power bank, you may have a different one. Then, tape the large piece onto the whole assembly, according to the third image. You are finally done! Hook it onto your glasses. If it starts to fall off, try tightening the small cardboard pieces, to make them fit more snugly on your glasses. Plug in the Pi Zero to the microUSB port at the edge, and appreciate your creation! You can even play games on it if you like. By the way, please like this Instructable if you enjoyed it. Thank you!