Blind people have big problem on road because they cannot see object in front.
To solve this we made an Ultrasonic Blind Stick Circuit using Arduino
Stick can sense object and buzzer which make sound to warn blind person.
This project is with low cost and easy to build with parts like Arduino Nano, ultrasonic sensor, buzzer, switch and battery.
Circuit Coding:
#include <NewPing.h>
#define TRIGGER_PIN D3
#define ECHO_PIN D2
#define BUZZER D8
#define MAX_DISTANCE 200
NewPing sonar(TRIGGER_PIN, ECHO_PIN, MAX_DISTANCE);
void setup() {
pinMode(BUZZER, OUTPUT);
Serial.begin(9600);
}
void loop() {
delay(50);
unsigned int distance = sonar.ping_cm();
Serial.print("Distance: ");
Serial.print(distance);
Serial.println("cm");
if (distance > 0 && distance < 50) {
digitalWrite(BUZZER, HIGH);
} else {
digitalWrite(BUZZER, LOW);
}
}
Code Explanation:
- We use NewPing library for ultrasonic sensor.
- We set pins for trigger, echo and buzzer.
- In setup the buzzer is made output and serial monitor start.
- In loop we read distance from sensor with sonar.ping_cm() which gives distance in cm.
- If object is less than 50 cm then buzzer turns ON and make sound.
- If there is no object or more distance then buzzer is OFF.
- We add 50 ms delay for stable reading.
Circuit Working:

Parts List:
Component | Specification | Quantity |
---|---|---|
Arduino Nano | ATmega328P | 1 |
Ultrasonic Sensor | HC SR04 | 1 |
Buzzer | 5 Volt | 1 |
Switch | SPST | 1 |
Battery | 9 Volt | 1 |
Main aim of this project is to help blind people walk safe and easy.
When object or person blocks the way the circuit makes buzzer sound.
Buzzer sound changes with distance.
If object is near then buzzer beep fast.
If object is far then buzzer beep slow and so buzzer speed is opposite to distance.
In circuit we used Arduino Nano as brain.
Ultrasonic sensor send sound wave and check distance of object.
Sensor have 4 pins Vcc, Gnd, Trigger, Echo.
Trigger send sound and Echo get back sound.
Arduino count time and find the distance.
If object is close than set a range and Arduino turns ON buzzer and buzzer makes sound.
Formulas and Calculations:
Ultrasonic sensor work with speed of sound.
Distance formula is: Distance = (Time x Speed of Sound) / 2
Speed of sound is 343 meter per second.
We have divide by 2 because sound go to object and come back.
Example: if echo time is 2 millisecond then distance = (0.002 x 343) / 2 = 0.343 meter.
Arduino uses pulseIn function to measure time in microsecond.
How to Build:
To build a Ultrasonic Blind Stick Circuit using Arduino following steps are required to be followed:
- First collect all parts like in circuit diagram.
- Arduino Nano Vcc goes to 5V and Gnd goes to battery negative.
- Sensor Vcc goes to Arduino 5V and sensor Gnd goes to Arduino Gnd.
- Sensor Trigger connect to D3 and Echo connect to D2 of Arduino.
- Buzzer positive connect to D8 and buzzer negative to Gnd.
- 9V battery connect to Vin of Arduino Nano and negative of battery connects to Arduino Nano GND
- SPST switch connects to positive of 9V battery
Conclusion:
This project for Ultrasonic Blind Stick Circuit using Arduino is simple but very helpful for blind people.
It gives warning sound when any obstacle is in front of them.
The circuit is low cost and easy to build by anyone.
It can be improved by adding vibration motor or GPS for more smart stick.
References:
Design of smart stick for visually impaired people using Arduino
Leave a Reply