Blind man stick
Introduction
Creating assistive devices can greatly improve the quality of life for people with disabilities. In this DIY project, we’ll guide you through building a “blind man stick” using an Arduino UNO, an ultrasonic sensor, a buzzer, and some other basic components. This stick will help visually impaired individuals detect obstacles in their path, providing an additional layer of safety and independence.
Materials Needed
- Arduino UNO
- Ultrasonic sensor (HC-SR04)
- Buzzer
- A stick (can be a wooden or plastic cane)
- Jumper wires
- 9V battery
- Battery clip
- Breadboard (optional)
Step-by-Step Guide
Step 1: Setting Up the Ultrasonic Sensor
The ultrasonic sensor is the key component that will detect obstacles. It sends out sound waves and measures the time it takes for the waves to bounce back after hitting an object.
- Connect the Ultrasonic Sensor to the Arduino:
- VCC pin of the sensor to the 5V pin on the Arduino.
- GND pin of the sensor to the GND pin on the Arduino.
- Trig pin of the sensor to digital pin 9 on the Arduino.
- Echo pin of the sensor to digital pin 10 on the Arduino.
Step 2: Connecting the Buzzer
The buzzer will provide an audible alert when an obstacle is detected.
- Connect the Buzzer to the Arduino:
- Positive leg of the buzzer to digital pin 11 on the Arduino.
- Negative leg of the buzzer to the GND pin on the Arduino.
Step 3: Powering the Arduino
- Connect the 9V battery to the Arduino using the battery clip:
- Connect the positive lead of the battery clip to the VIN pin on the Arduino.
- Connect the negative lead of the battery clip to the GND pin on the Arduino.
Step 4: Mounting Components on the Stick
- Secure the Arduino, ultrasonic sensor, and buzzer to the stick:
- Use tape or zip ties to attach the Arduino board to the stick.
- Mount the ultrasonic sensor at the bottom of the stick, facing forward.
- Place the buzzer near the top of the stick, ensuring the sound can be easily heard.
Step 5: Uploading the Code
- Write and upload the following code to the Arduino using the Arduino IDE:
#define trigPin 9
#define echoPin 10
#define buzzer 11
void setup() {
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(buzzer, OUTPUT);
Serial.begin(9600);
}
void loop() {
long duration, distance;
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
duration = pulseIn(echoPin, HIGH);
distance = (duration / 2) / 29.1;
if (distance < 50) { // if the object is closer than 50 cm
digitalWrite(buzzer, HIGH);
} else {
digitalWrite(buzzer, LOW);
}
Serial.print(distance);
Serial.println(" cm");
delay(500);
}
This code sends out a pulse from the ultrasonic sensor, measures the time it takes for the echo to return, calculates the distance to the obstacle, and triggers the buzzer if the distance is less than 50 cm.
Step 6: Testing the Blind Man Stick
- Power on the Arduino using the 9V battery.
- Move the stick around to test the ultrasonic sensor’s ability to detect obstacles:
- When an object is detected within 50 cm, the buzzer should sound.
- Adjust the sensitivity by changing the distance threshold in the code if needed.
Conclusion
You’ve now created a basic blind man stick that uses an ultrasonic sensor to detect obstacles and a buzzer to alert the user. This project demonstrates how simple electronics and coding can be used to create assistive devices that make a real difference in people’s lives. As you become more comfortable with the components and code, you can further enhance the stick’s functionality with additional features like vibration motors or Bluetooth connectivity for more advanced alerts.

