KEMBAR78
Gesture Controlled Car From Android: II. Technical Requirements | PDF | Smartphone | Android (Operating System)
0% found this document useful (0 votes)
58 views3 pages

Gesture Controlled Car From Android: II. Technical Requirements

This document describes the design and implementation of a gesture controlled car using an Android smartphone. The key components of the system include an Arduino microcontroller, motors, a Bluetooth module, and an Android application. The Android app reads accelerometer data to determine gestures and sends control signals to the Arduino via Bluetooth. The Arduino controls the motors to move the car according to the received signals, allowing the car to be remotely controlled by hand gestures detected by the smartphone.

Uploaded by

Manthan Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views3 pages

Gesture Controlled Car From Android: II. Technical Requirements

This document describes the design and implementation of a gesture controlled car using an Android smartphone. The key components of the system include an Arduino microcontroller, motors, a Bluetooth module, and an Android application. The Android app reads accelerometer data to determine gestures and sends control signals to the Arduino via Bluetooth. The Arduino controls the motors to move the car according to the received signals, allowing the car to be remotely controlled by hand gestures detected by the smartphone.

Uploaded by

Manthan Singh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Gesture Controlled Car from Android

II. Technical Requirements


Abstract— The objective of signal acknowledgment in Computer  Microcontroller
Science field has consistently been the minimization of the  Mechanical Components
separation between the physical world and the computerized  Bluetooth Module
world. The way people interface among themselves could be  Android Smartphone
executed in correspondence with the advanced world by
deciphering signals by means of scientific calculation. Various There are six fundamental components are required as shown in the figure:
ways and calculations have been proposed and executed to
accomplish the objective of motion acknowledgment and its
utilization in speaking with the advanced world. Signals can be
followed utilizing accelerometers. Since present day Smartphone
are furnished with an in-fabricated accelerometer, signal control
utilizing Smartphone can be anything but difficult to execute,
modest to give and the yield will be increasingly instinctive. This
paper manages the plan and execution of a remote signal-
controlled Robot utilizing Arduino ATMEGA32 processor and an
Android worked application to control the motions by means of
Bluetooth with negligible, and modest equipment necessities. The
framework can be extensively arranged into two segments: The
Hardware part comprising of Arduino Microcontroller, the
Adafruit engine Shield, HC-05 Bluetooth module, and the III. System Description
Android Smartphone, and the product part comprises of a Java The The steps stated above are broadly described in this section. The system
put together application run with respect to android. consists of the following steps to work as mentioned:
1.System block Diagram:

Keywords—Microcontroller, Accelerometer, Gesture


recognition, Embedded Systems, Android, Bluetooth Module,
Motor driver, Smartphone, Co-ordinates, Robot

I. INTRODUCTION (HEADING 1)

People People collaborate in the physical world by the methods for the
five detects. Be that as it may, signals have been a significant method for
correspondence in the physical world from old occasions, even before the
creation of any language. In this time of machines assuming 2.Data transmission from android to motor driver:
responsibility for each unpredictable works, collaborations with
machines have gotten more significant than any other time in recent The contribution to the application is the bearing of development of hand of
memory. Robots are characterized into two sorts: Autonomous robots the client given by the accelerometer. This is simple in nature. It is then
like Line detecting or edge detecting robots, and Remote-controlled carefully coded by the Android application before sending it to Arduino by
robots like Gesture controlled Robots. Since this paper manages signal- HC-05 Bluetooth module. The sign goes to the computerized pins of the
controlled robot, the essential spotlight will be on the remotely controlled Arduino board, which has an inbuilt AD/DA converter of 8 piece. The
robots as it were. Without a doubt, the yield and the working of machines Arduino procedure they got information. Considering the information got,
will be progressively instinctive on the off chance that they are conveyed fitting sign is transmitted to the engine driver to turn the engine so that the
utilizing human signals. A signal is a type of correspondence in a non- robot moves toward development of the user’s hand.
verbal way by utilizing obvious body developments or activities passing
on messages. There are a few different ways to catch a human signal that
a machine would have the option to comprehend. The signal can be
caught utilizing a camera, or an information glove. Signals can likewise
be caught by means of Bluetooth or infrared waves, Acoustic, Tactile,
optical or movement mechanical methods The inserted frameworks
intended for explicit control capacities can be enhanced to lessen the size
and cost of the gadget and increment the unwavering quality and
execution. With the approach of Smartphone and other present-day
advances, working machines have gotten increasingly adaptable. The
Smartphone are furnished with in-assembled accelerometer which might
be utilized for motion acknowledgment and such different assignments.
In addition, the Android OS is increasing huge prevalence in the realm of
Smartphone because of its open design. Android stage is being utilized in
the improvement of various applications for mobile phones.

