Smart Blind Stick

A low-cost stick designed for blind people that enables them to walk without any assistance.

IntermediateFull instructions provided2 days8,728
Smart Blind Stick

Things used in this project

Hardware components

MSP-EXP430F5529LP MSP430 LaunchPad
Texas Instruments MSP-EXP430F5529LP MSP430 LaunchPad
×1
Ultrasonic Sensor - HC-SR04
SparkFun Ultrasonic Sensor - HC-SR04
×1
HC-05 Bluetooth Module
HC-05 Bluetooth Module
×1
Buzzer
Buzzer
×1
Gravity:Digital Push Button (Yellow)
DFRobot Gravity:Digital Push Button (Yellow)
×1

Software apps and online services

Energia
Texas Instruments Energia
MIT App Inventor
MIT App Inventor

Story

Read more

Code

Energia Code for Smart Blind Stick

Arduino
Dtecting obstacle and sending alerts via app
const int trigPin = 37;
const int echoPin = 36;
const int buzzer = 23;
const int bt=10;
long duration;
int distance;
int safetyDistance;

void setup()
{
  Serial.begin(9600);
  pinMode(trigPin, OUTPUT);
  pinMode(echoPin, INPUT);
  pinMode(buzzer, OUTPUT);
  pinMode(bt,INPUT);
}

void loop()
{
    digitalWrite(trigPin, LOW);
    delayMicroseconds(2);
    digitalWrite(trigPin, HIGH);
    delayMicroseconds(10);
    digitalWrite(trigPin, LOW);
    duration = pulseIn(echoPin, HIGH);
    distance= duration*0.034/2;
    safetyDistance = distance;
    if (safetyDistance <= 50)
    {
        digitalWrite(buzzer, HIGH);
    }
    else
    {
        digitalWrite(buzzer, LOW);
    }
    if(digitalRead(bt)==HIGH)
    {
        Serial.println("a");
    }
    delay(400);
}

Credits

umesh dutta

umesh dutta

37 projects • 38 followers
Working as Deputy Director of Innovation Centre at Manav Rachna, India. I am into development for the last 12 years.
Texas Instruments University Program

Texas Instruments University Program

91 projects • 90 followers
TI helps students discover what's possible to engineer their future. Learn about TI tech for the classroom: www.university.ti.com
Energia

Energia

34 projects • 22 followers
Founder of @energiaproject
Ashwani

Ashwani

0 projects • 3 followers
Student at Manav Rachna University, exploring the world of computer science....
Aarzoo Kapoor

Aarzoo Kapoor

0 projects • 2 followers
sahiba kaur

sahiba kaur

0 projects • 0 followers
ria mittal

ria mittal

0 projects • 0 followers
devdutt

devdutt

10 projects • 7 followers
Robotic Gold Medalist at IIT Guwahati and Embedded,Hardware Developer at Manav Rachna Innovation and Incubation Centre

Comments

Add projectSign up / Login