Project tutorial
Arduino Blind Stick

Arduino Blind Stick © CC BY

This smart stick can help blind people walk on the street safely without any help.

  • 1,633 views
  • 1 comment
  • 14 respects

Components and supplies

Necessary tools and machines

Apps and online services

About this project

After seeing the blind people in the street pleasing people to help them walk on street.I felt sad for that, and then T started working on this project.

Code

upload this codeC/C++
it is in the C/C++ language
/*
 * make a smart stick that helps the Blind
 */
 #define trigPin 9
 #define echoPin 8

 #define Buzzer1 5//active
 #define Buzzer2 7//passive
 #define Led1 6//Vibration

 
int sound = 250;


void setup() {
 Serial.begin (9600);
 pinMode(trigPin, OUTPUT);
 pinMode(echoPin, INPUT);
 pinMode(Buzzer1, OUTPUT);
 pinMode(Buzzer2, OUTPUT);
 pinMode(Led1, OUTPUT);
}

void loop() {
  Serial.begin(9600);

  long duration, distance;
  digitalWrite(trigPin, LOW);
  delay(2);
  digitalWrite(trigPin, HIGH);
  delay(10);
  digitalWrite(trigPin, LOW);
  duration = pulseIn(echoPin, HIGH);
  distance = (duration/2) / 29.1;
  digitalWrite(Buzzer1, LOW);
  digitalWrite(Buzzer2, LOW);
  digitalWrite(Led1, LOW);
  
  if (distance<40) {
    digitalWrite(Led1, HIGH);
    delay(2000);
  }
  if (distance<20) {
    digitalWrite(Led1, HIGH);
    delay(2000);
    digitalWrite(Buzzer1, HIGH);
    delay(2000);
  }
  if (distance<10) {
    digitalWrite(Led1, HIGH);
    delay(2000);
    digitalWrite(Buzzer1, HIGH);
    delay(2000);
    digitalWrite(Buzzer2, HIGH);
    delay(2000);
  }
  }

   

Schematics

the schematic
first the
ultrasonic sensor
2 buzzer
Led
should be attached to breadboard
then we should connect these components to arduino by wires
after that the circuit should be attached to a stick with a tape
2019 01 12 (3) zfojehamlx

Comments

Similar projects you might like

Blind Stick Navigator

Project tutorial by Team MeRo

  • 11,979 views
  • 7 comments
  • 31 respects

Blind Runner Alarm: Speed Measuring Device

Project showcase by 5 developers

  • 2,110 views
  • 2 comments
  • 3 respects

Smart Blind Assistant

Project in progress by Chandru S

  • 3,662 views
  • 1 comment
  • 5 respects

Third Eye for The Blind

Project tutorial by Muhammed Azhar

  • 49,945 views
  • 35 comments
  • 116 respects

Tito - Arduino UNO 3D-printed robot

Project tutorial by Camilo Parra Palacio

  • 13,416 views
  • 12 comments
  • 42 respects
Add projectSign up / Login