Daniel Ramsgard
Published

BlindSight: Wearable Device that Aids Visually Impaired

Blind given sight: a device that gives eyes to the blind. A recreation of Alex Wulff's HaptoTech, the project awarded 2018 ISEF finalist.

BeginnerFull instructions provided1 hour2,579
BlindSight: Wearable Device that Aids Visually Impaired

Things used in this project

Hardware components

Arduino UNO
Arduino UNO
×1
Ultrasonic Sensor - HC-SR04 (Generic)
Ultrasonic Sensor - HC-SR04 (Generic)
×1
General Purpose Transistor NPN
General Purpose Transistor NPN
×1
Solar Cockroach Vibrating Disc Motor
Brown Dog Gadgets Solar Cockroach Vibrating Disc Motor
×1
Jumper wires (generic)
Jumper wires (generic)
×1
Through Hole Resistor, 10 ohm
Through Hole Resistor, 10 ohm
×1
9V battery (generic)
9V battery (generic)
×1

Story

Read more

Schematics

Circuit Schematic

Code

BlindSight

Arduino
//Code produced by Daniel Ramsgard 
//Initialize variables and set pins
int trig = 10;
int echo = 5;
int timeInMicro;
int distanceInCm;

void setup() {
  //Set serial port baud rate to 9600 and pins to output
  Serial.begin(9600);
  pinMode(10, OUTPUT);
  pinMode(5, INPUT);
  pinMode(11, OUTPUT);
}

void loop() {
  //Functions needed to use and receive data from the HC-SR04
  digitalWrite(trig, LOW);
  delayMicroseconds(2);
  digitalWrite(trig, HIGH);
  delayMicroseconds(10);
  digitalWrite(trig, LOW);
  //PulseIn function records the time for ultrasonic waves to travel back to sensor
  timeInMicro = pulseIn(echo, HIGH);
  distanceInCm = ((timeInMicro/29)/2); //Speed conversion and division by two to get displacement
  //Switch case blocks for more tight code (functionality equivalent to many if statements)
  //Set different displacements to different voltages (results in different vibration amplitudes)
  switch (distanceInCm){
    case 0 ... 30:
    analogWrite(11, 225);
    break;
    case 31 ... 40:
    analogWrite(11, 200);
    break;
    case 41 ... 50:
    analogWrite(11, 175);
    break;
    default:
    analogWrite(11, 0);
    break;
  }
  delay(100);
}

Credits

Daniel Ramsgard

Daniel Ramsgard

18 projects • 15 followers
I'm a freshman at UNC-Chapel Hill from NY & love Arduino, electronics, PCB design, and smart devices. www.github.com/DanielRamsgard
Thanks to Alex Wulff.

Comments