Muhammed Azhar
Published © CC BY-NC-SA

Third Eye for The Blind

An innovative wearable technology for visually impaired peoples.

IntermediateFull instructions provided249,353
Third Eye for The Blind

Things used in this project

Hardware components

Arduino Pro Mini 328 - 5V/16MHz
SparkFun Arduino Pro Mini 328 - 5V/16MHz
×5
5 Ultrasonic sensor
×5
Perfboard
×5
Vibrating motor
×5
Buzzer
Buzzer
×5
5 mm LED: Red
5 mm LED: Red
×5
Slide Switch
Slide Switch
×5
Female Header 8 Position 1 Row (0.1")
Female Header 8 Position 1 Row (0.1")
×2
Male Header 40 Position 1 Row (0.1")
Male Header 40 Position 1 Row (0.1")
×2
Jumper wires (generic)
Jumper wires (generic)
×4
Power bank
×1
Some elastics and stickers
(to make it as a band for wearing)
×1
3.7 V LiPo Battery
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Schematics

Circuit diagram 1

Code

Code used in the arduino

C/C++
  //VISIT : www.robotechmaker.com

  const int pingTrigPin = 12; //Trigger connected to PIN 7   
  const int pingEchoPin = 10; //Echo connected yo PIN 8   
  int buz=5; //Buzzer to PIN 4   
  void setup() {   
  Serial.begin(9600);   
  pinMode(buz, OUTPUT);   
  }   
  void loop()   
  {   
  long duration, cm;   
  pinMode(pingTrigPin, OUTPUT);   
  digitalWrite(pingTrigPin, LOW);   
  delayMicroseconds(2);   
  digitalWrite(pingTrigPin, HIGH);   
  delayMicroseconds(5);   
  digitalWrite(pingTrigPin, LOW);   
  pinMode(pingEchoPin, INPUT);   
  duration = pulseIn(pingEchoPin, HIGH);   
  cm = microsecondsToCentimeters(duration);   
  if(cm<=50 && cm>0)   
  {   
  int d= map(cm, 1, 100, 20, 2000);   
  digitalWrite(buz, HIGH);   
  delay(100);   
  digitalWrite(buz, LOW);   
  delay(d);  
  }   
  Serial.print(cm);    
  Serial.print("cm");   
  Serial.println();   
  delay(100);   
  }   
  long microsecondsToCentimeters(long microseconds)   
  {   
  return microseconds / 29 / 2;   
  }   
   

Credits

Muhammed Azhar

Muhammed Azhar

1 project • 163 followers
I am Muhammed Azhar a maker from India. Visit my blog for more projects- robotechmaker.com

Comments