Worldwide Auto-mobi: Arduino IoT Home Automation ...

2 downloads 0 Views 2MB Size Report
Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices. 2. • Introduction. • The Problem of Paper. • Hybrid Technology. • Internet of things ...
Authors: Prof. Ayad Ghany Ismaeel & Mohammed Qasim Kamal Al-Kitab University College

Erbil Polytechnic University

• • • • • • • • • • • •

Outline

Introduction The Problem of Paper Hybrid Technology Internet of things (IoT) Cloud Computing Proposed Automation System How the System Works ESP8266 Work flow Prototyping the Worldwide Auto-mobi Device Mobile Application Discussion the Results Conclusions and Future Works Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

2

INTRODUCTION • Remote control automated for single or multiple electronic and electrical devices in anywhere and at any time for digital TV, receiver, camera, etc. via mobile App • automation have a major impact when discovered, and served many fields such as medical, industrial, corporation, building, transportation etc., and then it expanded and reached homes, known as "Home automation“ • Such as controlling TV, Radio, DVD-Player which can be found in every home now days. Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

3

INTRODUCTION (Cont.) • All these devices have a common way of communicating and responding • Using a remote control which sends signals. • Remote control is a small device which sending IR signals to the device • The device confirms these signals and responds according to a simple written program to produce the signal • Remote control uses electromagnetic waves. Light, xrays, radio waves, and microwaves to send signals Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

4

INTRODUCTION (Cont.)

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

5

The problem of Paper • The problem is to control multi devices anywhere & anytime using an IR system • There are many remote controls in daily life use. • It could get lost or trouble of having many • For controlling mechanism either there is computer or mobile like android but the problem there isn’t hybrid system that can run on multi device Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

6

Hybrid Technology • Hybrid technology allows human to use one single platform to cover more than one device • Combining native and web applications • For example desktop, web, mobile, tablet, TV, watch and many other devices • In addition, it is open source software, this feature makes the most used devices covered in the market to reach more users • Open platform PhoneGap and Cordova software • Open platform ionic framework Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

7

Hybrid Technology (Cont.)

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

8

Internet of Things (IoT) • Nowadays most common use devices such as mobile, sensor, watch, TV connect to the Internet using a wireless technology. • IoT makes them capable of share, communicate, and transfer data through the Internet whether posting to a server or reading data from a server • There are many devices that support IoT like Arduino, Raspberry PI and other micro-electronic devices • IoT capable of using the Internet and wireless technology to produce an environment of a remote control system to create home automated system in house/office to monitor/control Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

9

Internet of Things (IoT) (Cont.)

Arduino UNO

Raspbeery PI

WiFi Shield

ESP8266

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

10

Cloud Computing

• Cloud computing is serving many areas like infrastructure, platform, and software • There are many examples in-use such as Amazon and Google • Google as an example provides a service called "Google app engine" by which you can create your own service and program by python, for example, a chat application. • This service can be available for anyone who has the Internet and a computer

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

11

Proposed Automation System • There are many appliances to be controlled, whether it is a TV, Satellite, DVD player or any device that have a remote/local control capable of sending IR signals • For setup requirement, a router is needed to provide the Internet connection. • Any smart phone like iPhone/android or iPad/Tablet will do job for software part. • The hardware will try to connect the available WiFi, • Then connects with cloud via a unique key, and • Then open a MQTT broker connection for publish and subscribe to work Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

12

Proposed Automation System(Cont.)

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

13

How the System Works

• Sending the signal will be a matter of clicking a button on your phone to send IR to cloud, which hardware subscribed to cloud, and receive all published message from it • The signal will be directed to the hardware unit through router, and it will send IR directly via IR sender LED • After successful transmission ESP8266 will goto listening again for new message • ESP8266 will try to connect to local WiFi if fails it will reset and try again the same goes for cloud after successful connection to WiFi then it will connect to cloud if fails it will reset and try again Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

14

ESP8266 Work flow

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

15

How it works • For example, the mobile application volume up is pressed • The AngularJS controller will search for IR hexadecimal code, encode and bit inside the JSON data base • Then concatenate it and send it by an HTTP request GET method • The hosting server (cloud.arest.io) using a unique id which is a topic used for publish and subscribe that defined previously for ESP8266 • The cloud will publish this message to ESP8266. • ESP8266 will extract this message and send the data to IR LED. Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

