May0613 - A Cell Phone-Based Remote Home Control System 1 A Cell Phone-Based Remote Home Control System Advisor: Ahmed E. Kamal, Professor

Slides:



Advertisements
Similar presentations
Computer Concepts – Illustrated 8th edition
Advertisements

PGA309 EVM Multi-Cal-Tools-V1.6a User’s Guide
Computer Networks TCP/IP Protocol Suite.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
1 Hyades Command Routing Message flow and data translation.
18 Copyright © 2005, Oracle. All rights reserved. Distributing Modular Applications: Introduction to Web Services.
1 RA I Sub-Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Casablanca, Morocco, 20 – 22 December 2005 Status of observing programmes in RA I.
Introduction to HTML, XHTML, and CSS
Exit a Customer Chapter 8. Exit a Customer 8-2 Objectives Perform exit summary process consisting of the following steps: Review service records Close.
Communicating over the Network
Microsoft®.
© Tally Solutions Pvt. Ltd. All Rights Reserved Shoper 9 License Management December 09.
© Telcordia Technologies 2004 – All Rights Reserved AETG Web Service Tutorial AETG is a service mark of Telcordia Technologies. Telcordia Technologies.
© SafeNet Confidential and Proprietary Administering SafeNet StorageSecure Smart Card Module 3: Lesson 5 SafeNet StorageSecure Storage Security Course.
Our Digital World Second Edition
Intel VTune Yukai Hong Department of Mathematics National Taiwan University July 24, 2008.
Electric Bus Management System
Suite Suite 2 TPF Software – Overview Binary Editor Remote Scripts zTREX Add-Ins & Project Integration with Source Control Manager.
Page 1 of 38 The Request Status function is used to retrieve any documents or reports generated either through the user's request, or generated by the.
1. Documents types Visas (ID-2) ICAO standard passports (ID-3) ID cards and driving licences (ID-1) Travel and identity documents.
Chapter 1: Introduction to Scaling Networks
ETS4 - What's new? - How to start? - Any questions?
Campaign Overview Mailers Mailing Lists
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
EIS Bridge Tool and Staging Tables September 1, 2009 Instructor: Way Poteat Slide: 1.
Spring 2014 RMS/EOC Proctor Caching Training. Agenda 2 Proctor caching overview Downloading & installing Cache test content.
Slide #1 of 39 / {ESC} Return to Main Menu / F1 Help PCS - Parish Computer System The NEXT Generation of Parish Software Archdiocese of Los Angeles PCS.
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
IP Multicast Information management 2 Groep T Leuven – Information department 2/14 Agenda •Why IP Multicast ? •Multicast fundamentals •Intradomain.
Telemetry Modules Quick Start
Renesas Technology America Inc. 1 SKP8CMINI-15,17 Tutorial 2 Creating A New Project Using HEW4.
Sample Service Screenshots Enterprise Cloud Service 11.3.
1 RA III - Regional Training Seminar on CLIMAT&CLIMAT TEMP Reporting Buenos Aires, Argentina, 25 – 27 October 2006 Status of observing programmes in RA.
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 EN0129 PC AND NETWORK TECHNOLOGY I IP ADDRESSING AND SUBNETS Derived From CCNA Network Fundamentals.
31242/32549 Advanced Internet Programming Advanced Java Programming
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 v3.1 Module 2 Networking Fundamentals.
1 How Do I Order From.decimal? Rev 05/04/09 This instructional training document may be updated at anytime. Please visit and check the.
Macromedia Dreamweaver MX 2004 – Design Professional Dreamweaver GETTING STARTED WITH.
The Internet–Illustrated Introductory, Fourth Edition
ST/PRM3-EU | | © Robert Bosch GmbH reserves all rights even in the event of industrial property rights. We reserve all rights of disposal such as copying.
School Census Summer 2010 Headlines 1 Jim Haywood Product Manager for Statutory Returns Version 1.0.
Discovering Computers & Microsoft Office 2010 Discovering Computers Chapter 3.
Copyright © 2003 by Prentice Hall Computers: Tools for an Information Age Chapter 15 Programming and Languages: Telling the Computer What to Do.
Chapter 10: The Traditional Approach to Design
Analyzing Genes and Genomes
Systems Analysis and Design in a Changing World, Fifth Edition
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Intracellular Compartments and Transport
Chapter 15 Multithreading, Networks, and Client/Server Programming
PSSA Preparation.
Essential Cell Biology
Energy Generation in Mitochondria and Chlorplasts
Nokia 30 technical specification
Introduction to ikhlas ikhlas is an affordable and effective Online Accounting Solution that is currently available in Brunei.
User Security for e-Post Applications Dr Chandana Gamage University of Moratuwa.
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
12-CRS-0106 REVISED 8 FEB 2013 PRESENTS Payment Functionality.

Abstract Other Resources Financial Resources Project Schedule Personnel Efforts Item DescriptionCost STK300 Microcontrollerdonated (Kanda) GM28 Cellular.
Paradox Communication Solution GPRS / GSM
A Cell Phone-Based Remote Home Control System
Presentation transcript:

