Arduino Based Hand Gesture Control of Computer
Arduino Based Hand Gesture Control of Computer
C. Problem Formulation
In this paper, we have implemented a simple
Arduino based hand gesture controlled
computer where we can control few functions
like: scrolling up in web pages, scrolling down
in web pages, play or pause a video, previous
and next video, and shift between tasks.
III. IMPLEMENTATION
A. Components Required
• Arduino UNO x 1
• Ultrasonic
Sensors x 2
• USB Cable (for Arduino)
• Few Connecting Wires
• A Laptop with internet connection
B. Detailed Modeling
The design of the circuit is too simple, but the setup of the components is very significant. The
Trigger and Echo Pins of the first Ultrasonic Sensor, which is placed on the left of the screen,
are connected to Pins 11 and 10 of the Arduino. For the second Ultrasonic Sensor, the Trigger
and Echo Pins are connected to Pins 6 and 5 of the Arduino[4]. Now, for the placement of the
Sensors, place both the Ultrasonic Sensors on top of the Laptop screen, one at the left end and
the other at right. We can use double sided tape to hold the sensors onto the screen.
Figure.2. View of work model
Now, the Arduino is placed on the back of the laptop screen. Then, connect the wires from
Arduino to Trigger and Echo Pins of the individual sensors. Now, we are ready for
programming the Arduino. Figure 2 shows the view of the model.
D. Working Principle
Gesture controlling is based on specifying
hand position from the ultrasonic sensor. For
processing the raw data, a micro- controller is
essential; for that we use Arduino UNO board.
Via USB connection the micro-controller
transfers the processed and calculated distance
value which is provided by the sensor. The
data which is send by the sensor is processed in
the software in PC where all the calculations
are performed and the data is matched with the
predefined conditions (gesture resolution). In
this model two ultrasonic sensors are used to
detect hand position and are connected to the Arduino board as shown in the figure . As we
know ultrasonic sensor continuously emits sound and it gets reflected back from user’s hand
as shown in the figure . The distance between the sounds is send and detection of reflect back
sound wave is calculated by the micro- controller[4].
This model has following hardware components; these are two ultrasonic sensors (HCSR-04)
and Arduino UNO board. System software includes Arduino IDE and python GUI. To run this
model, the python code should run on python GUI first. It matches gestures with predefined
conditions and prints on python output shell.
Figure.3.a Ultrasonic sensor working diagram
The gesture recognition using ultrasonic waves is found to be accurate and reliable. The
methodology for testing comprised of movement of single hand or multiple hands. Single hand
movement was detected accurately. When there are multiple hands, the movement is not
detected accurately. The detection did not take into account the background area. The noise in
human audible range did not affect the detection. In our work, we have implemented Arduino
based hand gesture control of our computer, where few hand gestures made in front of the
computer will perform defined tasks in the computer without using mouse or keyboard.
Gesture recognition is useful in processing information from human beings that is not conveyed
through speech or other methods. This technology is useful in following areas:
a. Immersive gaming technology: Gestures may be used to control interactions with the gaming
console and give a more interactive and immersive experience.
b. Control through facial gestures: This technology can be used for applications with even more
precision like recognizing face gestures. This will be helpful in situations when users cannot use
other input interfaces like mouse or keyboard or even hand gestures. This would be additionally
helpful in applications like mood sensing.
c. Alternative computer interface: Strong gesture recognition can be used to accomplish
common tasks performed traditionally with the current input devices such as mouse or
keyboard. Gestures, along with other methodologies like speech recognition can be made to
control the electronic appliances and gadgets completely or with little need to type or touch.
d. Remote control: By using gesture recognition, it is possible to use hand alone as a remote
control for various devices. The signal must not only indicate the desired response, but also
which device to be controlled.
e. Home Appliances control: It is possible to extend the gesture recognition technology to
control the household appliances.
This report presents one of the solutions among various others, for operating a computer using
hand gestures. It is one of the easiest ways of interaction between human and computer. It is a
cost effective model which is only based on Arduino UNO and ultrasonic sensor. The python
IDE allows a seamless integration with Arduino UNO in order to achieve different processing
and controlling method for creating new gesture control solution. Additional gesture recognition
opportunities exist in medical applications where, for health and safety reasons, a nurse or
doctor may not be able to touch a display or track-pad but still needs to control a system. In
other cases, the medical professional may not be within reach of the display yet still needs to
manipulate the content being shown on the display[1]. Appropriate gestures, such as hand
swipes or using a finger as a virtual mouse, are a safer and faster way to control the device.