You are on page 1of 6

2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

Arduino Controlled Gesture Robot


Dheeban S S, Harish D V, Hari Vignesh A, Prasanna M,
Assistant Professor, Manager, Sree HARI Hi- Engineer at Vedanta Research Assistant at
Department of EEE, Tech Automations, Resources Plc, Fraunhofer IPA Germany,
AAA College of Sivakasi, Hari.vignesh1205@gmail. prasanna.mseceee@gmail.
Engineering and harishdv@yahoo.co.in com com
Technology Sivakasi,
Dheeban5792@gmail.com
wireless transmission that can be used is Bluetooth,
Abstract--Nowadays robotic arm is used in various Infrared, Zig-bee and Wi-fi technology [6]. The Zig-bee
areas such as military, defense, medical surgeries, pick technology is used as it provides a wide range of control
and place function in industrial automation and it is inexpensive.
applications. Based on the gesture of human hands the
robotic arm moves and performs the task and this II. OPERATION OF ROBOTIC ARM
system replicates the actions of human hands. The arm The system consists of two sides one is the sending side
is very flexible and can be made suitable in places where and the other is the receiving side. The data is transmitted
the environment is not safe for humans like firework wirelessly through the Zig-bee protocol. The overall block
manufacturing industry, bomb diffusing etc. There are diagram of the system is shown in figure 1.
various techniques for controlling the robotic arm. This
paper deals with the accelerometer-based gesture A. Sending End
recognition for controlling the movements of the In the sending end, an accelerometer is used to detect
robotic arm through wireless control by using Zig- bee the movement of the robotic arm in 3-axis (x, y, z). This
protocol. accelerometer is fixed to the sensing glove which is to be
worn by the human [3]. The accelerometer gives three
Keywords – Zig-bee, PWM- Pulse Width Modulation, XBEE, analog values (x, y, z) based on the movement of the human
Arduino hand and the Arduino Uno board gets these readings as an
input.
I. INTRODUCTION Slide potentiometers are attached to the fingers of the
Robotics has created a great impact on our society in sensing glove which is also the input to the analog pins of
this modern era and so reserve its space in all fields like the Arduino board. The fingers are moved, the slide
Engineering, Medical, Space Science, and many more. potentiometer value changes and this can be used to
Robots can be used in places where human life is placed at recognize the actions of fingers
risk such operations are bomb diffusing, fireworks A Zig-bee module is attached through an Arduino
industry. The control of the robotic system can be done by shield to the Arduino board [7]. The data obtained from the
any type of controllers like micro-controllers, DSP slide potentiometer and the accelerometer are sent
controllers, Arduino controller, and FPGA controller. wirelessly through the Zig-bee module to another Zig-bee
Arduino controller is one of the easiest ways to control the module which is placed on the controller in the robotic arm.
system and it has more control ports when compared to the
micro-controllers and the DSP controller. Arduino is an B. Receiving End
open source platform which makes use of a microcontroller At the receiving end, the data is received through the
on the board. This microcontroller is programmed using the zig-bee module which is attached to the Arduino Mega via
Arduino programming language and the Arduino zig-bee shield [4]. The data is received from the zig-bee and
development environment. The projects with the Arduino the movements on the motors are made with the help of the
platform can be of stand-alone or they can communicate Arduino mega board. The actuation techniques are carried
with the software running on a computer (e.g. Flash, out with the help of servo motors. The PWM signal for the
Processing). The wireless transmission is used for servo motors is given through the PWM output pins of
transmitting the signals from one end to the other. The Arduino Mega. The PWM signal is given based on the
wireless communication is the transfer of information values received from zig-bee module attached to it. The
between two or more points that are not connected by an five micro servos of 1kg capacity are used to actuate the
electrical conductor. The most common wireless fingers of the robotic arm and the movement of the arms in
technology used is the radio. The wireless transmission the respective axis can be carried out with the help of three
must be reliable and it must have a very fast response. The 6 kg servo motors.

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.
2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

Figure 1: Block diagram of the gesture control robotic arm

III. DESIGN OF SENSING GLOVES