May A Cell Phone-Based Remote Home Control System 1 A Cell Phone-Based Remote Home Control System Advisor: Ahmed E. Kamal, Professor Client: ECpE Department Arturo Palau – EE Chau Nguyen – EE Adam Mohling – CprE Issa Drame – EE

May A Cell Phone-Based Remote Home Control System 2 Agenda Problem statement System overview System components – Technology considerations – Device operations Summary and conclusions Questions

May A Cell Phone-Based Remote Home Control System 3 Problem Statement Design a system that allows users, upon authentication, to remotely control and monitor multiple home appliances using a cell phone- based interface.

May A Cell Phone-Based Remote Home Control System 4 Thermostat Fan Lamp Project in Action – Entire System Controlled Devices…

May A Cell Phone-Based Remote Home Control System 5 Thermostat Fan Lamp Project in Action – Cellular Phone Communication Controlled Devices…

May A Cell Phone-Based Remote Home Control System 6 Cellular Phone Communication Technologies Considered Tone Decoding (DTMF) Features High Compatibility with all cell phone models Limited user interaction More prone to user error (uneditable) Inefficient, time consuming Additional hardware required (convert sound to binary) Text Messaging (SMS) Features Data transmitted in binary form (ASCII) Message can be edited prior to sending

May A Cell Phone-Based Remote Home Control System 7 Cellular Phone Communication Technology Selected: Text Messaging Reasons for Selection: Allows user to verify and edit the message before sending to ensure the command issued is the command requested Data is transmitted in binary, requires less hardware to manipulate (as opposed to DTMF) Most commonly used in M2M technology

May A Cell Phone-Based Remote Home Control System 8 Cellular Phone Communication Text Message Implementation Users will be provided with a list of pre-defined commands that can be stored into the cellular phone Users will then have to enter or issue the commands from the cellular phone defined by the command list Example – command : PASSWORD

May A Cell Phone-Based Remote Home Control System 9 Thermostat Fan Lamp Project in Action – Cellular Module Text Messages Controlled Devices…

May A Cell Phone-Based Remote Home Control System 10 ModelType Connection typeProgrammingAdditional featuresKitSIM EE54 Edge GSM / GPRS USB 2.0 Low insertion force system connector AT commands (GSM07.07 and 07.05) TCP/IP protocol stack. PPP protocol Required 1.8/3V on board SIM card reader GM47 GSM / GPRS 60 pin board- on-board including RS232 for AT + 2 general purpose Serial interfaces AT +proprietary commands AT access to TCP/IP stack UDP Required 3/5V SIM reader with SIM detection GM28 GSM / GPRS RS232 DB-9 connection Control via AT commands AT access to TCP/IP stack UDP UCS2 16 bit data supported Not Required 3/5V SIM reader with SIM detection Cellular Modules

May A Cell Phone-Based Remote Home Control System 11 Module Selected: GM28 Reasons for Selection: RS232 DB9 connector No kit necessary for interface Located coding examples Cellular Modules

May A Cell Phone-Based Remote Home Control System 12 Thermostat Fan Lamp Project in Action - Microcontroller Text Messages GM28 Controlled Devices…

May A Cell Phone-Based Remote Home Control System 13 Microcontrollers Starter KitSTK200 Starter KitSTK300 Starter Kit Freescale Starter Kit MC68HC11E Starter Kit Philips XA/RD/66x Microcontroller AT90S8515**(8K bytes Flash) ATmega128**(128KB Flash; 4KB EEPROM; 4KB SRAM) MC68HC11E9 (12KB Flash/EPROM; 512B RAM; 512B EEPROM) XA-G49 (64KB Flash; 2KB RAM) Cable/Connection ISP and RS232ISP and RS232; opt. USBPC COM portRS232 Power Consumption 9-15VDC or 7-12VAC 7-18VDC9-15V AC or DC I/O 64-pins66-pins38 pins32 pins Highlights Sockets for various microcontrollers Vcc and Ground for powering external circuitry 3"x1.5" Solderless Breadboard40-pin DIP Vcc and Ground for external circuitryInclude daughter board32Kbytes external RAM44-pin PLCC sockets Brownout (2.9V or 4.5V level) Buffalo Monitor utility for debug and test program switches and 10-way Bar LED Software Application BuilderSTK300 Application BuilderAXIDEApplication Builder AVR Studio 3 and 4AVR ISP (C-complier)free Assembler, C compilerC-compiler Demos AVREdit and AVRGCCAVR and IAR Studio WINISP and Flash Magic Programming Tools Price$66$85$99$94.80

May A Cell Phone-Based Remote Home Control System 14 Microcontroller Microcontroller Selected: STK300 Starter Kit Reasons for Selection: Allows large-scaled projects (ATmega128) Interchangeable microcontroller design Sufficient number of I/O pins V cc and G nd pins can power external circuitry Application Builder, AVR Studio, and programmable in C Language