There are different methods of correspondence between the


microcontroller of the robot and the Smartphone. Be that as it may, the
prevalently utilized methods for correspondence is done by means of RF,
Bluetooth or Wi-Fi. Utilizing RF confines the good ways from which the
robot can be controlled. Utilizing Wi-Fi builds the general expense for
arrangement. In this way, the robot has been worked with Bluetooth which 3.Receiving of the data:
has middle scope of separation took care of and expense among RF and
Wi-Fi. The information is gotten from the Android Smartphone by means of HC-05
Bluetooth module on the computerized pins of the Arduino microcontroller.
It is then prepared in Arduino. This handled information is gotten by the
Gesture Controlled Car from Android
Adafruit engine shield. In view of the information. sets of the motors are turned in reverse coming about the robot to move in
reverse. At the point when the sign in the engine shield is to stop the robot,
all the motors are made fixed coming about the robot to stop. Essentially, to
turn the robot in reverse headings, comparative approach is utilized. To turn
the robot the regressive left way, the left inclining motors are pivoted
advances while the correct askew motors are turned in reverse. This makes
the robot turn the retrogressive left way. To turn the robot the retrogressive
right way, the correct corner to corner motors are pivoted advances while the
left inclining motors are pivoted in reverse. This makes the robot turn the
regressive right way.

6.Designing of Android Application:

The Android application is the way to control the robot utilizing hand signals.
The application peruses the accelerometer state and X, Y, and Z esteems are
gotten in the application. There are two limit esteems appointed for every
development: one is the MAX_THRESHOLD, and the other is the
4.Gesture Recognition: MIN_THRESHOLD. On the off chance that the acquired worth lies between
these edges of a specific development, at that point the character doled out to
Android Smartphones is outfitted with inbuilt accelerometers. The mean that development, which is known as the DET or determinant is sent to
application structured in this work recovers the estimation of the the robot by means of Bluetooth. The application ceaselessly senses this until
accelerometer and sends a determinant incentive to the microcontroller the application is ON. A graphical UI has been intended for the solace of the
through Bluetooth. As the client moves his hand, the accelerometer client. The application abstracts the figuring’s and accelerometer esteems, yet
understanding changes. It is then recovered by the application. There are the UI shows the course of development of the hand, so the client knows
two qualities: One is most extreme worth and the other is least worth. The about wrong turns in the bot.
range is determined utilizing these two qualities for each capacity of the IV. Algorithm for Gesture Controlled Car
robot. If the worth recovered by the application lies between these Main Module:
predetermined qualities, at that point the comparing determinant is Stage 1: Initialize the frequencies of the motors.
produced. This determinant is sent to the microcontroller, which at that Stage 2: Initialize SERIAL 9600
point gets the determinant esteem, process it to perceive the relating Step 3: Set the speed for the motors in rpm.
motion, and imparts signs to move the robot as needs be. Stage 4: While (1) do
At the point when the client tilts his hand forward, the motion is perceived 1. DET  check ();
as the progress ahead, and the robot moves the forward way. The point of 2. While DET == F, push the car ahead Call
the tilt or the contrast between the edge of tilt of user’s hand and the limit check (); End While
estimation of progress ahead motion decides the speed of the robot. At the 3. While DET == B, move the car in reverse
point when the client tilts his hand on the correct heading, the signal is Call check (); End While
perceived as the correct turn, and the robot moves the correct way. At the 4. While DET == L, move the wheels left
point when the client tilts his deliver the left bearing, the signal is Call check (); End While
perceived as the left turn, and the robot moves the correct way. The point 5. While DET == R, move the wheels right
of the tilt of user’s hand decides if the left or right turn is an ordinary turn Call check (); End While
or a sharp turn. A sharp turn is one in which a vehicle alters course without 6. While DET == I, move the wheels directly
easing back down before turning. At the point when the client tilts his hand forward Call check (); End While
in reverse, the motion is perceived as the go in reverse signal, and the 7. While DET == J, move the wheels right in
robot moves the regressive way. On the off chance that the user’s hand is reverse Call check (); End While
somewhere close to the two motions, i.e., the accelerometer esteem is 8. While DET == G, move the wheels left
somewhere close to the edge of two directions(forward and left turn, left forward Call check (); End While
turn and in reverse, in reverse and right turn, forward and right turn), at 9. While DET == H, move the wheels left in
that point the robot moves in that corner to corner heading. reverse Call check (); End While End While

