COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS http://www.mysteriousmaniacs.tk/ HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM)

Similar documents
Nagpur, Maharashtra, India

Tablets in Data Acquisition

ANDROID LEVERED DATA MONITORING ROBOT

Android, Bluetooth and MIAC

HOME APPLIANCES CONTROL SYSTEM BASED ON ANDROID SMARTPHONE

Smart Home Security System Based on Microcontroller Using Internet and Android Smartphone

Nokia. udirect 2 Bluetooth pairing guide. Pairing and connecting udirect 2 with your Nokia cellular phone

Running a Program on an AVD

Bluetooth Based Home Automation and Security System Using ARM9

Android Application for Accessing KNX Devices via IP Connection

01. Introduction of Android

DATA PROJECTOR XJ-A147/XJ-A247/XJ-A257 XJ-M146/XJ-M156 XJ-M246/XJ-M256. XJ-A Series. XJ-M Series. Network Function Guide

ShareLink 200 Setup Guide

Macs are not directly compatible with Noetix.

Installing the Android SDK

Example Connection between USB Host and Android

Android Application Development and Bluetooth Technology

CS 528 Mobile and Ubiquitous Computing Lecture 2: Android Introduction and Setup. Emmanuel Agu

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

POPP Hub Gateway. Manual

Smart Home System Using Android Application

T-BOXN12R. First steps with T-BOXN12R. You can make it wireless. Date: Version 1.0

FAQs. Conserve package. Gateway... 2 Range Extender... 3 Smart Plug... 3 Thermostat... 4 Website... 7 App and Mobile Devices... 7

Remote Desktop Access Through Android Mobile Phones and Reverse

Implementation of Smart Homes and Industrial Automation System with Secure Communication over GSM

EVAL-UFDC-1/UFDC-1M-16

Guest PC. for Mac OS X. User Guide. Version 1.6. Copyright Lismore Software Systems, Ltd. All rights reserved.

Next Gen Platform: Team & Mentor Guide

Discovering Computers

Using TS-ACCESS for Remote Desktop Access

Chetana Sarode, Prof.Mr.H.S.Thakar Department of Electronics &telecommunication, SKNCOE Department of Electronics &telecommunication, SKNCOE

융프라우 수출향 RAC APP_IB_E_34261A(2).indd 오후 2:10:18

Installer guide. Release 2.2

Mobile App Development to Empower Educators and to Prepare Students as Future Leaders

vyacht Wifi Router vyacht yacht automation About this manual

Christie Brio Frequently Asked Questions

A Novel Solution for Remote Monitoring of Electrical and Electronic Gadgets

Development of a new service using Wi-Fi Direct

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

Remote Android Assistant with Global Positioning System Tracking

AC1450 Smart WiFi Router ac Dual Band Gigabit

Revision History. Revision Revision History Date

Implementation of Wi-Ap; An IEEE b/g Based Electrical Switch Module With Web Enabled Interface for Electrical Appliances Control

Version 5 - July 2015 IT Services Page 2

TOSR-04-5 TOSR-10B/C. LazyBone. Smartphone Controlled Switch. User Manual

ZigBee-2.4-DK 2.4 GHZ ZIGBEE DEVELOPMENT KIT USER S GUIDE. 1. Kit Contents. Figure GHz ZigBee Development Kit

Energy efficient Smart home based on Wireless Sensor Network using LabVIEW

R6250 Smart WiFi Router - AC Dual Band Gigabit

Quick Start Guide: Iridium GO! Advanced Portal

Yamaha 01V96 Version2 Upgrade Guide

AV1200 TL-PA8030P KIT. 3-Port Gigabit Passthrough Powerline Starter Kit. Highlights

iportal2 Mouse Mover Quick Start Guide GBK52984 V1.0

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

Plc Based Monitoring and Controlling System Using Wi-Fi Device

IST STREP Project. Deliverable D3.3.1u Middleware User s Guide Multi-Radio Device Management Layer.

Board also Supports MicroBridge

Industry First X86-based Single Board Computer JaguarBoard Released

Quick Installation Guide

Feasibility Study of Implementation of Cell Phone Controlled, Password Protected Door Locking System

DATA PROJECTOR XJ-A135/XJ-A145/XJ-A235/ XJ-A245

User Manual (DA-70155)

Android Development. Lecture AD 0 Android SDK & Development Environment. Università degli Studi di Parma. Mobile Application Development

Bluetooth HC-06 with serial port module Easy guide

ANDROID BASED SECURITY AND HOME AUTOMATION SYSTEM

Access Tropical Cloud Desktop from Any Device

Bluetooth Pairing. User Guide

USB TO SERIAL CONVERTER

Smartphone garage door opener

SEACW DELIVERABLE D.1.6

Python for Series 60 Platform

