Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay
Este es un artículo de acceso abierto distribuido bajo los términos de una licencia de uso y distribución CC BY-NC 4.0. Para ver
una copia de esta licencia visite http://creativecommons.org/licenses/by-nc/4.0/ 20
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 • ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay
Este es un artículo de acceso abierto distribuido bajo los términos de una licencia de uso y distribución CC BY-NC 4.0. Para ver
una copia de esta licencia visite http://creativecommons.org/licenses/by-nc/4.0/
Enhanced Mobility Aid for the Visually Impaired: An Ultrasonic Sensor and
Arduino-Based Smart Walking Stick
Ayuda de movilidad mejorada para personas con discapacidad visual: un sensor
ultrasónico y un bastón inteligente basado en Arduino
Auxílio de mobilidade aprimorado para deficientes visuais: um sensor ultrassônico
e uma bengala inteligente baseada em Arduino
Shahzor Memon
1
(*), Mirza Muhammad Aamir
2
, Sadiq Ur Rehman
3
, Halar Mustafa
4
, Muhammad Shakir Sheikh
5
Recibido: 08/08/2024 Aceptado: 29/10/2024
Summary. - This study introduces a smart walking stick for the blind and visually impaired that uses ultrasonic sensors
with Arduino and Raspberry Pi. The World Health Organization estimates that 37 million people worldwide are blind.
People who are blind or visually impaired frequently rely on assistance from outside sources, which may come in the
form of humans, dogs that have been trained, or specialized technological gadgets that play the role of decision-making
support systems. We were then inspired to create a smart walking stick in order to get around these restrictions. In order
to achieve this, we fitted the stick with ultrasonic sensors at strategic locations that activated the buzzer sound while
giving the user information about the surroundings. Our proposal was for a low-cost, lightweight device that uses a
microcontroller to interpret signals and emit beeps to notify the visually impaired individual of any obstacles, water, or
dark places. The system consists of obstacle and moisture detection sensors that receive, process, and send signals to
the alarm system, which then warns the user to take action. The system was conceived and programmed in C, tested
for accuracy, and checked by a visually challenged individual. Our technology can identify obstructions within around
2 meters of the user.
Keywords: Ultrasonic sensor, Arduino ATmega328 Microcontroller, Mobility aid, Visually Impaired Person, Alarm
system
(*) Corresponding author.
1
M.E. Assistant Professor, FEST, Hamdard University (Pakistan), Shahzor.memon@hamdard.edu.pk,
ORCID iD: https://orcid.org/0009-0008-8867-7070
2
M.E. Assistant Executive Engineer, Pakistan Water & Power Development Authority (Pakistan), engr.aamir2@gmail.com,
ORCID iD: https://orcid.org/0009-0009-5304-1950
3
Ph.D., Assistant Professor, FEST, Hamdard University (Pakistan), sadiq.rehman@hamdard.edu.pk,
ORCID iD: https://orcid.org/0000-0002-6308-450X
4
M.E, Lecturer, FEST, Hamdard University (Pakistan), halar.mustafa@hamdard.edu.pk, ORCID iD: https://orcid.org/0000-0002-7021-5010
5
Lecturer, Szabist University (Pakistan), muhammad.shakir@szabist.edu.pk, ORCID iD: https://orcid.org/0009-0005-5902-6461
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 21
Resumen. - Este estudio presenta un bastón inteligente para personas ciegas o con problemas de visión que utiliza
sensores ultrasónicos con Arduino y Raspberry Pi. La Organización Mundial de la Salud estima que 37 millones de
personas en todo el mundo son ciegas. Las personas ciegas o con problemas de visión a menudo dependen de la ayuda
de fuentes externas, que pueden venir en forma de humanos, perros que han sido entrenados o dispositivos tecnológicos
especializados que desempeñan el papel de sistemas de apoyo a la toma de decisiones. Entonces nos inspiramos para
crear un bastón inteligente para superar estas restricciones. Para lograrlo, equipamos el bastón con sensores
ultrasónicos en lugares estratégicos que activaban el sonido del timbre mientras brindaban al usuario información
sobre los alrededores. Nuestra propuesta era un dispositivo liviano y de bajo costo que utiliza un microcontrolador
para interpretar señales y emitir pitidos para notificar a la persona con problemas de visión sobre cualquier obstáculo,
agua o lugares oscuros. El sistema consta de sensores de detección de obstáculos y humedad que reciben, procesan y
envían señales al sistema de alarma, que luego advierte al usuario para que tome medidas. El sistema fue concebido
y programado en C, se probó su precisión y fue revisado por una persona con discapacidad visual. Nuestra tecnología
puede identificar obstrucciones a unos 2 metros del usuario.
Palabras clave: Sensor ultrasónico, Microcontrolador Arduino ATmega328, Ayuda a la movilidad, Persona con
discapacidad visual, Sistema de alarmas
Resumo. - Este estudo apresenta uma bengala inteligente para cegos e com deficiência visual que utiliza sensores
ultrassónicos com Arduino e Raspberry Pi. A Organização Mundial de Saúde estima que 37 milhões de pessoas em
todo o mundo são cegas. As pessoas cegas ou com deficiência visual dependem frequentemente da assistência de fontes
externas, que pode surgir sob a forma de seres humanos, cães treinados ou dispositivos tecnológicos especializados
que desempenham o papel de sistemas de apoio à tomada de decisões. Fomos então inspirados a criar uma bengala
inteligente para contornar estas restrições. Para tal, equipámos o stick com sensores ultrassónicos em locais
estratégicos que ativavam o som da campainha e davam ao utilizador informações sobre o meio envolvente. A nossa
proposta foi um dispositivo leve e de baixo custo que utiliza um microcontrolador para interpretar sinais e emitir sinais
sonoros para avisar o deficiente visual de qualquer obstáculo, água ou local escuro. O sistema é constituído por
sensores de deteção de obstáculos e humidade que recebem, processam e enviam sinais para o sistema de alarme, que
avisa o utilizador para agir. O sistema foi concebido e programado em C, testado quanto à sua precisão e verificado
por um deficiente visual. A nossa tecnologia pode identificar obstruções a cerca de 2 metros do utilizador.
Palavras-chave: Sensor ultrassónico, microcontrolador Arduino ATmega328, ajuda à mobilidade, pessoa com
deficiência visual, Sistema de alarme
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 22
1. Introduction. - Vision is the most vital part of human physiology as 83% of information humans get from the
environment is via sight. According to a report by the WHO (World Health Organization) estimates that in the world
about 1% of the human population is visually impaired. There are over 2.2 billion individuals with a vision impairment
of some description across the globe among them about 10% are fully blind (or moderate to severe) distance vision
impairment and 90% (about 63 million people) with low vision. In 2015, a survey was conducted by the Royal National
Institute of Blind People (RNIB) (Wilson, 2015) including approximately 500 visually impaired persons for whom a
collision with an obstacle over three months was reported.
Figure I: A Pie Chart Showing Blind People Across the World.
The most traditional and oldest mobility aids for individuals with vision impairments are the walking cane (sometimes
referred to as a white cane or stick) and guide dogs. The most significant flaws of these aids are the required skills and
training phase, the range of motion, and the limited information supplied. The rapid growth of current technology, both
in hardware and software, has created the opportunity to deliver intelligent navigation capabilities. Recently, various
Electronic Travel Aids (ETA) have been designed and developed to assist the blind in navigating independently and
safely. Furthermore, the most expensive technical options for assisting blind people in navigating freely have only
recently been introduced. While these systems are suitable for outdoor navigation due to the need for line-of-sight
access to satellites, they still require additional components to improve resolution and proximity detection in order to
prevent blind people from colliding with other objects and thus endangering their lives. In contrast to other technologies,
many blind guide systems use ultrasound because it is resistant to surrounding noise. Another reason why ultrasonic
technology is widely used is that it is relatively inexpensive. Additionally, ultrasound emitters and detectors are tiny
enough to be transported without the need for complicated electronics. In the related research [16], The project
developed a low-cost mobility aid using ultrasonic sensors for obstacle detection, providing alerts through LEDs,
buzzers, and vibrating motors. It effectively detects objects within 2 to 50 cm, enhancing mobility for visually impaired
individuals. The research article [17] presents a voice-based navigation system utilizing ultrasonic sensors for obstacle
detection, enhancing mobility for visually impaired individuals. This system integrates real-time voice assistance,
ensuring safer travel by alerting users to obstacles and slippery surfaces. In [18] the research presents a mobility stick
utilizing ultrasonic sensors and haptic motors to assist visually impaired individuals. This system enhances navigation
by providing haptic feedback, while also monitoring movement and potential falls, integrating data through the Internet
of Things. In research [19], The Smart Cane is used that incorporates an ultrasonic sensor for obstacle detection,
enhancing mobility for visually impaired individuals. This feature alerts users to nearby obstacles, significantly
improving their safety and independence while navigating their environment.
It is difficult for blind people to move or live without help. So, blind people generally use a white cane to guide them
during moving. Although it can be helpful, it doesn’t guarantee saving blind people from risks. These conventional
ways can be used for low-level obstacle detection only.
The goal of this study is to develop a theoretical model and a system idea for providing a smart electronic aid to blind
individuals. In comparison to traditional navigation systems, blind aid systems can be equipped with depth
measurement circuitry, which is useful for sensing the depth when dealing with stairs, and a recorded message is played
to notify the obstacle alert. These various units are described in order to create a "smart stick" concept.
2. Motivation. - The proposed system offers a range of features designed to enhance usability, safety, and accessibility
for visually impaired users. First, the system integrates lightweight components into the stick, making it highly user-
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 23
friendly and easy to carry. It provides a fast response to nearby obstacles within a range of up to 2 meters, thanks to the
inclusion of ultrasonic sensors. Training for this product is minimal and cost-effective, as it only requires a simple
description of the stick's components and their usage positions, unlike the extensive training required for other assistive
devices.
For seamless communication, the stick transmits information to the user via earphones. Instead of relying on vague
sounds that may cause confusion or social discomfort, the earphones deliver clear, spoken warning messages, helping
alert the user without drawing undue attention. Additionally, to improve the independence and ease of use for blind
individuals, the stick includes a clap sensor that assists in locating it if misplaced, providing added convenience.
The ultrasonic sensor is crucial for detecting obstacles, pits, and staircases, and it plays a vital role in generating spoken
warnings whenever an obstacle is detected. This feature enables the user to alter their path in time to avoid hazards. A
water sensor is also included to detect water on the floor, offering timely alerts to help the user avoid potential slips.
Moreover, a fire sensor enhances safety by alerting the user to the presence of fire, while a light sensor increases
nighttime visibility. This sensor helps notify others in the vicinity of the blind person’s presence, encouraging them to
make way and allowing the user to walk with ease.
The designed smart stick detects obstacles and can recognize and speak aloud the upward and downward stairs or
puddles as shown in Figure 2.
Figure II: Smart stick detects the obstacles in front of a blind person.
3. Experimental Setup and Procedure. - Different sensors are interfaced with Raspberry Pi and after the process, it
gives feedback to blind persons by using multi-recorded warning messages if any hurdle is detected within the set
range. Figure III Shows the Complete Block Diagram of the Project.
Figure III. System Block Diagram
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 24
4. Details of Component. -
4.1 Power Supply. - A power supply is an electrical device that supplies electric power to an electrical load. The
primary function of a power supply is to convert electric current from a source to the correct voltage, current, and
frequency to power the load.
The basic electrical specification of a power supply suitable for a Raspberry Pi is that it supplies a regulated 5V DC
(direct current) and can supply a current of up to 700mA. It must have a micro USB plug on the end of the lead.
4.2 Ultrasonic Sensor HC SR04. -
Specifications
Power Supply: 5V DC
Operating Current: 15mA
Measuring Range: 2 cm to 400 cm (0.78 inches to 157 inches)
Resolution: 0.3 cm
Measuring Angle: ~15 degrees
Ultrasonic Frequency: 40 kHz
Accuracy: ± 3mm
The HC-SR04 sensor uses sonar to measure the distance to an object. It sends out a high-frequency sound wave and
measures the time the echo returns after bouncing off an object. Figure IV Shows the Different angles for staircase
detection. The distance can be calculated using the following expression:
Distance = Time × Speed of Sound
2
Figure IV. An ultrasonic sensor used for obstacle detection and staircase detection.
4.3 Smoke Sensor (MQ-2). - The MQ-2 smoke sensor is a popular gas sensor for detecting smoke, LPG, butane,
methane, alcohol, hydrogen, and other combustible gases. It’s commonly used in gas leak detection systems in homes,
industries, offices, and simple air quality monitoring applications.
The MQ-2 sensor uses a small heating element to detect gases. When gases like LPG, smoke, or methane are present,
the sensor's resistance changes, causing a voltage drop that can be measured. The sensor’s analog output can be read
directly or converted to a digital signal using an analog-to-digital converter (ADC). The smoke sensor has a built-in
potentiometer that allows you to adjust the sensor's digital output (D0) threshold. This threshold sets the value above
which the digital pin will output a HIGH signal.
The output can be an analog signal (A0) that can be read with an analog input or a digital output (D0) that can be read
with a digital input.
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 25
We will wire the MQ-2 to an Arduino so that the Arduino can read the amount of voltage output by the sensor and
sound a buzzer if the sensor outputs a voltage above a certain threshold.
Specifications
Operating Voltage: 5V DC
Power Consumption: Less than 150 mA
Detection Range: 300-10,000 ppm (parts per million)
Output: Analog and digital (threshold adjustable)
Preheat Time: About 20 seconds (for stable output)
4.4 Water Sensing on Floor (HW-482). - A water sensor is used to detect the presence of water and provide an alert
in time for path change to avoid slipping. A typical design is a small cable or device that lies flat on a floor and depends
on the electrical conductivity of water to decrease the resistance across two contacts.
HW-482, which consists of exposed metal traces or probes on a PCB. these probes are fitted at the bottom of the stick
to sense obstacles like water pits, when water contacts these traces, it bridges the gap between them, allowing current
to flow and creating a signal that can be read by a microcontroller. This module typically has both analog and digital
output options:
Analog Output (AO): Provides a variable voltage corresponding to the amount of water detected.
Digital Output (DO): Provides a simple HIGH or LOW signal when water is detected, with a threshold adjustable via
a potentiometer.
Specifications:
Operating Voltage: 3.3V - 5V DC
Output Type:
Digital Output (DO): High/Low signal, adjustable via onboard potentiometer.
Analog Output (AO): Analog voltage signal that varies based on water presence and coverage on the sensor probes.
Current Consumption: Typically, around 20 mA
4.5 Light/Dark Sensing (LDR). - A light sensor is useful at night or dark. When there is darkness, it aware the people
in the surrounding area that a blind person is walking and allows space so that the blind person can walk easily.
Light-dependent resistors, LDRs, or photoresistors are generally used in circuits where it is necessary to detect the
existence or the level of light. They can be expressed by a variety of names from a light-dependent resistor, LDR,
photoresistor, photocell, or photoconductor. Even though other devices such as photodiodes or phototransistors can
also be used, LDRs or photoresistors are particularly appropriate electronic components to use. They give large changes
in resistance to changes in light level.
Considering their low cost, ease of manufacture, and ease of use LDRs have been used in a variety of different
applications.
Specifications:
Operating Voltage: 3.3V - 5V DC
Output Type:
Digital Output (DO): HIGH/LOW output, with an adjustable threshold via a potentiometer.
Analog Output (AO): Variable voltage that corresponds to the light intensity.
Current Consumption: Typically, around 20 mA
Sensitivity Adjustment: Onboard potentiometer for setting threshold levels for digital output
5. Experimental Results and Discussion. - Hardware consists of Raspberry Pi, Arduino Nano, and other components
like ultrasonic sensor, smoke sensor, clap sensor, LDR sensor, and water sensor. Hardware connections can be seen
below in the figures. In this project ultrasonic sensor is used for obstacle and staircase detection and smoke sensor is
used to detect fire and clap sensor is used for stick finding and LDR sensor is used to detect lightness/darkness, and a
S. Memon, M. M. Aamir, S. Ur Rehman, H. Mustafa, M. Shakir Sheikh
Memoria Investigaciones en Ingeniería, núm. 28 (2025). pp. 20-31
https://doi.org/10.36561/ING.28.3
ISSN 2301-1092 ISSN (en línea) 2301-1106 Universidad de Montevideo, Uruguay 26
water sensor is used to detect the water on floor. Figure V demonstrates the complete experimental setup of a blind
person stick.
Figure V. Experimental Setup.
The ultrasonic sensor has four output formats: pulse width output, analog voltage output, and serial digital output. The
pulse width (PW) representation of the range provides information on the distance between the sensor tip and the
obstruction. As a result, the distance value can be estimated with a scale factor of 147uS per inch. The sensor readings
fluctuate depending on the topography, in our example, the floor or rising or descending staircases, as seen in Figure
VI.
Figure VI. Ultrasonic Sensor Results.