5.Movement of motor: Function check ()


Step 1: Initialize DATAIN  S
There are four DC motors utilized in the plan of this robot: one engine for Step 2: Initialize VELOCITY  0
each wheel. The motors are constrained by the Adafruit engine shield. The Step 2: If data on the serial lines > 0 then
shield is stacked on Arduino. Each shield stacked can run 4 DC motors. 1. DATAIN  Character sent by the phone
Introducing the Adafruit Motor Shield library gives the adaptability of 2. If DATAIN == F, then DET  F
utilizing the motors just by calling some pre-characterized works as 3. If DATAIN == B, then DET  B
motor1.setSpeed(value) that sets the speed of the engine to 250 rpm, or 4. If DATAIN == L, then DET  L
motor1.run(FORWARD) that makes the motor1 to turn forward. These 5. If DATAIN == R, then DET  R
capacities are called from the program consumed in the Arduino 6. If DATAIN == I, then DET  I
microcontroller. The sign is sent to the engine shield that runs the motors. 7. If DATAIN == J, then DET  J
The wheels are associated with the motors. 4 DC motors are utilized Two 8. If DATAIN == G, then DET G
for left wheels, and two for right wheels. At the point when the sign got in 9. If DATAIN == H, then DET  H
the engine shield is to push ahead, all the four wheels of motors pivot 10. If DATAIN == S, then DET  S
forward, this turns all the four wheels the forward way. The robot moves End If
the forward way. At the point when the sign got in the engine shield is to Stage 3: Set the speed dependent on the information got in the products of 25.
turn the robot the forward left way, the left inclining motors are pivoted in Set VELOCITY  U if no substantial incentive for speed is gotten.
reverse while the correct slanting motors are made pivoted advances. This Stage 4: Return DET
makes the robot turn the forward left way. At the point when the sign got
in the engine shield is to turn the robot the forward right way, the correct
askew motors are pivoted in reverse while the left corner to corner motors
are pivoted advances. This makes the robot turn the forward right way. At Algorithm for the Android Application:
the point when the sign in the engine shield is to go in reverse, both the Step 1: Connect to the Bluetooth Module
Gesture Controlled Car from Android
Step 2: Set THRESHOLD_MAX and THRESHOLD_MIN values for each
direction forward, backward, Left and Right
Step 3: Get the state of the accelerometer:
I  State of the accelerometer
Step 4: VALUE  I into X, Y, Z coordinate values
Step 5: If VALUE is in between THRESHOLD_MAX and
THRESHOLD_MIN for a direction, then set DATAOUT as
the direction of VALUE represented by a Character.
Step 6: Return DATAOUT

V. Future Scope and Conclusion

The Gesture controlled robot structured in this work has numerous future
extensions. The robot can be utilized for observation reason. The robot can
be applied in a wheelchair where the wheelchair can be driven by the
developments of rider’s hand. Wi-Fi can be utilized for correspondence
rather than Bluetooth to get to it from a more prominent separation. Edge
sensors can be joined to it to keep the robot from tumbling from any
surface. Some cameras can be introduced which can record and send
information to the close by PC or phone. It tends to be executed on a
watch, or in any home apparatuses like Room warmer. Present day
ARDUINO chips bolster Intranet just as Internet associations which can be
used to a more noteworthy degree. This mechanical vehicle can be
upgraded to work in the military observation where it very well may be
sent to some adversary camps and track its exercises by means of Internet.
With a psyche loaded with creation, the potential outcomes are
unfathomable.
Structure and usage of Gesture Controlled Robot is introduced and created
utilizing Arduino microcontroller and Android Smartphone. A calculation
has been given and its working is nitty gritty completely. Since the
refreshing prospects are interminable, refreshing the framework has been
kept as a future extension. The fabricated gadget is modest and is anything
but difficult to convey starting with one spot then onto the next. The option
of some extra sensors or camera will make it progressively profitable. The
constraint of the equipment being related with a framework has been
decreased all things considered. As an end suspected, the framework will
permit the client to control it in a manner that decreases the hole between
the physical world and the advanced world with a yield progressively
instinctive.

Periodicals:
 R. Cipolla and A. Pentland, Computer Vision for Human-Machine
Interaction, Cambridge University Press, 1998, ISBN 978-0-521-
62253-0
 Dopertchouk, Oleg; "Recognition of Handwriting Gestures",
gamedev.net, January 9, 2004

You might also like