1 / 32

A Cell Phone-Based Remote Home Control System

A Cell Phone-Based Remote Home Control System. Adam Mohling – CprE mohbandy@iastate.edu . Issa Drame – EE issad@iastate.edu . Chau Nguyen – EE chayman@iastate.edu . Arturo Palau – EE apalau@iastate.edu . Advisor: Ahmed E. Kamal, Professor kamal@iastate.edu. Client: ECpE Department .

fayre
Download Presentation

A Cell Phone-Based Remote Home Control System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Cell Phone-Based Remote Home Control System Adam Mohling – CprEmohbandy@iastate.edu Issa Drame – EEissad@iastate.edu Chau Nguyen – EEchayman@iastate.edu Arturo Palau – EEapalau@iastate.edu Advisor: Ahmed E. Kamal, Professorkamal@iastate.edu Client: ECpE Department May0613 - A Cell Phone-Based Remote Home Control System

  2. Agenda Problem statement • System overview • System components • Technology considerations • Device operations • Summary and conclusions • Questions May0613 - 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. May0613 - A Cell Phone-Based Remote Home Control System

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

  5. Lamp Thermostat Fan Project in Action – Cellular Phone Communication Controlled Devices… May0613 - 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 May0613 - 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 May0613 - 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” May0613 - A Cell Phone-Based Remote Home Control System

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

  10. Cellular Modules May0613 - A Cell Phone-Based Remote Home Control System

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

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

  13. Microcontrollers May0613 - 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 • Vcc and Gnd pins can power external circuitry • Application Builder, AVR Studio, and programmable in C Language May0613 - 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 STK300’s compiler • The STK300 compiler supports C and Assembly • Java and C++ considered because code can be converted to C Assembly C++ C Java May0613 - 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 May0613 - 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 May0613 - 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 May0613 - 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++ May0613 - 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 May0613 - 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 May0613 - 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 STK300’s compiler, decision was made to go with Visual Studio .NET May0613 - A Cell Phone-Based Remote Home Control System

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

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

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

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

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

  28. Controlled Device - Digital Thermostat May0613 - 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 May0613 - 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 May0613 - A Cell Phone-Based Remote Home Control System

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

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

More Related