09-10-2012, 11:24 AM
Bluetooth Enabled Mobile Phone Remote Control for PC
Bluetooth Enabled.pptx (Size: 2.4 MB / Downloads: 93)
Abstract
This work confers an application which makes possible to use a Bluetooth enabled mobile phone to remote control home appliances such electric fan, LEDs and stepper motor, connected to the personal computer. It can also be used to control other computer applications such as multimedia players and facilitates the user while giving presentation on slides. It is a client – server based application which makes use of powerful java technology to achieve its end. The program works on a variety of Bluetooth enabled mobile phone and is compatible with majority of Bluetooth stacks.
Introduction
Simply speaking, Bluetooth enabled remote control is a remote control for a personal computer. The interesting thing is that the remote control is nothing but your mobile phone. Your mobile phone acts as a remote control for the applications present in your computer. For instance, you can play movies and songs present in your computer with the help of your mobile phone.
Infra-red is normally used by a remote control of television. But we use Bluetooth connection as a remote control .Why?
Because many mobile phones today contain Bluetooth and similarly many personal laptop and computer are also coming equipped with Bluetooth. Thus instead of using extra hardware required by infra-red remote control, we can use already available Bluetooth hardware. So this gives us a major advantage i.e. No extra Hardware Cost.
Working Principle
The system basically involves communication between a mobile phone and computer application.
A computer and a mobile phone can communicate with each other using ports. Similar to two islands which communicate with each other using ship ports or airports . Technically we call them COM ports. Data can be exchanged using ports i.e. port of mobile phone and port of computer. This data is known as commands. When the commands are received from the user’s Mobile Phone the server accepts and produces the desired operation on the Personal Computer. The server will be implemented in J2SE and operations are produced in a variety of ways such as by producing virtual key presses, calling different executable files.
Server Program
The “Server Program” has been implemented using J2SE
Interfaces of Server Program:
The server has only one interface which is to be used by the user to select the virtual COM port where the Bluetooth serial port server is running.
Operations
The commands received from the client will
be decoded and the corresponding action will be
performed by the server.
The server has four Modules namely
Blue
Alert Dialog
W32Util
Tray Interface
The commands received from the client will be decoded and the corresponding action will be performed by the server. The server has four classes namely Blue, TrayInterface, W32Util, AlertDi alog.
Blue class is the main class of server. This class uses driver “com.sun.comm.Win32Driver” to access various functionalities of the Virtual serial ports. The available COM port list is then read using a separate module of the Blue class. To open a port for reading, on selected COM port an independent module is executed. In this module a module is used for reading command on this port. In order to avoid errors exception handling has been very efficiently used. Errors are reported to the user using class AlertDialog
To start reading commands in a stream an object of InputStream class is build by calling getInputStream on an object of SerialPort class. The parameters are set on serial port using setSerialPortParams. The string received on serial port will be passed on to decode module of W32Util class. In the decode module of W32Util class, command is decoded and the desired action is performed.
What is Android?
Android is a software stack for mobile devices that includes an operating system, middleware and key applications.
Android technology is introduced by Google Inc. in the year 2005.
Android's mobile operating system is based on a modified version of the Linux kernel.
The Android open-source software stack consists of Java applications running on a Dalvik Virtual Machine featuring JIT compilation.
Advantages Of Android
Android can Run Multiple Applications at the Same Time.
Android Keeps Information Visible on Your Home Screen.
Android Gives Us Better Notifications.
Android Lets You Change Your Settings Faster.
Android Gives You More Options to Fit Our Budget.
Future Trends
The project will be extended as a token for more applications.
Complex applications will be handled easily.
More number of servers will be controlled.
In future application remote control could include the capability to display the personal computer screen on the mobile phone.