Smart Blind Man Walking Stick With Arduino Nano
by sivanithishkrishnan in Circuits > Arduino
3961 Views, 10 Favorites, 0 Comments
Smart Blind Man Walking Stick With Arduino Nano
Hi Friends.
Today we are going to make a small DIY project called Smart blind man walking stick for visually challenged persons.
GRAB THE MATERIALS
Firstly We need to collect the required materials
Here are the parts we need to collect:
1)An Arduino nano
2)An Ultrasonic sensor(HCSR04)
3)A 9-volt Battery
4)A9-volt Battery connector
5)A Buzzer
6)Some jumper wires
7)A vibration motor
8)A switch
Other tools and parts used in this project:
3/4 inch PVC pipe
3/4 inch PVC elbow
Double side tape
Instant adhesive Glue
CIRCUIT AND WIRING CONNECTIONS
Now its a time for wiring the Arduino!
Ultrasonic sensor VCC pin to Arduino 5V.
Ultrasonic sensor GND pin to Arduino GND.
Ultasonic sensor TRIG pin to Arduino D9.
Ultasonic sensor ECHO pin to Arduino D10.
Buzzer RED to Arduino D11.
Buzzer BLACK to Arduino GND.
Vibration motor pin 1 to Arduino D13.
Vibration motor pin 2 to Arduino GND.
9-volt battery RED to switch pin 1
9-volt battery BLACk to GND (-)
Switch pin 2 to Arduino Vin(+)
Arduino Sketch
// defines pins numbers
const int trigPin = 9;
const int echoPin = 10;
const int buzzer =11;
const int motor = 13;
// defines variables
long duration;
int distance;
int safetyDistance;
void setup()
{
pinMode(trigPin, OUTPUT);
// Sets the trigPin as an Output
pinMode(echoPin, INPUT);
// Sets the echoPin as an Input
pinMode(buzzer, OUTPUT);
pinMode(motor, OUTPUT);
Serial.begin(9600);
// Starts the serial communication
}
void loop()
{
// Clears the trigPin
digitalWrite(trigPin, LOW);
delayMicroseconds(2);
// Sets the trigPin on HIGH state for 10 micro seconds
digitalWrite(trigPin, HIGH);
delayMicroseconds(10);
digitalWrite(trigPin, LOW);
// Reads the echoPin, returns the sound wave travel time in microseconds
duration = pulseIn(echoPin, HIGH);
// Calculating the distance
distance = duration * 0.034 / 2;
safetyDistance = distance;
if (safetyDistance <= 18)
{
digitalWrite(buzzer, HIGH);
digitalWrite(motor, HIGH);
}
else
{
digitalWrite(buzzer, LOW);
digitalWrite(motor, LOW);
}
// Prints the distance on the Serial Monitor
Serial.print("Distance: ");
Serial.println(distance);
}
MAKE THE STICK and FIT THE CIRCUIT
First take a PVC pipe(3/4 inch) and cut a piece of length one and half meter
Take an ELBOW and fit it to one end of the pipe
Simply glue it.
I used a sponge to make the circuit 't and looks good
FINAL OUTCOME
We made a Smart blind stick using Arduino nano:
Thanks for reading my instructable.
I hope you enjoyed it.
HAPPY MAKING!