Slide potentiometer is attached to a PCB and was given A. Accelerometer (ADXL 335)
a common supply from Arduino board. The variable pin of The rate of acceleration due to gravity can be of either
each slide potentiometer is given to analog inputs of the static that is for tilt sensing applications or dynamic that is
Arduino board. The Accelerometer is directly attached to for motion, shock or vibration applications. Both the static
Arduino analog pins. Both the accelerometer and the slide and dynamic rate of acceleration can be measured with the
potentiometer are given 5V supply from the Arduino help of the accelerometer ADXL335. The accelerometer
boards. The PCB containing slide potentiometer and the consists of three capacitors CX, CY, and CZ that are used to
Arduino board is attached to the glove which can be worn determine the bandwidth of the accelerometer. These three
by the human. The finger tip of the glove is attached to the capacitors can be accessed via XOUT, YOUT, and ZOUT pins.
varying point of slide potentiometer. If the finger is moved, The functional block diagram of the accelerometer is given
it will pull the moving point of the slide potentiometer, in the below figure 3.
thereby sensing the motion of the fingers. Zigbee is
attached to the Arduino board which acts as a sender to
send the data of slide potentiometer and accelerometer. In-
order to obtain the gesture, the slide potentiometers and the
accelerometers are used which are shown in figure 2.

Figure 3: Functional diagram of Accelerometer (ADXL335)


Figure 2: Sensing gloves structure
The accelerometer ADXL335 is one of the 3-axis
acceleration measurement systems. The measurement
range for the ADXL335 is of ±3 g minimum. An open -

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.
2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

loop acceleration measurement architecture can be The sensing glove needs a controller to process all the
implemented as it contains a polysilicon surface-micro data from the accelerometer and the slide potentiometer. It
machined sensor and a signal conditioning circuitry [1]. The also needs to communicate with the zig-bee module so that
analog voltages from the accelerometer are proportional to the data can be wirelessly sent. The Arduino UNO board
the acceleration. The magnitude and the direction of the is used for this control function. The Arduino Uno is a
acceleration can be determined with the help of the phase- microcontroller-based control board which is used as a
sensitive demodulation techniques. The demodulator controller that can be programmed to execute a s et of
output is amplified and brought off-chip through a 32 kΩ instructions based on the inputs given to the board. The
resistor. The sensing of the three the X, Y, and Z axes is Uno board provides an open-source platform. An 8-
carried out by the single structure of The ADXL335. bit Atmel AVR microcontroller or a 32-bit Atmel ARM is
The accelerometer is calibrated to detect the position embedded into the Uno board. A boot loader allows
of the arm. The human hand movement is consolidated at uploading of the programs into the microcontroller
three main positions. They are the upright position, down memory without needing a chip (device) programmer and
position and slant position [2]. The values of accelerometer this boot loader is pre-programmed. The Arduino Uno has
output at every position is tabulated in the below table. 14 digital input/output pins wherein 6 used as PWM
outputs and 6 analog inputs, 16 MHz ceramic resonator, a
TABLE I: CALIBRATED READINGS OF USB connection, a power jack, an ICSP header, a reset
ACCELEROMETER
button. The Arduino Uno board make use of the serial
POSITION X Y Z
communication.
UPRIGHT 350 420 350 The Arduino software includes a serial monitor for the
SLANT 400 350 350 serial communication. This serial monitor allows the
DOWN 450 300 350 simple textual data to be sent to and from the Arduino
board. The RX and TX LEDs on the board will flash when
B. Sliding Potentiometer data is being transmitted via the USB-to-serial chip and
A linear variable resistor with a total resistance of 10k USB connection to the computer. A Software Serial library
is taken as a slide potentiometer. As it is a potentiometer allows for serial communication on any of the Uno's digital
the output is a variable voltage which can be generated by pins. The ATmega328 on the Arduino Uno comes pre-
varying the position of the lever. The output voltage will burned with a boot loader with which a new code can be
range from 0 V to the VCC by varying the lever from one uploaded to it without the use of an external hardware
side to the other side. The potentiometer has four grove programmer. The protocol STK500 is used for the
pins, three of them are connected to VCC, GND and the communication purpose. The connection diagram of the
ADC IN on the slide, while the remaining pin is connected Arduino and the accelerometer is given in the below figure
to a green indicator LED. The potentiometer change can be 5.
indicated by an indicator. The model of the slide
potentiometer is given in the below figure.

Figure 4: Model of the slide potentiometer


The slide potentiometer is calibrated according to the Figure 5: Circuit Connection diagram of sensing glove
position of the fingers. The values of the accelerometer
output at every position is given in the below table. The flow chart for the control of the glove circuit is
given below in figure 6.
TABLE II: READINGS OF THE SLIDE
POTENTIOMETER
S.No. LENGTH VALUES
1 1.00 0.59
2 2.00 1.14
3 3.00 2.5
4 4.00 3.2
5 5.00 4.6

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.
2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

