Ultrasonic Glasses for Blind People

by KitKat2024 in Circuits > Arduino

393 Views, 2 Favorites, 0 Comments

Ultrasonic Glasses for Blind People

unnamed-8.jpg
Testing ultrasonic glasses

I made ultrasonic glasses for blind people. I made it because I had a science fair in 10th grade also I'm showing how I made it here because I found a very easy way to make it. Even a kid can do it obviously with parental supervision.

This project also helped me win the science fair so it might help you do too.

General information about the project:

An ultrasonic sensor is an instrument that measures the distance to an object using ultrasonic sound waves. An ultrasonic sensor uses a transducer to send and receive ultrasonic pulses that relay back information about an object's proximity.

The Arduino buzzer is a device that produces sound when an electric current is passed through it. The Arduino buzzer can be directly connected to the Arduino and produce different tones by giving different frequency electric pulses to the buzzer

The goal of this project is for the sensor to detect objects from 30cm and to make the pezio make a sound based on that. The sound made changes depending on the distance of the object. higher pitch= object is close and deeper pitch= the object is far.


Sorry if there was mistakes in this manual. It is just that I stopped trying to make circuits and stopped using Arduino for 4-5 months because of personal reasons, but I hope I can start again making these projects.I want to start doing this as a hobby again.

Also please comment if there were any errors since this is also my first time publishing here.

Supplies

9v battery 1x

battery connector 1x

ultra sonic distance sensor 1x

Piezo 1x

Arduino UNO 1x

female to female wires 6x

glasses 1x

Computer 1x

Arduino IDE app

Make Circuit

Tremendous Kasi-Densor.png

just do the same thing as shown in the picture .expect for connecting the battery to Arduino with battery connector; this should be done after the code has been uploaded to the Arduino uno.

Coding in Arduino IDE

#define trigPin 7

#define echoPin 6

#define buzzer 3

int sound = 250;

void setup() {

Serial.begin (9600);

pinMode(trigPin, OUTPUT);

pinMode(echoPin, INPUT);

pinMode(buzzer, OUTPUT); }

void loop() {

long duration, distance;

digitalWrite(trigPin, LOW);

delayMicroseconds(2);

digitalWrite(trigPin, HIGH);

delayMicroseconds(10);

digitalWrite(trigPin, LOW);

duration = pulseIn(echoPin, HIGH);

distance = (duration/2) / 29.1;

if (distance < 30) {sound = 50;}

 if (distance < 25) {sound = 100;}

 if (distance < 20) { sound = 150;}

if (distance < 15) { sound = 200;}

 if (distance < 10) { sound = 250;}

 if (distance < 5) { sound = 300;}

 if (distance > 35 || distance <= 0)

{ Serial.println("Out of range");

noTone(buzzer); }

else { Serial.print(distance); Serial.println(" cm"); tone(buzzer, sound); }

delay(200);}

Upload Sketch

Screenshot 2023-11-02 at 12.34.21 PM.png

Now after the code has been uploaded you can connect the battery with Arduino uno.

Stick Components With Glue( Be Careful When Putting the Glue)

unnamed-7.jpg
unnamed-6.jpg

Stick to Glasses

unnamed-5.jpg
unnamed-4.jpg
unnamed-3.jpg
unnamed-2.jpg

stick battery to one of the handles of the glasses and the ultra sensor on the top of the glasses.

Final Product

unnamed-8.jpg
unnamed.jpg