Jacket for Visually Impaired

Design of assistance to the visually impaired with removable prototype to be used in any clothes and powered by the cell phone.

IntermediateProtip15,574
Jacket for Visually Impaired

Things used in this project

Hardware components

Arduino LilyPad Main Board
Arduino LilyPad Main Board
×1
LilyPad Coin Cell Battery Holder - Switched - 20mm
SparkFun LilyPad Coin Cell Battery Holder - Switched - 20mm
×1
LilyPad LED White (5pcs)
SparkFun LilyPad LED White (5pcs)
×2
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
Buzzer
Buzzer
×1
LilyPad Button Board
SparkFun LilyPad Button Board
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Soldering iron (generic)
Soldering iron (generic)
Solder Wire, Lead Free
Solder Wire, Lead Free

Story

Read more

Schematics

Jacket for visually impaired

Wiring diagram

we chose to use lilypad for its low energy consumption

Code

Jacket with Arduino Lilypad

Arduino
The design has an ultrasonic sensor to measure the distance of the obstacles and the wearer will be alerted by a buzzer where the frequency of the sound varies according to the proximity of the obstacle.
/*
 * JACKETA PARA DEFICIENTE VISUAL
 * INICIO: 17/05/2019 AS 17:40
 * LTIMA ATUALIZAO:
 * PREVISO DE TRMINO: 24/05/2019
 * DETECTAR OBJETOS A FRENTE DO DEFICIENTE
 * SENSOR: ULTRASSONICO
 * ALERTA: BUZZER
 *      BIP A CADA 1S 2 METROS
 *      BIP A CADA 0,5S 1-2 METROS
 *      BIP EM ALTA FREQUENCIA COM DISTANCIA <0,5 METROS
 */

#include <Ultrassonico.h>
#define Echo 10
#define Trigger 11
#define buzzer 3

Ultrassonico  ultra(Echo, Trigger); //Echo, Trigger

void setup(){
  Serial.begin(9600);
  pinMode(4,OUTPUT);
  pinMode(5,OUTPUT);
  pinMode(buzzer,OUTPUT);
}
void loop() {
  uint16_t cm=ultra.centimetrosUltra();
  Serial.println(cm);
  if ((cm>80)and(cm<130))
  {
    tone(buzzer,3000);
    digitalWrite(4,LOW);
    digitalWrite(5,LOW);
    delay(500);
    noTone(buzzer);
    delay(500);
  }
  if ((cm>30)and (cm<50))
  {
    tone(buzzer,2000);
    digitalWrite(4,HIGH);
    digitalWrite(5,LOW);
    delay(100);
    noTone(buzzer);
    delay(100);
  }
  if (cm<30)
  {
    tone(buzzer,1000);
    digitalWrite(4,LOW);
    digitalWrite(5,HIGH);
    delay(30);
    noTone(buzzer);
    delay(30);
  }
  delay(50);
}

Credits

SandroMesquita

SandroMesquita

14 projects • 113 followers
Professor de robótica com Arduino e Raspberry, estudando e aplicando conhecimentos de I.A. usando a Linguagem Python como base.
Bianor

Bianor

10 projects • 56 followers
ericmaia

ericmaia

1 project • 19 followers
Antonio_Ermeson

Antonio_Ermeson

1 project • 2 followers
PixelsEscola

PixelsEscola

14 projects • 69 followers

Comments