constructed by thick aluminum plates. The aluminum


plates where used as they are light weight in construction
and it supports the weight of the palm and the fingers. The
fingers move such that the entire hand can pick an object.
So, the weight of the finger should be as light as possible
and also the structure should be rigid and not fragile. The
springs were used for the structure of the fingers. At the tip
of each finger, the metal strings were attached so that the
fingers can be actuated. The strings are then connected to
the shaft of the servo motors which are placed in the body
of the arm. To cover the entire hand and to have an aesthetic
look, the entire fingers and palm are covered with the
gloves. The major operations of the arm are
• up and down movement of the arm
• finger movement of the hand
(i) Actuation for the up and down movement of
the arm is given by servo motors and its shafts. The shaft
of the servo is attached directly to the body of the arm.
(ii) The strings from the fingers are directly
attached to the servo shaft and so when the shaft of the
servo is moved, the finger starts to move in a definite
position.
The precise control of the velocity, acceleration and the
angular position can be obtained with the help of a rotatory
actuator. One of the most widely used rotatory actuators is
the servomotor. The servomotor is a position feedback
system that is coupled to a suitable motor. A suitable
controller is required for the proper control of the position
feedback. The servomotors make use of the angular
position which is sensed using a sensor at the time of
operation. Robotics, CNC machinery or automated
manufacturing are some of the applications of the
servomotors.
A closed-loop servomechanism that uses position
feedback to control its motion and final position is used in
the servomotors. The input signal for the position
command can either be an analog or a digital signal. The
position and the speed feedback can be provided by an
encoder and this is paired with the motor. The measured
position of the output is compared to the command
position, the external input to the controller. The variation
in the output position generates an error signal and this
causes the motor to rotate in either direction. As the
positions approach, the error signal reduces to zero and the
motor stops. This type of servomotor is not widely used in
industrial motion control, but it forms the basis for radio-
controlled models. The servomotors can be enhanced with
a PID control algorithm for more precise control with less
overshooting. In general, the radio-controlled models
employ remote control devices like RC servos. These RC
servos provide actuation for the various mechanical
Figure 6: Flow chart for control of sensing gloves systems such as the steering of a car, the control surfaces
on a plane, or the rudder of a boat. A mechanically coupled
IV.DESIGN OF ROBOTIC ARM electric motor and a potentiometer form an RC servomotor.
The construction of the mechanical assembly consisted
of the design of the arm and the design of the fingers. The
arm structure of metal plate as its base. A set of two clamps
were fixed at the two sides of the arm for the support. The
upper end of the clamps was fitted with the servo motors.
The servo motors are responsible for the up and down
movement of the arm. The entire body of the arm was

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.
2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

Figure 7: Mechanism of servo actuation

The servo receives the pulse-width modulation (PWM)


signal from a controller. The width of the pulse is translated
into a position. After receiving the command to rotate, the
motor is powered until the potentiometer reaches the value
corresponding to the commanded position.
The control technique of the arm is implemented by the
Arduino mega board. The servos which are used for the up
and down motion and the servos which are used for finger
motions are connected to this mega board [1]. The Mega
board gives the PWM inputs to the servo. The Arduino
Mega 2560 is a microcontroller is used for the control
function which is compatible with most shields. It has 16
MHz crystal oscillator, 54 digital input/output pins where
15 used as PWM outputs and 16 analog inputs. The
Arduino Mega 2560 uses serial communication. Similar to
the Uno board the ATmega2560 also comes with a pre-
burned bootloader that allows uploading the new code
without an external hardware programmer. The original
STK500 protocol is used for communication. The circuit
connection of the robotic arm is shown in the below figure.

Figure 9: Flow chart for control of the robotic arm

V. WIRELESS COMMUNICATION
Zig-bee is a high-level communication protocol. This
high-level communication protocol can be used to create
Figure 8: Circuit connections of the robotic arm personal area networks built from small, low-power digital
radios. IEEE 802.15 standard protocol is used for the Zig-
The flow chart for the control of robotic arm is shown bee communication [4]. The data over long distances can be
in the below figure 9. transmitted through Zig-bee by passing data through
intermediate devices to reach more distant. The data
transmission rates can vary in the range from 20
kilobits/second in the 868 MHz frequency band to 250
kilobits/second in the 2.4 GHz frequency band [4]. As per
the IEEE 802.15 standard, the Zigbee network layer
natively supports both the star and tree typical networks
and the generic mesh networks. Zigbee builds upon the

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.
2018 IEEE 4th International Symposium in Robotics and Manufacturing Automation (ROMA)

