Arduino ProjectsMini Project

Smart Blind Stick Using Arduino and Ultrasonic Sensor

Introduction

Hey techies, welcome back to Techatronic. In this article, we are going to make a Smart Blind Stick Using Arduino and Ultrasonic Sensor.

HTML Image as link
Qries

Blind peoples have to face many challenges in their life, one of them is finding their way on the streets. On the streets, there are so many vehicles and obstacles that may block their way and also may injure them.

smart blind stick

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.

HTML Image as link
Qries

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.

smart blind stick

Working on the Smart Blind Stick

  • 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

smart blind stick ultrasonic sensor

Components Required

Circuit diagram for the Project

smart blind stick circuit diagram

Connection Diagram

Arduino UNOUltrasonic Sensor
( +5V ) VCC 
GND GND
D9 PinTrig Pin
D10 PinEcho Pin
Arduino UNOBuzzer
D5 PinPositive Terminal
GND Negative Terminal
Arduino UNOLED220 Ohm Resistor
D6 PinAnode Pin 
 Cathode PinTerminal 1
GND 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.
smart blind stick ultrasonic sensor

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 
}
}

Now you open the serial monitor to read the sensor value

smart blind stick serial monitor
smart blind stick serial monitor

The Smart Blind Stick images

smart blind stick

Related project

Smart Ultrasonic Distance Finder Using 3 Ultrasonic Sensors

Blynk Ultrasonic sensor | HC-SR04

What is ultrasonic sensor with Arduino? Tutorial of Ultrasonic Sensor

Radar using Arduino & Ultrasonic sensor

raspberry pi pico ultrasonic sensor | Raspberry pi Pico Tutorial

ultrasonic sensor with raspberry pi

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

Related Articles

Leave a Reply

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

Back to top button