Smart Stick for Blind
Arduino Blind Stick
Introduction:
The smart blind stick automatically detects the obstacle in front of the person and give him a response by vibrating the stick and with a warning sound. Through this, the blind person can be aware about the obstacles in front of him.
In this project, Ultrasonic sensor is used to detect the obstacle, Vibrating motor is used for vibrating the stick and the sound is generated using a buzzer to make the person aware about the obstacle.
In this project, Ultrasonic sensor is used to detect the obstacle, Vibrating motor is used for vibrating the stick and the sound is generated using a buzzer to make the person aware about the obstacle.
Components Used:
- Arduino UNO
- Ultrasonic sensor
- Vibrating motor
- Buzzer
- Breadboard
- Connecting wires
- Power supply (9V battery)
Software:
- Arduino IDE
Connections:
Ultrasonic sensor:
- Ultrasonic VCC to Arduino 5V.
- Ultrasonic GND to Arduino GND.
- Ultrasonic TRIG to Arduino D12.
- Ultrasonic ECHO to Arduino D11.
Buzzer and Motor:
- Buzzer RED to Arduino D8.
- Buzzer BLACK to Arduino GND.
- Vibrator motor pin 1 to Arduino D7.
- Vibrator motor pin 2 to Arduino GND
Power supply:
- 9 volt battery RED to Toggle switch pin 1.
- 9 volt battery BLACK to DC male power jack(-).
- Toggle switch pin 2 to DC male power jack (+).
Circuit Diagram:
Code:
#define trigPin 13
#define echoPin 12
#define motor 7
#define buzzer 6
void setup()
{
pinMode(trigPin, OUTPUT);
pinMode(echoPin, INPUT);
pinMode(motor, OUTPUT);
pinMode(buzzer,OUTPUT);
}
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 < 70) // Checking the distance, you can change the value
{
digitalWrite(motor,HIGH); // When the distance is below 70cm
digitalWrite(buzzer,HIGH);
}
else
{
digitalWrite(motor,LOW);
digitalWrite(buzzer,LOW);
delay(100);
}
}
Prototype:
- After connecting the circuit as per the circuit diagram upload the code into Arduino UNO.
- Now prepare a prototype model i.e take a PVC pipe and cut it to make a stick and place the entire circuit in a lightweight plastic box and connect the power supply using a 9V battery.
- Make sure that the ultrasonic sensor faces in forward direction. The motor should be placed on the handle of the stick so that the person can feel the vibration and the buzzer placed on the plastic box.
That's it! We just made an Arduino Smart Stick for assisting blind individuals.
We can further advance the project by adding multiple Ultrasonic sensors so that they can detect obstacles at multiple height levels and by adding a water sensor we can detect the presence of water/slippery surface and intimate the person.
No comments
If you have any doubts, Please let me know