Professional Documents
Culture Documents
2017-2018
DEPARTMENT OF ELECTRONICS AND
COMMUNICATION ENGINEERING
UBDT COLLEGE OF ENGINEERING,
DAVANGERE-577004
UBDT COLLEGE OF ENGINEERING
---------------------------------------- ----------------------------------------
ACKNOWLEDGEMENT
I would like to thank all those who helped us to make this Mini Project a
successful one.
First my special thanks to our guide Mrs. Geetha V, Professor,
Department of Electronics and Communication Engineering who guided to
understand the topic and gave suggestions on improvement of this Mini Project
and also for providing resources for the completion of this Mini project for her
co-operation and encouragement at all of our approach.
Date: (4UB16EC048)
ABSTRACT
A gesture controlled robot is a robot which can follow the commands made by
an hand gesture. This is an improved version of RF module controlled device.
Presented here is an Arduino based gesture-controlled robot, which is
controlled through an accelerometer module using wireless radio frequency
(RF) communication.
The robot is divided into two parts, transmitter and receiver. The
receiver circuit is the same as that of the RF remote controlled cars. The slight
difference is witnessed only at the transmitter section of the module.
INTRODUCTION
An Arduino based gesture controlled robot is the robot is nothing but a motor
controlling in response to the gesture of our hand. This is a combination of RF
modules, Accelerometer and Arduino interfaced with motors. Let’s start
knowing about the individual parts of an Robot.
ACCELEROMETER (ADXL345) –
Figure 1
Here the brain of the robot is Arduino UNO (Atmega 32) it is fed with some set
of code. The Gesture or motion made by the hand are recognised by a
acceleration measuring device called accelerometer. The over view of the
working is shown in a block diagram shown in figure 2.
Here the accelerometer reads the XYZ coordinates when we make gestures by
hand and send the XYZ coordinates to the ARDUINO. Here the z-axis is not used
for the application. The Arduino checks the Values of the coordinates and
sends a 4 bit code to the Encoder IC. The Encoder passes the data to RF
transmitter and the transmitted data is received by RF receiver. The receiver
sends the 4 bit data to the Decoder IC and Decoder passes it to the Motor drive
IC. Later the motor driver makes the decision to turn the two motors in
required direction.
POWER SUPPLY-
ADXL345 module –
RF module-
An RF module is a fast and effective device for wireless
communication for shorter ranges. Here, we have used a pair of RF transmitter
and receiver modules, operating at 433MHz. A library of Arduino, named
VirtualWire.h, is used to sync the RF module with Arduino. Of the eight pins of
the RF receiver, only 4 pins, namely Antenna, 5V, GND and Data are used here.
Connect a single-strand wires to Antenna pin of both transmitter and receiver
pins of the RF modules as shown in figure 6.
CHAPTER 3
SOFTWARE PROGRAMMES
Program for this robot includes Wire.h header file for 12C communication
protocol and VirtualWire.h library of Arduino to sync the RF module with
Arduino.
void writeTo(int device, byte address, byte val). This function is used to write
bytes of data from a particular byte address to slave device.
void readFrom(int device, byte address, int num, byte buff[]). This function is
used to read bytes of data of particular buff sizes from a specific buffer
address.
void setup ( ). This function is used initialise the baud rate for serial
communication and other pins for digital input/output.
void loop ( ). This function is used to perform the required task of comparing
data with reference set by the user for X,Y and Z axes and perform the task of
transmitting data for forward, backward, left and right movement of a robot.
CHAPTER 4
CONSTRUCTION AND TESTING
An actual-size, single- side PCB layout of the transmitter circuit for the hand
gesture controlled Robot is shown in figure 7 and component layout in figure 8.
An actual size, single side PCB layout of the receiver circuit is shown in figure 9
and its component layout in figure 10. Connect Board 1 to CON 2 in the PCB
layout (fig.10), Board 2 to CON4 and ADXL-345 to CON5 in the PCB layout
(Fig.8). Pin numbers shown in CON2 and CON4 refer to the digital pins of
Arduino boards.
The rest can be fitted near the wrist or on a separate PCB so that it
does not disturb the hand movements.
MISCELLANIOUS:
CHAPTER 6
CONCLUSION
This robot is designed for recognizing five sets of gesture:
Forward, backward, left, right, stop. The following figures shows the gestures
for particular operations.