Mini Project
Mini Project
The proposed system “Smart Glove For Blind” consists of Arduino UNO, Ultrasonic module,
WIFI and GPS module, heart rate module, fire sensor, panic button, power supply, buzzer and
vibrator etc. The project model comprises of the user's right gloves. Here we have used HC
SR04 Ultrasonic sensor to detect obstacle in front of the person within the range of 2cm-
400cm. The Ultrasonic sensor is a transducer and is a combination of one transmitter and
receiver paired as transceiver. The ultrasonic sensor delivers distance data to an Arduino,
which analyses it before ordering vibration motors and a buzzer to create vibration and sound.
When the object is close to the user, Arduino sends vibrate motor instruction to provide
1
continuous vibration to the user. A flame sensor is a gadget that detects the presence of a fire
or any other strong light source. We can detect infrared light up to a distance of 100cm with
this sensor, which has a detection angle of 60 degrees.
[2] Design of the Smart Glove to Aid the Visually Impaired, International Journal of
Advanced Research in Science & Technology (IJARST), Volume 5, Issue 7, May 2020 by
Pavan L P, Vinayaka S K, Chetan S, Yashavanth M R, Asha R.
The proposed system is designed to aid the blind in locating the desired object. The whole
system functions as an independent stand-alone unit. The system is analyzed thoroughly in
order to minimize power consumption as the system is running on battery power. The
standalone unit comprises of the Raspberry Pi which has a Universal Serial Bus (USB)
camera with a built-in microphone. The whole process of the proposed solution starts with the
user vocally communicating to the system about the object being looked for. The audio input
from the user received by the microphone connected to the Raspberry Pi is converted into
text, using the “pyttsx3” – speech to text module for python. The name of the object needed
by the user is extracted from the vocal command using keyword extraction technique. This
extracted keyword is passed to the object detection algorithm running DNN. The DNN used
for the smart glove is implemented using the Caffe framework. The DNN running on
Raspberry Pi processes the real-time video and locates the required object and tags it. The
object tracking algorithm then takes control to improve the frame rate. The object, once
located, must always remain in the center of the frame relative to the glove.
[3] An Affordable Hand-glove for the Blind using Ultrasonic Sensors by Abhishek Kanal,
Praja Chavan.
The system presents the implementation of an assistive glove for the blind. The basis of this
glove is a technology that helps the visually impaired in detecting any obstacles that may
appear in their path within 100 cm in any direction of the glove. When the user of this glove
encounters an object within 100 cm, the glove alerts the user with a loud beeping sound and
heavy vibrations. One of the key USPs of this glove is its extremely low manufacturing cost
as against the technologies used in other gloves which cost almost ten times of what the glove
presented in this paper does. The technology used in this glove involves heavy
2
communications between the Arduino UNO and Ultrasonic Sensors like the HC-SR04. This
glove can easily be marketed as a social impact project considering its ease of use and a very
competitive price.
*Object Detection: Implement sensors that can detect objects within a specified range and
provide accurate distance measurements.
3
*Object Identification: Utilize camera modules and image processing techniques to identify
common objects and provide detailed information to the user.
*System Integration: Develop a cohesive system that combines sensor data and image
processing results to deliver real-time feedback.
*User Feedback: Create an intuitive feedback mechanism, such as auditory signals or haptic
feedback, to convey information about detected and identified objects to the user.
*Wearable Design: Ensure the device is lightweight, compact, and comfortable to wear as a
*Object Detection: Implement efficient algorithms for detecting objects using both ultrasonic
sensor data (for proximity) and camera images (for detailed identification).
*User Interaction: Ensure user-friendly interaction through simple controls or interfaces for
activating, configuring, and receiving feedback from the glove.
*Wearable Design: Optimize the glove's design for comfort, mobility, and usability in
different environments and weather conditions
*Battery Life: Efficient power management to prolong battery life, ensuring the device
remains operational for extended periods without frequent recharging.
4
*User Feedback: Gather feedback from visually impaired individuals and incorporate
improvements based on their experiences and suggestions.
*Enhanced Safety and Independence: Provide visually impaired individuals with reliable
realtime information about their surroundings, enabling safer and more independent
navigation.
Power Pins:
5
1.Vin: The input voltage to the Arduino board when using an external power source (6-20V).
You can supply voltage through this pin or the DC power jack.
2.5V: The regulated 5V output from the regulator on the board. You can draw power from this
pin to power other components.
3.3V3: A 3.3V supply generated by the on-board regulator. The maximum current draw is
50mA.
4.GND: Ground pins. There are several ground pins on the board.
Analog Pins
1. A0 - A5: These pins can be used as Analog inputs (A0 to A5). They can also be used as
digital I/O. Each pin provides 10 bits of resolution (i.e., 1024 different values).
3.D2 - D13: These pins can be used as digital input or output using pin Mode (), Digital Write
(), and digital Read () functions.
2.D3, D5, D6, D9, D10, D11 (PWM): Provide 8-bit PWM output with the Analog Write ()
function.
3.D10 - D13 (SPI): Used for SPI communication. These pins support SPI communication
using the SPI library.
4.A4 (SDA) and A5 (SCL): Used for TWI (I2C) communication using the Wire library.
6
Communication Pins:
2.D10 (SS), D11 (MOSI), D12 (MISO), and D13 (SCK): Used for SPI communication.
Other Pins
1.REF: Reference voltage for the Analog inputs. Used with Analog Reference.
2.Reset: Can be used to reset the microcontroller. Typically connected to a push button that
allows you to easily reset the board.
* Control interface is accessible via pin header, easy to be integrated and embedded into user
products.
7
4.2.3 BUZZER
The 7805- voltage regulator is a type of linear voltage regulator that is commonly used in
electronic circuits. It is a three-terminal device that provides a fixed output voltage of 5V and
can handle an input voltage range of 7V to 35V.
The 7805 -voltage regulator is widely used due to its simplicity, stability, and affordability. It
uses an internal voltage reference, an error amplifier, and a series pass transistor to maintain a
constant output voltage. The 7805- voltage regulator is also known for its low dropout
voltage, thermal overload protection, and s circuit protection. Some common applications of
the 7805voltage regulator include powering microcontrollers and other small electronic
devices, voltage stabilization in power supplies, voltage regulation in battery-powered
devices, and voltage conversion in automotive systems.
8
is that it can detect not only the distance between itself to a solid object, it can also detect
liquids.
To calculate the range of an ultrasonic sensor, you can use the formula:
•d = (v * t)/2
•To measure the distance the sound has travelled we use the formula: Distance = (Time x
SpeedOfSound) / 2. The "2" is in the formula because the sound has to travel back and forth.
First the sound travels away from the sensor, and then it bounces off of a surface and returns
back.
9
CHAPTER 5 COMPONENT SPECIFICATIONS
10
5.2 ULRASONIC SENSOR (HC-SR04)
11
Fig 5.2 HC-SR04
•Dimension: 27*40.5*4.5(±0.2)mm/1.06*1.59*0.18”
•Wi-Fi: 802.11b/g/n/e/I
•IO port: 9
GRAYSCALE
12
•Transmit Power: 802.11b: 17±2 dBm (@11Mbps);
•Turn on the flash and adjust the brightness to the maximum: 310mA@5V
•Deep-sleep: the lowest power consumption can reach 6mA@5V and Modern -sleep: up to
20mA@5V
•Light-sleep: up to 6.7mA@5V
•Security: WPA/WPA2/WPA2-Enterprise/WPS
•Weight: 10g
13
Fig 5.3 ESP 32-CAM
14
5.5 VOLTAGE REGULATOR
15
Fig 6.1 Flowchart of Proposed System
16
CHAPTER 7
7.1 CIRCUIT DIAGRAM
• Components Needed:
-ESP 32 CAM
-for feedback
17
Battery/power source for portable use
-Connecting wires
• Circuit Diagram:
1.Power Connections:
-Connect the VCC (5V or 3.3V) and GND pins of both the ultrasonic sensor and ESP32CAM
module to the appropriate power sources. Ensure they share a common ground.
-GND to ground
3.ESP32-CAM Module:
-GND to ground
-Ensure all necessary connections for programming and communication (TX, RX, etc.)
-Connect vibration motor(s) to GPIO pins on ESP32 that will be used for feedback (e.g.,
GPIO 13). Use a transistor or MOSFET if the motor requires more current than the ESP32
can supply directly.
5.Optional Components:
-If using additional indicators (LEDs, displays), connect them to suitable GPIO pins on the
18
• Software Setup:
1.Programming ESP32:
-Install necessary libraries for ESP32-CAM and HC-SR04 (if not already included).
-Write code to initialize sensors, read distance from ultrasonic sensor, and provide feedback
through vibration motors or other indicators based on distance thresholds.
-Utilize ESP32-CAM capabilities to capture images (if desired) for further processing or
debugging.
2.Distance Calculation:
This involves sending a pulse, measuring the time until the echo returns, and converting this
to a distance value in centi-meters or inches.
3.Feedback Logic:
-Define thresholds for distance (e.g., if an obstacle is within 1 meter, activate vibration
motor).
-If integrating wireless communication (Wi-Fi), configure ESP32 to send data to a remote
server or mobile device for further processing or logging.
1.Testing:
-Test the gloves in various environments to verify distance measurement accuracy and
reliability of feedback mechanisms.
2.Calibration:
19
-Fine-tune distance thresholds and feedback patterns based on user feedback and practical
testing scenarios.
• Safety Considerations:
-Ensure components are securely mounted within the gloves to prevent accidental
disconnection or damage.
-Use suitable power sources and ensure all electrical connections are insulated to prevent
shorts or shocks.
By following these steps and considerations, you can create a functional circuit for gloves
designed to assist blind individuals by providing real-time feedback about obstacles using
ultrasonic sensing and ESP32-CAM capabilities. ESP32.
20
CHAPTER 8
RESULT
The results of the project on object detection and identification using ultrasonic sensors
demonstrated promising capabilities in real-time sensing and recognition tasks. Through
meticulous calibration and algorithm development, the system accurately detected objects
within the specified range, effectively differentiating between various targets based on their
reflective properties and distance from the sensor. The integration of machine learning models
enabled the system to classify objects with a high degree of accuracy, distinguishing between
predefined categories such as humans, obstacles, and vehicles. These results not only validate
the feasibility of employing ultrasonic sensors for reliable object detection but also highlight
the potential for practical applications in autonomous navigation, robotics, and security
systems. Moving forward, further enhancements in sensor fusion and algorithm optimization
could enhance the system's performance, making it even more robust and versatile in diverse
environments.
21
9.1 CONCLUSION
The Object Detection and Identification Glove for blind people represents a significant step
forward in assistive technology, aiming to enhance the independence and safety of visually
impaired individuals. Through the integration of advanced sensors, machine learning
algorithms, and haptic feedback, this innovative device allows users to perceive and identify
objects in their surroundings with greater accuracy and confidence.
The development and testing phases demonstrated the glove's effectiveness in recognizing a
variety of common objects, providing timely and comprehensible feedback to the user. While
there are still areas for improvement, such as optimizing the system's response time and
expanding the range of detectable objects, the current prototype shows promise for real-world
application.
Future work will focus on refining the design, enhancing user comfort, and conducting
extensive field tests to ensure the glove's reliability in diverse environments. The ultimate
goal is to make this technology widely accessible, offering a practical solution to the
everyday challenges faced by blind individuals.
Overall, the Object Detection and Identification Glove has the potential to significantly
improve the quality of life for blind people, fostering greater autonomy and confidence in
their daily activities.
22
2. Expanded Sensor Integration:
*3D Object Detection: Utilizing 3D cameras to enhance depth perception and improve the
glove's ability to identify objects in complex environments.
Customizable Feedback: Developing personalized haptic feedback patterns that users can
customize according to their preferences and needs.
* Auditory Feedback: Integrating audio cues or voice feedback for users who prefer
auditory information over tactile sensations.
Smartphone Integration: Enabling the glove to connect with smartphones to leverage existing
accessibility features and apps.
5. Ergonomic Design:
*Battery Life: Enhancing battery efficiency and exploring alternative power sources to extend
usage time without frequent recharging.
*Extensive Trials: Conducting extensive field tests with a diverse group of users to gather
comprehensive feedback and identify areas for improvement.
*Iterative Design: Utilizing user feedback to iteratively improve the glove's functionality,
design, and overall user experience.
7. Regulatory Approvals and Market Readiness:
23
*Certification and Compliance: Ensuring the glove meets all necessary regulatory standards
for medical devices and assistive technologies.
*Commercialization: Developing a strategy for mass production and distribution, making the
technology affordable and accessible to a broad audience. 8. Collaborative Efforts:
*Partnerships with Organizations: Collaborating with organizations for the blind and visually
impaired to align the product with the specific needs and challenges faced by these
communities.
*Academic and Industry Research: Partnering with academic institutions and tech companies
to stay at the forefront of technological advancements and integrate cutting-edge research into
the product.
By focusing on these areas, the Object Detection and Identification Glove can evolve into a
more sophisticated, reliable, and user-friendly assistive device, significantly improving the
quality of life for blind and visually impaired individuals.
24
REFERENCE
[1]Gharib, W& Nagib, G. (2019). “Smart Cane for Blinds”. In Proc. 9th Int. Conf. on AI
Applications (pp. 253-262).
[2]L. Gopan and Aarthi, R., “A vision based DCNN for identify bottle object in indoor
environment”, Lecture Notes in Computational Vision and Biomechanics, vol. 28, pp. 447-
456, 2018.
[3]Syed Tahir Hussain Rizvi, M. Junaid Asif and Husnain Ashfaq “Visual Impairment Aid
using Haptic and Sound Feedback,”2019 International Conference on Communication,
Computing and Digital Systems (C- CODE).
[4]Neven Saleh, Mostafa Farghaly, Eslam Elshaer, Amr Mo, Smart glove-based gestures
recognition system for Arabic sign language”, Published in: 2020 International Conference on
Innovative Trends in Communication and Computer Engineering (ITCE) on 8-9 Feb. 2020.
[5]K. D. Kumar and Thangavel, S. K., “Assisting visually challenged person in the library
environment”, Lecture Notes in Computational Vision and Biomechanics, vol. 28, pp. 722-
733, 2018.
25
APPENDIX
DETECTION
const int Trig Pin = 12; //Trigger connected to PIN 7
pinMode(TrigPin, OUTPUT);
digitalWrite(TrigPin,LOW);
delayMicroseconds(2);
digitalWrite(TrigPin,HIGH);
delayMicroseconds(5);
digitalWrite(TrigPin,LOW);
pinMode(EchoPin,INPUT);
duration=pulseIn(EchoPin, HIGH);
cm=
microsecondsToCentimeters(duration);
{
int d=map(cm, 50, 100, 500, 1000); digitalWrite(buz, HIGH);
26
Serial.print(cm);
{ return microseconds / 29 /
2;
IDENTIFICATION
WiFi.persistent(false);
WiFi.mode(WIFI_STA);
WiFi.begin(WIFI_SSID,WIFI_PASS);
WiFi.status()); delay(5000);
ESP.restart();
Serial.println("WiFi connected");
27
using namespace esp32cam; initialResolution
cfg.setPins(pins::AiThinker);
cfg.setResolution(initialResolution);
if (!ok) {
ESP.restart();
Serial.println("camera starting");
} void loop()
{ server.handleClien
t();
28
cvlib.object_detection import draw_bbo
import concurrent.futures
url='http://192.168.1.107/cam-hi.jpg' im=None
def run1():
imgnp=np.array(bytearray(img_resp.read()),dtype=np.uint8)
im = cv2.imdecode(imgnp,-1) cv2.imshow('live
transmission',im) key=cv2.waitKey(5)
if key==ord('q'):
break
cv2.destroyAllWindows() def
run2():
cv2.namedWindow("detection", cv2.WINDOW_AUTOSIZE)
imgnp=np.array(bytearray(img_resp.read()),dtype=np.uint8)
key==ord('q'):
break
cv2.destroyAllWindows() if
_name_ == '_main_':
29
print("started") with
concurrent.futures.ProcessPoolExecutor() as executer:
f1= executer.submit(run1)
f2= executer.submit(run2)
30
31