May A Cell Phone-Based Remote Home Control System 15 Programming Languages Considered All the software developed for this project will be loaded into the memory of the STK300 microcontroller. The language must be supported by the STK300s compiler – The STK300 compiler supports C and Assembly – Java and C++ considered because code can be converted to C AssemblyC++ CJava

May A Cell Phone-Based Remote Home Control System 16 Development Languages Development Language Considered Assembly Language Features: Low level language (greater device control) Less memory required Not many development resources/libraries available Team out of practice in Assembly language programming

May A Cell Phone-Based Remote Home Control System 17 Development Languages Development Language Considered JAVA Language Features: Many GSM programming resources available Object oriented language (modular coding) Large memory requirement Poor response time

May A Cell Phone-Based Remote Home Control System 18 Development Languages Development Language Considered C++ Language Features: All team members have knowledge of C++ Object oriented language (modular coding) Not many development resources / libraries available

May A Cell Phone-Based Remote Home Control System 19 Development Languages Development Language Considered C Language Features: Universally reliable language Many programming resources available – Serial port libraries – GSM libraries Example code and project resources online Team will need to identify differences between C and C++

May A Cell Phone-Based Remote Home Control System 20 Development Languages Development Language Selected: C Programming Language Reasons for Selection: Vast amount of online resources Ease of development Team members have experience coding C

May A Cell Phone-Based Remote Home Control System 21 Software Development Environment The code for this project will be developed in a more user friendly environment than AVR Studio (provided with the STK300) Possible Solutions: Eclipse v3.1 MS Visual Studio.NET 2003

May A Cell Phone-Based Remote Home Control System 22 Software Development Environment Eclipse v3.1 – Free, but requires some setup for team MS Visual Studio.NET 2003 – Free through MSDNAA (available to all ECE) Both are similar in their advantages. Since the.c files will be copied into the STK300s compiler, decision was made to go with Visual Studio.NET

May A Cell Phone-Based Remote Home Control System 23 Controlled Devices… Project in Action – Controlled Devices Text Messages GM28 STK300 Thermostat Fan Lamp

May A Cell Phone-Based Remote Home Control System 24 Controlled Devices The following devices will be controlled by the microcontroller: Fan Light Digital thermostat

May A Cell Phone-Based Remote Home Control System 25 Controlled Devices - Fan

May A Cell Phone-Based Remote Home Control System 26 Controlled Devices - Light

May A Cell Phone-Based Remote Home Control System 27 Controlled Device Status Detection

May A Cell Phone-Based Remote Home Control System 28 Controlled Device - Digital Thermostat

May A Cell Phone-Based Remote Home Control System 29 Summary Experiences Technical Experiences: – GSM modules – Microcontroller – Control circuits synthesis Personal Experiences: – Time management – Communication – Accountability

May A Cell Phone-Based Remote Home Control System 30 Conclusions Lessons Learned Functioning in a team environment Should follow assignment criteria closely Amount of detailed documents goes in a professional project

May A Cell Phone-Based Remote Home Control System 31 Special thanks to Sony Ericsson for providing the teams GM28 cellular module Special thanks to Prof Kamal for his continued support to the team Acknowledgements

May A Cell Phone-Based Remote Home Control System 32 Questions? Text Messages GM28 STK300 Any device with an electrical interface Controlled Devices… Thermostat Fan Lamp

May A Cell Phone-Based Remote Home Control System 33 Issues Addressed Authentication and User Interaction Submit password with text message every time action requested Open sessions by submitting session open/close text message One-time password authentication via text message Create a Java GUI (for cell phone) that will address user interactions

May A Cell Phone-Based Remote Home Control System 34 Password For Every Action For every action requested, a user password is required PRO: Increased security - user guaranteed authentic by system every time All commands issued will have the same format of command : password CON: Requires user to enter password every time More work for user, possible user error – Ex.) parsed by : (what if user enters : in message?)

May A Cell Phone-Based Remote Home Control System 35 Open and Close Sessions User submits an open/close session command. Acceptance allows phone to submit requests until session times out or is closed by user. PRO: Less overhead for user Authentication only once CON: Overload system with too many sessions What if user phone lost? What if user phone dies (session never closed)

May A Cell Phone-Based Remote Home Control System 36 One Time Password Authentication User submits an authentication command. Upon being confirmed, phone number added to an acceptable user list and any message sent from this number is accepted. PRO: Less overhead for user Authentication only once CON: Security issue – What if user phone lost? – What if others identify password

May A Cell Phone-Based Remote Home Control System 37 Java GUI for Cellular Phone Team creates a Java GUI for the cellular phone that will provide user with a menu of acceptable commands PRO: Less overhead for user User error virtually eliminated CON: What if user phone lost? Limited phone type compatibility – Phone requires more than simple text messaging capability Increased cost for users – Pay for internet service to download/install Java app (if required)