Varun walimbe
Published © GPL3+

Obstacle Detection Device for Blind

Blind people often face the problem of colliding to walls or obstacles. I have created a simple embedded system that help them.

BeginnerShowcase (no instructions)3 hours6,877
Obstacle Detection Device for Blind

Things used in this project

Hardware components

Arduino Pro Mini 328 - 5V/16MHz
SparkFun Arduino Pro Mini 328 - 5V/16MHz
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Buzzer
Buzzer
×1
Rechargeable Battery, 7.2 V
Rechargeable Battery, 7.2 V
×1
Custom PCB
Custom PCB
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Female Header 8 Position 1 Row (0.1")
Female Header 8 Position 1 Row (0.1")
×2
Male-Header 36 Position 1 Row- Long (0.1")
Male-Header 36 Position 1 Row- Long (0.1")
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires
Wire Stripper & Cutter, 18-10 AWG / 0.75-4mm² Capacity Wires
Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free
Solder Flux, Soldering
Solder Flux, Soldering
Desoldering Pump, Deluxe SOLDAPULLT®
Desoldering Pump, Deluxe SOLDAPULLT®
Hot glue gun (generic)
Hot glue gun (generic)

Story

Read more

Code

Frame for the Blind

C/C++
int Trigpin = 5;
int Echopin = 4;
const int buzzer= 10;
long duration;
int distance;

void setup() 
{
 Serial.begin(9600);
 pinMode(Echopin,INPUT);
 pinMode(Trigpin,OUTPUT);
 pinMode(buzzer,OUTPUT);

}

void loop() 
{
  digitalWrite(Trigpin, LOW);
  delayMicroseconds(2);
  digitalWrite(Trigpin, HIGH);
  delayMicroseconds(10);
  digitalWrite(Trigpin, LOW);
  
  duration = pulseIn(Echopin,HIGH);
  distance = (duration*0.034)/2;
  Serial.println(distance);
  delay(200);
  
  if (distance<30&&distance>1)
  {
    digitalWrite(buzzer,HIGH);
    delay(3000);
    digitalWrite(buzzer,LOW);
  }

  else
  {
    digitalWrite(buzzer,LOW);
  }
}

Credits

Varun walimbe

Varun walimbe

15 projects • 66 followers
I like to innovate and make different types of Robots and systems that thrive to make human lives easier :)

Comments