physical layer and media access control. Zigbee consumes VII.FUTURE SCOPE
less power and has a very long battery life. The ZigBee is The future scope of this project can be controlling the
used in applications that require only a low data rate, low arm from a distant location with the help of a camera and a
power consumption, long battery life, and secure high range wireless transmission module. By this way, the
networking. system can still accurately perform the task. The arm can
A. XBEE S-2 Module be fixed to a rover that provides the movement and can be
XBEE module is a ZigBee wireless module technology. controlled wirelessly. This kind of system can find
It is an inter-serial device to communicate with the application in bomb diffusion applications and fireworks
microcontroller. XBEE is a 2.4G's XBEE wireless module. and match industries.
This module uses the 802.15.4 protocol stack through a
serial interface between the microcontroller and other VIII.CONCLUSION
devices to communicate [7]. This module is simple and The gestures of the human hand can be replicated in an
convenient. easier and cost-effective method. It also involves the
B. XBEE Shield implementation of the Zigbee protocol to send the data
XBEE Shield is an enhanced Zigbee XBEE Series wirelessly from the human hand to the robotic arm. The
module breakout board for Arduino. This shield allows gesture-controlled robot along with a PID controller can be
the Arduino board to communicate wirelessly used for more accurate and precise control. The various
using Zigbee [7]. XCTU is a developer tool used for applications covered by this robot includes fireworks
communicating between the Arduino and the XBEE shield. handling and bomb diffusing where human life is at risk. In
the fireworks industry, it is a low-cost solution problem and
VI. HARDWARE STRUCTURE it reduces the risk of the human life. The robot can be used
The hardware structure of the sensing glove is in industries to yield more production rate with utmost
made up of the potentiometer and Arduino UNO board is accuracy.
shown in the below figure.
REFERENCES
1. I.B. Celik, M. Kuntalp, "Development of a robotic-arm
controller by using hand gesture recognition," International
Symposium on Innovations in Intelligent Systems and
Applications (INISTA), pp. 1-5,July 2012.
2. E. Littmann, A. Drees, and H. Ritter, "Robot Guidance by
Human Pointing Gestures", Proceedings of NICROSP, IEEE
Computer Society Press, 1996.
3. P. E. Rybski, and R.M. Voyles, "Interactive Task Training of
a Mobile Robot through Human Gesture Recognition",
Proceedings of the 1999 IEEE International Conference on
Robotics and Automation, Vol. 1, 1999, pp. 664-669.
4. K. Lee , S. Kim , Y. Choi and H. Park , "A mesh routing
protocol using cluster label in the ZigBee network" , Proc.
IEEE Mobile Adhoc and Sensor Sysetems 2006 , pp.801 -
806 , 2006.
5. Robin R. Murphy, "Human-Robot Interaction in Rescue
Robotics," IEEE Transactions on Systems, Man, and
Figure 10: Hardware structure of sensing gloves Cybernetics, Part C: Application and Reviews Vol. 34, No.2,
pp.138-153, May 2004.
The hardware structure of Robotic arm consists of 6. Sourangsu Banerji, "Design and Implementation of
metal arm part with servo motors and Arduino ATMega is developed an Unmanned Vehicle using a GSM Network
shown in the below figure. with Microcontrollers," International Journal of Science,
Engineering and Technology Research (IJSETR) Volume 2,
Issue 2, pp.367-374, Feb 2013.
7. Yiding Wang; He Gong; Yun Fan; Haijun Cao "Design of a
distributed wireless tree-like data acquisition system based
on ZigBee", Computing, Communications and IT
Applications Conference (ComComAp), 2014 IEEE, On
page(s): 179 – 184.
8. S. H. Choi , B. K. Kim , J. Park , C. H. Kang and D. S. Eom
, "An Implementation of Wireless Sensor Network for
Security System using Bluetooth" , IEEE Transaction on
Consumer Electronics , vol. 50 , no. 1 , pp.236 -244 , 2004.

Figure 11: Hardware structure of the robotic arm

978-1-7281-0374-7/18/$31.00 ©2018 IEEE

Authorized licensed use limited to: Auckland University of Technology. Downloaded on May 28,2020 at 05:09:02 UTC from IEEE Xplore. Restrictions apply.

You might also like