Wireless control of Bluetooth “on/off” switches in a smart home using
J2ME in Mobile Phones and PDAs.
Luis Carlos Aceves Gutiérrez
Universidad de Monterrey
Av. Morones Prieto 4500 pte., 66220, San Pedro Garza Garcia, Nuevo León, México http://www.udem.edu.mx/ laceves@udem.edu.mx
Og Jamir Ramos Juraidini
Universidad de Monterrey
Av. Morones Prieto 4500 pte., 66220, San Pedro Garza Garcia, Nuevo León, México http://www.udem.edu.mx/ jamiros@gmail.com
Carlos Alberto Garza Frias
Universidad de Monterrey
Av. Morones Prieto 4500 pte., 66220, San Pedro Garza Garcia, Nuevo León, México http://www.udem.edu.mx/ karlytoz@gmail.com
Abstract
This work focuses on the idea of manipulating a manufactured on/off switch with a Bluetooth receiver, using a JAVA compatible mobile device or PDA through the L2CAP protocol. The main goal is to remove wires from a smart home infrastructure. Keywords: Bluetooth, Smart Homes, MIDlets, J2ME, Home Automation, Smart Phones
1. INTRODUCTION
This document identifies the simple process used in a daily basis in a standard home and how we can automate this process with the implementation of manufactured Bluetooth on/off switches which receive a signal from a mobile device or PDA that is compatible with JAVA and Bluetooth. To achieve this we send a 1 or a 0 through the L2CAP protocol so that the switch perceives an on or an off.
2. BLUETOOTH AND WIFI
Bluetooth was selected as our way of communicating PDA/Mobile with a central system. The reason Bluetooth was selected over Bluetooth for various reasons. First of all, Bluetooth security is less complex and more stable than that of
WiFi. Bluetooth manages a security measure of only permitting certain selected devices to interact with them; WiFi in the other hand establishes a WEP key that has been known to be cracked. Another reason that Bluetooth was selected over WiFi, is that Bluetooth has a shorter range of signal emission than Wifi. This is a pro because the shorter the range the less the amount intruders that will try to infiltrate your home system. [3]
Bluetooth also has some major draw backs. Some Bluetooth components’ compatibility with certain operating systems are not supported, also some programming languages still haven’t developed libraries to interact with this communication protocol. Installation, real life reception, speed and many compatibility problems are encountered with this form of communication. [3]
3. L2CAP
L2CAP or Logical Link Control and Adaptation Protocol was used in the communication between client and server due that it is one of the lower levels of communication in the Bluetooth Protocol. Since L2CAP is lower level the type of data that is sent either to the client or the server is more primitive and not complicated such as OBEX (Object
Exchange) which is high level and sends a certain type of data. In MIDlet programming there are two types of communication objects for Bluetooth. One is SPP and the other is L2CAP, a connection object is instantiated in the client and the server program of either type. A URL is made to set which is the server “btl2cap://”, once this is established a UUID is set to show the address to the client so it can be identified. [3]
4. LIGHTING, SECURITY AND APPLIANCE CONTROL WITH BLUETOOTH
Currently we haven’t found a manufactured Bluetooth on/off switch with this capability, but as a supposed scenario an on/off switch receives a 1 or 0 signal sent from a mobile device or PDA compatible with JAVA and Bluetooth. A basic system architecture that could be considered is the following, which could be seen in figure 1:
mobile
Illumination
Habitant
PDA
Security
Appliances
PAN
Home
Figure 1. Architecture for Mobile/PDA interaction through Bluetooth
Inside a PAN (Personal Area Network) a user with his PDA device or Smart Phone accesses the client program in
JAVA. This program then accesses the PAN through Bluetooth Protocol and sees
Wireless Portable Sensor for Athletic Monitoring BY Srinivas Juluri Yashwanth Nimmala Srikanth Reddy Jaidi Sailesh Oduri Rohith Vangalla INTRODUCTION Physical activates are an essential characteristics for the maintenance of health and fitness of an individual. The advantage of microelectronics allowed the development of miniature data acquisition devices that can be used for constant monitoring of human health. SYSTEM HARDWARE Circuit Diagram What is ZigBee? • Low Data, Low Power Wireless…
Wireless router A wireless router is a router that connection wireless device to the access wireless Internet by connecting to a wired access point. It is a device that performs the functions of a router but functions as a wireless device. It connection via radio waves and does not require a wired connection. All devices connecting to a wireless router must possess a working network adapter. This is connected to a broadband modem that has one or more built in adapters which enables sharing…
Performance Mouse for Wireless Freedom and Precision Tracking Productivity Accessory Features Track-on-Glass Sensor, Cord-Free Connection, and Ergonomic Design to Help Users Improve Performance at Home or in Office San Mateo, CA, May 12, 2015 /PressReleasePing/ - Kensington, a worldwide leader in delivering smart. safe. simple.™ computing accessories, announced today the availability of its MP230L Wireless Performance Mouse for Windows® and Mac®. Featuring a 2.4GHz wireless connection via a USB nano…
Wireless Network Design Exercise Student Name(s) Timothy Chue I. Your employer, XelPharm, is a large manufacturer and distributor of generic, over-the-counter healthcare products. Its main campus consists of three buildings within two blocks of each other. Each building houses approximately 200 employees, including those in the following departments: Administration, Accounting, Research, Legal, Quality Control, Order Fulfillment, and Production. In addition, XelPharm owns a large distribution…
Devices needed to setup home network. Setting up Home Network Connecting Router The router is the gateway between the Internet and home network. It is also the central point of connection for all the devices on network that will be communicating with one another. I selected the router for my network that will support 802.11n wireless as well wired Ethernet connections. I had to make sure the devices such as laptops were also compatible with 802.11n in order…
devices needed for connection to network systems. Network devices Workstation A workstation is a computer intended for individual use that is faster and more capable than a personal computer. It's intended for business or professional use (rather than home or recreational use). Workstations and applications designed for them are used by small engineering companies, architects, graphic designers, and any organization, department, or individual that requires a faster microprocessor, a large amount of random…
television and radio application. Infrared: can be applied to transmit details from location to location for example: television remote control and information links between two computers Microwave: can be used to spread signal and mobile phone. The use of ionising and non-ionising radiation in home and workplace. Both case of these radiation can be used in home and workplace. Non ionising radiation are not dangerous for human and body because of their low frequency, low energy and long wavelength…
transmitting end to convert the digital signal of a computer into the analogue wave needed for transmission. At the receiving end the opposite occurs. The analogue wave is converted into a digital signal. 3. A mobile telephone is an example of a wireless device that can be web-enabled. What does the term ‘web-enabled’ mean? A web-enabled device is one that provides access to the Internet and email from any location. It can be held in one hand. 4. Describe the five main advantages of using a…
Hardware and Software Hardware is the physical or tangible components of a computer system whereas software is the intangible components of a computer system they both make up a computer system. Motherboards A motherboard is the circuit that controls the functions of a computer system. All the components that from a computer system are connected to the motherboard, it contains the circuitry that determines the computing power and speed of the entire system. microprocessor/CPU the “brain…