How To Make Amazing Smart Glasses At Home

In this project i will be showing you how to make Smart glasses used for object detection / obstacle detection. These are great for navigating at night time and also for visually impaired people.

For this project you will need :

  • 3 ultrasonic sensors
  • 3 passive buzzers
  • 1 arduino nano
  • 1 PCB from PCBway
  • voltage regulator
  • switch

Tools

  • Soldering iron + solder
  • Glue gun (optional)
  • Multimeter (optional)

To start off the the project i will put the ultrasonic sensors into the PCB making sure that the GND and Vcc pins on the sensor lines up with the Gnd and Vcc pins on the PCB. Once all the sensors are in the Pcb you can solder them into place. The PCB can be obtained by having these files printed at PCBway

.

Next we can add in the Arduino nano making sure to face it upright and line up the leftmost pin with the leftmost pin of the raspberry pi. Once that is in place you can solder all of the pins as well

.

Now we need to create a system to power the Arduino. For this we will connect a voltage regulator to a 9v battery but separate them with a switch! The regulator is used to lower the 9v from the battery to a useable 5.5 volts that the arduino takes. 2 wires can then be attached to the negative and positive output of the regulator and be connected to the gnd and vcc of the arduino.

.

Next we need to setup buzzers to alert us when we detect object. The 3 buzzers will correpond with the 3 ultrasonic sensors. When an onject appears either in front of you, on your left or your right, the corresponding sensor should beep. TO set this up connect the Gnd of all the buzzers to each other then add a wire to the positive of each. The wires attached to the positives of the three buzzers can then be connected to pin 7,8,9 of the raspberry pi

.

To finish up, glue the battery and voltage regulator to the pcb and add another pcb to the top

.

Once that’s done we simply have to add a strip of cardboard around the back and over the top so that the glasses can sit on your face.

.

To finish this off we simply need to upload the code to the arduino. To do this download the arduino app, and plug arduino nano into the computer. open the code and ensure your setting are correct then proceed to upload the code to the arduino.

Once that is complete you can turn the switch on and test the glasses out

.