COPY EOS 70D (W) Wi-Fi Function Instruction Manual INSTRUCTION MANUAL

RTX41xx. Wi-Fi Module

LAN / WAN Connection Of Instruments with Serial Interface By Using a Terminal Server

Home Appliances Control System Based On Android Smartphone

How do I Install and Configure MS Remote Desktop for the Haas Terminal Server on my Mac?

Kaspersky Password Manager

Lab 5 Using Remote Worklight Server

DATA PROJECTOR XJ-A146/XJ-A246/XJ-A256

International Journal of Engineering and Techniques - Volume 1 Issue 3, May - June 2015

QUICK START GUIDE Bluetooth Cordless Hand Scanner (CHS)

Entertain. Inform. Succeed. SAMSUNG SMART SIGNAGE TV RHE AND RMD SERIES

WIRELESS TRAINING SOLUTIONS. by vlogic, Inc. L a b 0.3 Remote Access Labs

Internet Guide. Prepared for 55 John Street

Quickstart Guide Vodafone Mobile Wi-Fi R209-Z

SETUP INFO THA-103AC (V1.0R) THA-103AC UPC #

Android Mobile App Building Tutorial

March How Eye-Fi Works Overview Flowcharts

Remote Desktop Access through Android Mobiles and Android Mobiles Access through Web Browser

EINTE LAB EXERCISES LAB EXERCISE #5 - SIP PROTOCOL

Network connectivity controllers

3-Port FireWire 800/400 PCI Host Card

XPort Universal Demo Board User Guide

Introduction to Android

Web-Based QUANTUM Monitoring

Wzzard Sensing Platform Bluetooth App User Manual

Ways to Use USB in Embedded Systems

Transcription:

COPYRIGHT RESERVED TEAM MYSTERIOUS MANIACS http://www.mysteriousmaniacs.tk/ HOME AUTOMATION via BLUETOOTH (Using ANDROID PLATFORM) 0

TEAM MEMBERS SYED HUSSAIN RAZA NAQVI SYED MUHAMMAD TAHIR RAZA MUHAMMAD UMER AHMED KHAN TAMEEM ATHAR 1

ABSTRACT The past decade has seen significant advancement in the field of consumer electronics. Various intelligent appliances such as cellular phone, air conditioners, home security devices, home theaters, etc., are set to realize the concept of a smart home. They have given rise to a Personal Area Network in home environment, where all these appliances can be interconnected and monitored using a single controller. Home automation involves introducing a degree of computerized or automatic control to certain electrical and electronic systems in a building. These include lighting, temperature control, etc. This project demonstrates a simple home automation system which contains a remote mobile host controller and several client modules (home appliances). The client modules communicate with the host controller through a wireless device such as a Bluetooth enabled mobile phone, in this case, an android based Smart phone. 2

Table of Contents Introduction.. 4 Components Used 4 Project Description. 5 System Data Flow 6 Application flow diagram... 8 Screen Shots. 10 Conclusion... 13 Practical Applications.... 13 Future Scope... 14 References.. 15 3

INTRODUCTION Although home automation today is not a new thing but most advanced home automation systems in existence today require a big and expensive change of infrastructure. This means that it often is not feasible to install a home automation system in an existing building. Homatic is a wireless home automation application that is supposed to be implemented in existing home environments, without any changes in the existing infrastructure. Homatic lets the user to control his home from his or her android smart phone. In the smart phone application the user can select actions what should happen with electrical and/or electronic devices in the network. COMPONENTS USED Following components are used in this project: 1. Smart phone 2. Model of a house 3. Computer (LabView) 4. Relays 5. Fans 6. LED s 7. Adaptor (12V) 8. Db-25 (parallel port interface) 9. Transistors (for switching) 10. Bridge 11. 7805 regulator 4

PROJECT DESCRIPTION The project can be better described by dividing it into two categories, namely, 1. Hardware 2. Software 1. HARDWARE The hardware portion of the project can be explained as follows: a) HOST MODULE/CONTROLLER The operating device or the controller we are using is a Samsung Galax Y S5360. It operates on Gingerbread OS (API level 8) with 835MHz single-core processor. The executable application is installed on the device with communicates with the server (PC), which in turn send communicates with the client modules or the house appliances through a relay board designed for parallel interfacing. b) RELAY INTERFACE CIRCUIT The relay interface circuit is used to connect the PC with the household electronic or electrical appliances. The circuit comprises of a relay (5v, 5A), a freewheeling diode, a transistor to drive the relay energizing input and connectors to interface parallel port. For testing purpose we are using two fans and two LED s (serving as light bulbs). 5

SYSTEM DATA FLOW SERVER (SMART PHONE) Controlling device application Via Bluetooth LABVIEW Bluetooth application SWITCHING CIRCUITRY PARALLEL PORT INTERFACING DEVICES 6

