Smart Cap for visually impaired people

Welcome to the techatronic,  this is a very good project of ours and also it is societal. it will help the people who are visually impaired and always help a helping hand on the time of walking. this cap will help them to walk without a helping hand although it needs some improvement but the idea and implementation is good. so we are just expecting all you guys like this smart cap for visually impaired people from us. smart cap is like a cap but it has attached some electronic components over it and it looks like a camera cap or robotic cap but it will help a lot to the people.

Smart Cap for visually impaired people

Smart cap basically working on the distance measurement principle by the ultrasonic sensor. there are three ultrasonic sensors at the cap which gets the distance from all three sides and also detect the object near to the cap. ultrasonic sensor is interfaced to the Arduino when the ultrasonic sensor found anything in front of it, Arduino sent an instruction to the connected device.

there is a pattern to connect all the device together such as if at the left an ultrasonic sensor connected so there is also a vibration motor and green led also be connected, so when left ultrasonic found any object the left vibration motor will start and led will glow same this for the right side ultrasonic motor. and there are is a small difference at the front side ultrasonic sensor we have connected here buzzer instead of vibration motor so the person easily find the direction of the notification. we have more Arduino project such as.

Components required for Smart Cap for visually impaired people 

  • Ultrasonic sensor
  • Arduino Uno
  • Vibration Motor
  • LED
  • wires
  • Cap
  • Buzzer

these all are the components which you needed to make this project.

now you need a circuit diagram to make it possible.

Circuit Diagram for Smart Cap for visually impaired people 

circuit

 

Code for Smart Cap for visually impaired people 

#define trigPin1 3
#define echoPin1 2
#define trigPin2 4
#define echoPin2 5
#define trigPin3 7
#define echoPin3 8

long duration, distance, RightSensor,BackSensor,FrontSensor,LeftSensor;

void setup()
{
Serial.begin (9600);
pinMode(trigPin1, OUTPUT);
pinMode(echoPin1, INPUT);
pinMode(trigPin2, OUTPUT);
pinMode(echoPin2, INPUT);
pinMode(trigPin3, OUTPUT);
pinMode(echoPin3, INPUT);
}

void loop() {
SonarSensor(trigPin1, echoPin1);
RightSensor = distance;
SonarSensor(trigPin3, echoPin3);
FrontSensor = distance;

Serial.print(LeftSensor);
Serial.print(” – “);
Serial.print(FrontSensor);
Serial.print(” – “);
Serial.println(RightSensor);
}

void SonarSensor(int trigPin,int echoPin)
{
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration/2) / 29.1;

}

 

upload this code into Arduino

Leave a Reply

Your email address will not be published. Required fields are marked *