smart blind stick

Smart Blind Stick Using Arduino and Ultrasonic Sensor

Arduino Projects Community helpful project Mini Project

Introduction

Hey techies, welcome back to Techatronic. In this article, we are going to make a Smart Blind Stick Using Arduino and Ultrasonic Sensor. Blind peoples have to face many challenges in their life, one of them is to find their way on the streets. As on the streets, there are so many vehicles and obstacles that may block their way and also may injure them. So keeping this problem in the mind we developed a Smart blind stick that scans for the obstacles in front of it with the help of an ultrasonic sensor. You can check out more projects on Arduino made by us and if you like them please check our E-book on Arduino with 10+ amazing projects with well-defined codes. This smart stick alerts the person who is holding it whenever it detects any blockage in the path. For this project, we use an HC-SR04 Ultrasonic sensor and Arduino UNO board. If you didn’t familiar with the working of the ultrasonic sensor with Arduino then please check it out first. Complete the circuit then upload the given code to the Arduino. You can present this project as your Arduino mini-project.

Working of the Smart Blind Stick

The Smart Blind Stick scans the path in front of it with the help of an HC-SR04 Ultrasonic sensor. Whenever the sensor detects any object in its path the buzzer starts beeping and also at the same time the LED turns on. The blind person can hear the beeping of the buzzer and manage to change the way. In this way, the person can easily find his way without getting injured. This smart stick works in the same way as the Ultrasonic range finder did. You can also see the real-time values of the distance in cm on the Arduino serial monitor. Once the circuit is ready for this Arduino mini-project tie the whole set-up to a stick using zip ties.

 

Simulation

Components Required

  • Arduino UNO
  • USB cable for uploading the code
  • Jumper wires
  • Breadboard
  • HC-SR04 ultrasonic sensor
  • Buzzer
  • LED with a 220-ohm resistor
  • DC batteries

 

Components Table/buy link

S.No Component Required Quantity Buy Link
1. Arduino UNO 1 https://amzn.to/3ue2vmh
2. Arduino UNO Cable 1 https://amzn.to/3obXjht
3 Ultrasonic Sensor 1 https://amzn.to/2YjUUqC
4. Buzzer 1 https://amzn.to/3Bh9o8I
5. Jumper Wire 40 https://amzn.to/39q43jr
6. Breadboard 1 https://amzn.to/39vsRX2
7. 5V DC Adaptor For Arduino 1 https://amzn.to/3l2taza

Circuit diagram for the Project

 

smart blind stick circuit diagram

 

 

Connection Diagram

Arduino UNO Ultrasonic Sensor
( +5V ) VCC VCC ( Positive + )
GND ( Ground ) GND ( Ground – )
D9 Pin Trig Pin
D10 Pin Echo Pin
Arduino UNO Buzzer
D5 Pin Positive Terminal
GND ( Ground ) Negative Terminal
Arduino UNO LED 220 Ohm Resistor
D6 Pin Anode Pin
Cathode Pin Terminal 1
GND ( Ground ) Terminal 2

 

Please make the connections according to the given Smart blind stick circuit diagram. Attach the 5-volts and GND pins of the Arduino to the VCC and GND pins of the ultrasonic sensor. Connect the TRIG and ECHO pins of the ultrasonic sensor with the digital-9 and digital-10 pins of the Arduino. Join the positive and negative wire of the buzzer with the digital-5 and GND pins of the Arduino. Attach the positive leg of the LED with the digital-6 pin of the Arduino and the negative leg of the LED with the GND pin of the Arduino through a 220-ohm resistor. You can use a breadboard for making common connections. Power the Arduino board using DC batteries.

Code for the Project

NOTE: You have to upload the given code to the Arduino.



// TECHATRONIC.COM

const int trigPin = 9;
const int echoPin = 10;
long duration;
int distanceCm, distanceInch;
void setup()
{ 

 Serial.begin(9600); 
 pinMode(trigPin, OUTPUT);
 pinMode(echoPin, INPUT);

 pinMode(6, OUTPUT); // Connect LED Pin D6
 pinMode(5, OUTPUT); // Connect Buzzer Pin D5

}
void loop()
{
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distanceCm= duration*0.034/2;
distanceInch = duration*0.0133/2;
Serial.println("Distance: ");
Serial.println(distanceCm);
delay (100);
// See the Ultrasonic Sensor Value in Serial Monitor



if(distanceCm < 25)  // You can Change the value 
{
  
  digitalWrite(5, HIGH);  // Buzzer ON
  digitalWrite(6, HIGH);  // LED ON 
  
}

else
{
    digitalWrite(5,LOW);  // Buzzer OFF
    digitalWrite(6,LOW);  // LED OFF 
}
}

The Smart Blind Stick images

smart blind stick

We hope that you understand the project well and try to make it on your own. If you are facing any difficulties do inform us in the comments section below. Please check more Tutorials on Arduino and Raspberry Pi.

Video Sample

 

Spread the love, Share this post with friends