VL53L0X Smart Guide Stick Buzzer for Blind

by Arduino Circuit in Circuits > Arduino

280 Views, 1 Favorites, 0 Comments

VL53L0X Smart Guide Stick Buzzer for Blind

Arduino-Smart-Guide-Stick-Buzzer-for-Blind-using-VL53L0X-Sensor.jpg

In This Project, we are going to make VL53L0X Smart Guide Stick Buzzer for Blind People. Living with a visual disability is always challenging, and everyday tasks become even more difficult. People with visual disabilities often have difficulty navigating the environment and may face accidents because they cannot see obstacles in their way. To make their lives easier, we can create assistive devices to help them navigate and avoid obstacles. One such device is the Buzzer for Blind People, which uses an Arduino Nano and a VL53L0X distance sensor to detect obstacles and sound an alarm.

What You Will Need

Arduino Nano

VL53L0X distance sensor

Buzzer

Power Supply 5v

Jumper Wires

Breadboard

Circuit Diagram

VL53L0X-Smart-Guide-Stick-Buzzer-for-Blind-Arduino-Circuit.jpg

Circuit Construction

To build the VL53L0X Smart Guide Stick Buzzer for the Blind, connect the VCC and GND pins of the VL53L0X sensor to the 5V and GND pins of the Arduino Nano, respectively. Connect the SCL and SDA pins of the sensor to the A5 and A4 pins of the Arduino Nano, respectively. Connect one terminal of the buzzer to pin 11 of the Arduino Nano and the other terminal to GND.

Code Upload

//For more Projects: www.arduinocircuit.com
const int buzzer = 6; //buzzer to arduino pin 6
#include <Wire.h>
#include <VL53L0X.h>
int a;
int b;
VL53L0X sensor;
void setup(){
Serial.begin(9600);
Wire.begin();
sensor.init();
sensor.setTimeout(500);
pinMode(buzzer, OUTPUT); // Set buzzer – pin 6 as an output
sensor.startContinuous();
}
void loop(){
a=sensor.readRangeContinuousMillimeters();
Serial.println(a/10);
if(a<1200){
int b = map(a, 0, 1200, 0, 200);
tone(buzzer, 1000); // Send 1KHz sound signal…
delay(b);
noTone(buzzer); // Stop sound…
delay(b);
}
else{
noTone(buzzer);
}
}