3. Introduction
Control is one of complex engineering tasks that need
compatibility between two different systems.
Our project is a controlled computer, especially racing
games through the mobile devices
This is done by measuring the exact movement of the
mobile in any direction north or the right to be applied
to a racing game
4. Introduction…
Values are taken resulting from the movement of
mobile and filtered and then sent via Bluetooth to a
computer.
Values usually range between three types
Movement to the right in specific value
Movement of the North in specific value
Stop Motion
After that, these movements are sent to the racing
game installed on your computer
5. Android OS
Android is a Linux-based operating system designed
primarily for touchscreen mobile devices such as
smartphones and tablet computers.
Android become the world's most widely used
smartphone platform, overtaking Symbian in the
fourth quarter of 2010.
6. Android OS…
Why Android ?
open source code and permissive licensing allows
the software to be freely modified and distributed
by device manufacturers.
Android has a large community of developers
writing applications.
In October 2012, there were approximately 700,000
apps available for Android
7. Android Sensors
Android Mobile has 13 sensor divides as software
or hardware each sensor has specific task.
We will talk about just 2 sensors which we use in
our project.
8. Android Sensors…
Linear accelerometer sensor
Type :
Hardware
Description :
Measures the acceleration force in m/s2 that is applied to
a device on all three physical axes (x, y, and z), excluding
the force of gravity.
9. Android Sensors…
Gravity Sensor
Type :
Software or Hardware
Description :
Measures the force of gravity in m/s2 that is applied to a
device on all three physical axes (x, y, z).
10. Android Sensors…
By moving your mobile linear accelerometer sensor
and gravity sensor give to us 3 values every value in
different axis ( X , Y , Z ).
Software installed on android Mobile use these values
to detect 3 instruction depending on your movement
previously mentioned :
Move the object Left
Move the object right
Stop moving
11.
12. Connecting
The project consists of two programs
The first program: is on his Android mobile his job is
to create Bluetooth communication with PC.
The second program: exists on the device and receive
connection request accept in and start receiving data.
We use Bluetooth connection
13. Controlling
First : Android send the instruction to PC.
Second : PC receive these instruction and apply them
to running game .
In flash games apply theses instruction simply using
keyboard events
In complex game (Need For Speed ) you should access
DirectX package to give movement instruction.
14. Problems
In this project we had faced many problems
1- It is very difficult to get a very accurate value
based on the X , Y , Z values and then determine
the direction.
2-most of complex games make low level
instructions using assembly language and to
control motion .
15. Conclusion
We can extend our project to control PC windows not
just Games.
We can use internet connection instead of Bluetooth
connection.
I hope that you are interesting with this presentation.
16. I remove the video due to Model limitation in size