2. SOFTWARE A number of different programming tools were used for the development of the application of Homatic. a) ECLIPSE INDIGO IDE The main application for Android Smart Phone is coded in the environment of Eclipse Indigo IDE and compiled as a standard android executable that runs on platforms above API level 8 (Gingerbread or higher). b) ANDROID SDK The development kit used to program on Eclipse Indigo IDE is the ANDROID SDK developed by Google, Inc. c) LabVIEW LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a platform and development environment for a visual programming language from National Instruments. The purpose of such programming is automating the usage of processing and measuring equipment in any laboratory setup. Originally released for the Apple Macintosh in 1986, LabVIEW is commonly used for data acquisition, instrument control, and industrial automation on a variety of platforms including Microsoft Windows, various versions of UNIX, Linux, and Mac OS X. We are using LabVIEW as main software which is installed in the controlling PC called "SERVER" which must be "ON" at all time as Home automation is not possible without SERVER. The LabVIEW receives the message, decode it and then compare the code of the message for already saved passwords or codes. If the conclusion of already described comparison is true LabVIEW sends the signal through parallel port to switch ON the specific device. The software LabVIEW is basically used for automation and control. It gives certain output on the basis of certain input conditions according to the programming 7

The working of the application can be summarized by the following flowchart. APPLICATION FLOWCHART The application is supposed to work as a remote controller or a control panel interfaced with a server via Bluetooth. The application here will serve as a host controller, which will describe an event to the server on button click. First Screen: A splash screen showing an image, most probably a trademark which remains for only 3 seconds and then switches to the next screen. Second Screen: this screen consists of 3 buttons, namely, START, ABOUT, EXIT START button starts the application by moving to the next activity ABOUT button: switches to an activity having only Text View. EXIT button: when user clicks this button it shows a Toast message dialog to confirm this action. If user presses NO, it returns to the current activity, if user presses YES it first switch off any open Bluetooth and then close the app. 1 8

1 THIRD SCREEN: as soon as this activity starts, it asks to enable the Bluetooth of the phone, if user presses NO, app ends, if user presses YES, it turns on the Bluetooth and automatically search for nearby devices to connect with (clickable List View to be used here). When the user selects the device, the phone automatically pair with that devices (with or without entering the pin, which depends) and then switches to the FOURTH SCREEN and this THIRD SCREEN is destroyed. FOURTH SCREEN: this screen has 5 Image Buttons, namely, LIGHT, FANS, TV, AC, PC. Clicking every button switches to its own layout. LIGHTS This layouts consists two buttons, ROOM1 and ROOM2. Clicking them changes to their respective layouts. FANS This layouts consists two buttons, ROOM1 and ROOM2. Clicking them changes to their respective layouts. TV This layouts consists two buttons, SWITCH ON and SWITCH OFF. Clicking any of them sends a hard-coded string to the server. AC This layouts consists two buttons, SWITCH ON and SWITCH OFF. Clicking any of them sends a hard-coded string to the server. PC This layouts consists two buttons, SWITCH ON and SWITCH OFF. Clicking any of them sends a hard-coded string to the server. 9

SCREENSHOTS 10

11

12

CONCLUSION The home automation system has been experimentally proven to work satisfactorily by connecting sample appliances to it and the appliances were successfully controlled from a wireless mobile device. The Bluetooth client was successfully tested on a multitude of different mobile phones from different manufacturers, thus proving its portability and wide compatibility. This project will not only provide convenience to the common man but will be a boon for the elderly and disabled. APPLICATIONS The project designed is very practical in nature because everything can be controlled with the help of just a mobile phone which is widely available nowadays and also proves to be handy. Also the project is feasible because the cost of the project is very less as compared to the expensive Wi-Fi based home control systems presently available in the market which require an additional cost of internet services. 13

FUTURE SCOPE This project can be further developed by integrating it with the internet to monitor your home while sitting in a remote area. By doing this, one can keep an eye on his or her home through an internet connected to the user s mobile phone or PC or laptop. This will not only improve the security of your home in this modern day world but will also assist in conservation of energy like if you left any home appliance switched on by mistake, then you can check the status of the appliance on the graphical interface made on your mobile and can switch it off using the internet connectivity. 14

REFERENCES Following are the resources used in completing this process: 1) Android official website. http://developer.android.com/ 2) Mark Murphy (2011): Beginning Android 3, Après. ISBN-13 (pbk): 978-1-4302-3297-1 ISBN-13 (electronic): 978-1-4302-3298-8 3) Addison-Wesley (2011): Android Wireless Application Development, 2 nd edition ISBN-13: 978-0-321-74301-5 ISBN-10: 0-321-74301-6 15