16

Prototyping the Worldwide Auto-mobi Device

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

17

Mobile Application • The mobile software created by hybrid application that can be run on multiplatform like Android/iPhone and other platform device using Ionic framework as background • Android and iOS SDK are needed to build the application and run on actual device • Just take your favorite control, open left menu, select your model of control and freely control your home appliance remote in anywhere, any location and any distance.

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

18

Mobile Application (Cont.)

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

19

Discussion the Results Comparing to Others Systems • The important factor of proposed system is the delay/response time founded (0.4 to 1) Sec • According to internet speed (is 3G or 4G) and how far or near to your home • This range is near realtime (within a few seconds) mobile cloud App Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

20

Conclusions

• The proposal of IoT home automated system shows controlling devices locally or remotely (anywhere and any location) using WiFi technology • hybrid mobile application can be run in any platform (like Android, IOS, Windows, etc.). • The proposed system provides a solution to combine multiple controls in home by using a single application on the smart device. • The application gives an easy and control to apply compact by using simple interface of buttons made by Ionic framework supported by Angular JS • The system is easy to change the control of the appliance, just swipe on device to control the different appliance Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

21

Future Works • Can use the proposed system for remote controlling of dangerous devices via

Worldwide Auto-mobi device, e.g. nuclear power tests and a rescue robot distance, these devices needed a safety distance during the work, which can't be directly operated and for safety can be controlled remotely. • A level of security between user and cloud service is provided to a device by encrypting the channel. • Expanding cloud parameters make the remote control better for sending data to cloud this make exporting JSON data easier and data can be fetched faster. • Increasing the size of library for sending IR signal makes the control more general and controlling more appliance in future. • Replacement Arduino UNO with Arduino Nano as a small, complete, and breadboard-friendly board e.g. based on e.g. the ATmega328 (It has more or the same functionality of the Arduino Duemilanove, but in a different package) to minimize the size of Worldwide Auto-mobi device to become like any other IR device, e.g. W809 smart remote device (WiFi smart home automation) or smallest. Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

22

References [1] C. Woodford. (2015, 23-11-2015). Remote control. Available: http://www.explainthatstuff.com/remotecontrol.html [2] R. G. Anmol Khandeparkar, B.Sindhya (May 2015), "An Introduction to Hybrid Platform Mobile Application Development," International Journal of Computer Applications, vol. 118, pp. 31-33. [3] M. d. Sousa , "Introducing Galileo and Intel IoT Developer Kit Tools" in Internet of Things with Intel Galileo 1st ed. Livery Place 35 Livery Street Birmingham B3 2PB, UK: Packt Publishing Ltd, 2015, pp 1-11, 75-85. [4] K. S. M. Vinay sagar K N (June 2015), "Home Automation Using Internet of Things," International Research Journal of Engineering and Technology (IRJET) vol. 2, pp. 1965-1970,. [5] X. C. a. S. H. Ling Tang, "When Social Network Meets Mobile Cloud: A Social Group Utility Approach for Optimizing Computation Offloading in Cloudlet" unpublished. [6] R. Z. Y. Ayad Ghany Ismaeel, Essa F. Abdallh (April 2013), "GUI Based Automatic Remote Control of Gas Reduction System using PIC Microcontroller," IRACST – Engineering Science and Technology: An International Journal (ESTIJ), vol. 3, pp. 217-227. [7] S. K. Khadke (May - Jun. 2014), "Home Appliances Control System Based On Android Smartphone," IOSR Journal of Electronics and Communication Engineering (IOSR-JECE), vol. 9, pp. 66-72. [8] W. Q. YAN Wenbo, GAO Zhenwei (July 2015), "Smart Home Implementation Based on Internet and WiFi Technology," presented at the Proceedings of the 34th Chinese Control Conference, Hangzhou, China. [9] N. G. H. Ayad Ghany Ismaeel (February 2014), "Mobile GIS and Open Source Platform Based on Android: Technology for System Pregnant Women," International Journal of Scientific & Engineering Research, vol. 5, pp. 847854. Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

23

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

24

Thank You • Authors: • Prof. Ayad Ghany Ismaeel & Mohammed Qasim Kamal •

Al-Kitab University College

Erbil Polytechnic University

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices

25