Tribhuvan University Institute of Engineering Pulchowk, Campus Report on the Minor project on Entitled “PC Control Using Mobile” Submitted By: Pankaj Ghimire(061/BCT/528) [email protected]9841727463 Ram Chandra Panday(061/BCT/536) [email protected]9841657767 Vaskar Gnyawali(061/BCT/546) [email protected]9841579382 Submitted To: Department of Electronics and Computer Engineering Submitted on: 13 Falgun,2064
25
Embed
Tribhuvan University...Bluetooth networks are formed ad hoc and dynamically, when Bluetooth-enabled devices come into proximity of one another. Technically, a Bluetooth network is
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Submitted To:Department of Electronics and Computer Engineering
Submitted on:13 Falgun,2064
Acknowledgement
We are greatly indebted to our honorable external Examiner Mr. Daya Sagar Baral and
respected teachers Mr. Jayaram Timisina and Mr. Bikash Shrestha, who helped us during
the period of project development with their valuable suggestions regarding the
availability of the technologies and the present scenario of these types of projects. We are
also thankful to our teachers Prof. Timila Yami Thapa and Mr. Nriapa Dhoj Khadka for
his precious suggestions.
We would like to express our vote of thanks to our seniors Mr. Jwalanta Shrestha and Mr.
Shishir Jha for their valuable suggestions. We are also grateful to those friends who gave
us their precious time for different purposes and their suggestions regarding our project
selection.
Pankaj Ghimire (061bct528)
Ram Chandra Panday(061bct536)
Vaskar Gnyawali(061bct546)
2
Table of Contents
Technologies ........................................................................................................................ 5 Bluetooth ........................................................... 5 Development Tool .......................................................................................................... 7 Programming Language .................................................................................................. 7 Java .................................................................................................................................. 7 Devices Used ................................................................................................................. 11 Hardware Implemented .................................................................................................. 11
Platform and Development Environment ......................................................................... 13 Fig Complete UML diagram of the project ....................................................................... 19 Installation Process ............................................................................................................ 20 Limitations ......................................................................................................................... 21 Abbreviations
• SMS – Short Messaging Service
• API – Applications Programming Interface
• J2ME- Java 2 Micro Edition
• J2SE – Java 2 Standard Edition
• PAN - Personal Area Networks
• PDA – Personal Digital Assistant
• SDK – Standard Development Kit
• GUI – Graphical User Interface
• ISM – Industrial, Science and Medical Frequency Band
• CLDC- Connectivity Limited Device Configuration
• MIDP- Mobile Information Device Profile
• JVM-Java Virtual Machine
• KVM-Kilobyte virtual Machine
• UML- Universal Modeling Language
• BIOS-Basic Input Output System
• BDA-BIOS data Area
3
List of Tables
Table 1 Bluetooth Power Comparison -------------------------------------------5
Table 2 Bluetooth data Rate Comparison----------------------------------------6
Table 3 Parallel Port Statistics----------------------------------------------------12
Table 4 Mobile Platform Scenario-----------------------------------------------14
4
Abstract
Mobile is used for different purposes like in communication, sending SMS. It can be
extended to perform various tasks as controlling the PC and home appliances. Our project
“PC Control Using Mobile” can be used to control the PC and home appliances by
sending text message from any Bluetooth enabled mobile, supporting application
developed in J2ME.
The mobile supporting MIDP2.0 (Mobile Information Device Profile) and CLDC1.1
(Connectivity Limited Device Configuration) can be used as controller mobile in the
course of implementation of our project. This configuration, profile and the optional API
( Blucove 2.10 ) are implemented for the well operation of the different applications in
the small devices like mobile having limited processing speed ,limited memory and
limited resources.
Bluetooth networks are formed ad hoc and dynamically, when Bluetooth-enabled devices
come into proximity of one another. Technically, a Bluetooth network is called a Pico
net.
For sending the text message we must keep track of the distance from the PC (having
Bluetooth functionality) which is we are going to control. This distance fairly depends on
the range of the Bluetooth Dongle used for the establishing the network with mobile .The
network is simply the PAN (Personal Area Network) that can handle few to seven client
mobiles and a PC server.
The text message must be appropriate command that can be executed directly. The
receiving message is first interpreted to find whether it is command or not. And if it is
appropriate command, it is executed by PC.On exection the Runtiome method is called
which runs Windows OS commands. For controlling parallel port devices the Special
command calls the thread writing the data bits to the parallel port which makes the
devices on and off.
It is important to note that the mobile that we use is not fully dedicated for the controlling
purpose .It can perform its usual services independent to the configuration for controlling
the PC and home appliances
5
Introduction
As we see the technology has reduced electronic devices in size and empowered them
more and more day by day as a result mobile technology is growing more popular in
the world .This project is thought as the result of our desire to control the different
electronic devices from remote using the mobile which is available and handy device
which just not only can be used to communicate, send SMS(short message services)but
also can be used to control other different electronic devices such as desktop PC ,home
appliances like TV, micro oven, refrigerator ,rice cooker etc.
In this project we are attempting to control our desktop PC along with home appliances
that are connected to that PC via parallel port at home, office or any institution from any
places (that is at viable range from Bluetooth) by sending the text message. As we send
SMS to give information, personal message we can extend this to control the PC by
sending the appropriate text command that is recognizable to the computer .That text
message is accepted by PC (having appropriate Bluetooth connection and functionalities)
which interprets the received message.
If the text message is appropriate command message then the PC executes the command.
This ultimately reveals that the PC and any devices connected to PC via parallel port are
controlled with mobile phone by sending appropriate text message.
6
Technologies
In course of development of this application we have implemented different technologies
for establishing connection between PC server and Mobile client, for creating the proper
interface, reading and writing the text message .They are briefly described as follows.
Bluetooth
Bluetooth is an industrial specification for wireless personal area networks (PANs).
Bluetooth provides a way to connect and
exchange information between devices such as
mobile phones, laptops, personal computers, printers, digital cameras, and
video game consoles over a secure, globally unlicensed short-range radio frequency. The
Bluetooth specifications are developed and licensed by the Bluetooth Special Interest
Group.
Bluetooth is a low-cost, short-range wireless technology that has become popular among
those who want to create personal area networks (PANs). Each PAN is a dynamically
created network built around an individual, which enables devices such as cellular phones
and personal digital assistants to connect automatically and share data immediately.
Bluetooth is a radio standard and communications protocol primarily designed for low
power consumption, with a short range (power class dependent: 1 meter, 10 meters, 100
meters) based around low-cost transceiver microchips in each device.
Bluetooth enables these devices to communicate with each other when they are in range.
The devices use a radio communications system, so they do not have to be in line of sight
of each other, and can even be in other rooms, as long as the received transmission is
powerful enough.
Class Maximum Permitted Power mW(dBm) Range(approx.)Class 1 100 mW (20 dBm) ~100 metersClass 2 2.5 mW (4 dBm) ~10 metersClass 3 1 mW (0 dBm) ~1 meter
Table 1
It has to be noted that in most cases the effective range of class 2 devices is extended if
they connect to a class 1 transceiver, compared to pure class 2 networks. This is