Serological tumor markers for small cell lung cancer and their therapeutic implications

Serological tumor markers for small cell lung cancer and their therapeutic implications

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq Worldwide Auto-mobi: Arduino...

482KB Sizes 0 Downloads 62 Views

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq

Worldwide Auto-mobi: Arduino IoT Home Automation System for IR Devices Ayad Ghany Ismaeel- MIEEE

Mohammed Qasim Kamal

Computer Technical Engineering Al-Kitab University College Kirkuk, Iraq [email protected]

Department of Information System Engineering Erbil Polytechnic University Erbil, Iraq [email protected]

Abstract— The common in use for remote control tasks achieved via specific mobile (e.g. Android or iOS) and this control done only by radio remote control systems, infrared (IR) devices, etc.and limited in the edges of office/house, but not remote control automated for electric/ electronic devices from anywhere (outside of office/house). This paper proposed an Internet of Things (IoT ) home automated system in two categories, the hardware via a device named Worldwide Automobi and software has been designed to automate a favorite used devices such as TV, SAT, DVD addition to any other devices that can be controlled by an IR signal, locally and anywhere (wide world) via a hybrid mobile application will reduce the number of used controllers in the house by using a single mobile software that control devices using Internet via a WiFi module ESP8266 based on Arduino UNO. This system is being connected to a cloud server and to the mobile application can support iOS/Android mobile or iPad/Tablet. The implementation of the proposed system of home automated was achieved in minimum cost (about 30$) for office/house devices and with a delay in the range (0.4 -1) s. this range near real-time (within a few seconds), i.e. it provides a good solution which can be reached in anywhere and anytime based on the cloud. Keywords— Smart Home, Remote Control, IoT, Cloud, WiFi, Arduino, ESP8266, Hybrid Mobile App.

I.

INTRODUCTION (HEADING 1)

Fast-paced life and frequent preoccupation of human commitments make him have not a sufficient time in his house and needs 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. All these devices have a common way of communicating and responding by using a remote control which sends signals. Remote control is a small device which sending IR signals to the device, and the device confirms these signals and responds according to a simple written program to produce the signal, this program contains loops to print a number several times, using an Arduino UNO board and LED light emitting diode light, remote control uses electromagnetic waves. Light, x-rays, radio waves, and microwaves to send signals as shown in Fig.

978-1-5386-2955-0/17/$31.00 ©2017 IEEE

1[1]. The problem is to control multidevice anywhere any location using an IR system as 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 multidevice. A. Hybrid Technology Hybrid technology allows human to use one single platform to cover more than one device out there by 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 [2].Examples of open source software involve: x x

Open platform PhoneGap and Cordova software Open platform ionic framework

B. 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[3], and other micro-electronic devices. IoT capable of using the Internet and wireless technology to produce an environment of a remote

Fig. 1.

IR signal emitting from a LED diode.

52

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq

Control system to create home automated system in house/office to monitor/control [4].

connection is made between the smart unit and home proxy actively providing the state of the unit[8].

C. Cloud Cloud computing is serving many areas like infrastructure, platform, and software, as 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. As for this research a cloud service that monitor electronic device and post this data to the cloud used. The mobile application will be fetching data from the cloud as needed[5].

Ismaeel and et. al. The drawback is limitation of range (150m) and all the system is wire base there is no mobile application.

II. RELATED WORK Ismaeel and et. al. (2013) designed an automatic remote control system for gas reduction using PIC microcontroller, this system uses a PIC microcontroller which can be programmed to control the gas station. The controller consists of three main blocks: flash program memory, random access memory, and electrically erasable programmable read only memory. The flash memory stores the program permanently which can rewrite it at any time. To write data, erase old data can be used first then enter new data. After ending hardware programming, a graphical user interface can use as a control system, IP network as an open platform provides monitoring remotely from a distance that reaches (150m) arbitrary[6]. Khadke(2014) designed a home appliance control system using an Android smartphone. This system uses a GSM network, home information center, a wireless switch which transmit commands from the android to the controller. The commands executed and radio frequency sent to control the device ultimately. The user has to create an account to get a permission and ID for identifying him by the information center, so it can control home appliance through a Bluetooth. When the phone Bluetooth is searching for related devices to pair and connect, you will be ready to send the message to the device to control your home appliance [7]. Wenbo et al. (2015) designed a smart house based on internet and WiFi technologies. This method provides a wireless solution by using internet protocol in controlling your home appliance, also by using smart units and home proxy. This system uses UART-WiFi that can easily be access by IoT to provide wireless functionality and by help of proxies to connect and transmit data between the device and the user controller. For controlling and monitoring the state of peripherals that exist in home, XMPP is used. There is a server that runs DBMS system using MySQL with XMPP protocols to store user data. You need to register on the server before you can have access to control your home device. The smart unit makes a safe wireless network broadcasting which enables mobile phone to access through a (wireless name, encryption type and password). The module uses a local IP port and address to open configuration for user, and can be communicated through AT commands. For software part, the home proxy establishes a link with the wireless network, then it will try to find smart units to connect. After finding the link, a

Khadke The drawback the system is only for android and there is no cloud as solution. Wenbo et al. The drawback of the system is it cost more compared to other device, there is no cloud system nor for backup or controlling mechanism and the mobile application is only for android. This paper proposes an automated system to overcome the previous drawback by making the control work available anywhere any location, also supporting it by a framework to provide a cross-platform functionality with a minimum cost. III. PROPOSED AUTOMATED SYSTEM System architecture can be presented as shown in Fig. 2 in any home, 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, thus will design novel device achieved these tasks named Worldwide Auto-mobi. 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 go to 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. Fig. 3 describes the WiFi module ESP8266, and shows how it handles the workflow during sending and receiving data from the cloud. For experimental result If all the appliance to be controlled is place in one place the Auto-mobi device will be point to these devices and establish in the room to cover devices that not pointed to one direction by repeating the signal for IR LED in four direction to remote control all appliance in the room and it enough only GPIO0 for sending the signal.IR LED can work in range of 2.5-3.5m. for different device to be controlled there

53

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq

IV. HARDWARE AND SOFTWARE COMPONENTS This section contains the ways to assemble hardware and software parts, and the required software units to install. A. Hardware required parts:

Fig. 2. Remote/Local Control Automated System Architecture via WiFi.

Is a JSON database that contain the device name, model, and control data. The user if want to control TV just swipe the mobile application and go to TV slide and select device name and control it.

x Arduino Uno 17$ x Bread Board 1$ x ESP8266 8$ x IR sender 2$ x 9 Volt Power source 2$ x Addition to Router broadcast WiFi, and x Internet connection Microcontroller Arduino UNO have Pulse Width Modulation (PWM), these pins provide on-off pattern that give voltage between (5Volts-0Volts) if control is fast enough. ESP8266 have two GPIO, pin 0 and 2. The IR sender have three pin Grounds (GND), 5 Volts (V), signal (S). In order to install IR sender connects S pin to ESP8266 GPIO0 using bread board as extender to providing the IR sender with this pattern and producing the same signal which a TV remote control do when a button pushed and for IR sender GND connected to GND on Arduino UNO also ESP8266 needs a source power, for that CH-PD and VCC pins will be connected to 3.3V on Arduino UNO and ESP8266 GND connected to Arduino UNO GND. Fig. 4 shows automated device called Worldwide Auto-mobi which implemented in total cost about 30$ as referring above at each component of this device.

Fig. 4. Prototyping the Worldwide Auto-mobi Device.

B. Required Software for hardware x x x x

Arduino 1.6 or later aRest Library PubSubClient Library ESP8266 Boards

C. Required Software for Mobile Development Fig. 3. ESP8266 Work Flow Architecture

x x x x

Ionic Lab PhpStorm PhoneGap and Ionic Package Android SDK for android

54

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq

x iOS SDK for iPhone Case study: 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 retrieve it then concatenate it and send it by an HTTP request GET method to which is 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 Publish Subscribe Client have QoS0 which is a topic to publish and subscribe for. the cloud will publish this message to ESP8266. ESP8266 will extract this message and send the data to IR LED. V. WEB SERVICE JavaEE 6 web servicesis aformat that tells a computer how to display a web page in client side. The documents themselves are codes that a web browser uses to interpret and display information on your computer screen. While in server side a php file contains small scripts. The php tags tell the Web browser how to display the page[9]. ESP8266 Client listen to cloud if any message publish it will automatically receive it, all that done in software side 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 and initial stage to deploy the application to market[2]Android and iOS SDK are needed to build the application and run on actual device as shown in Fig. 7, the installation of the application control buttons by the user and title appear on top. Just take your favorite control, open left menu, select your model of

Fig. 5. ESP8266 Send IR Signal TABLE I.

COMPARING THE PROPOSED AUTOMATED SYSTEM WITH OTHER RELATED TECHNIQUES/SYSTEM

Feature copy Cost

Remote Control Microcontr oller IoT Home Automated Based on Cloud Hybrid Platforms, e.g. iOS, Android, etc. addition to PC’s Data exchange between mobile and device via Delay via Cloud

Proposed System More table copya 30$ is Low cost relatively to Others Locally and anywhere, i.e. worldwide Arduino Uno & ESP8266

Ismaeel and et. al.

Wenbo et al.

Vinarysagar K & et al

More cost

More cost

More cost

Not acceded than 150m

Local and Remote

Local

PIC

Smart Unit

Intel Galileo

There is

x

x

There is, but for backup only

Support

Can't support Mobile

Only Androi d

x

Cloud

x

Server and proxy

Local network

0.4-1 S.

x

x

x

control and freely control your home appliance remote in anywhere, any location and any distance. Setup method will prepare the required variables and functions to be accessed by the cloud, IR method will send the signal after receiving parameters from mobile which will trigger the cloud to post a message to the device and perform a task such as sending a signal of a Sony remote control as shown in Fig. 6. VI. ILLUSTRATIVE A. ESP8266 settings: Unique ID d5EC7s to initialize ESP8266 as client and register it for publish subscribe client then add it to aRest API. B. Cloud settings: http://Cloud.arest.io is ready to use and free the following commands can be used to send data to cloud http://cloud.arest.io/d5EC7s/mode/0/o by requesting this link with HTTP GET the GPIO0 of ESP8266 will be set to output then http://cloud.arest.io/d5EC7s/sendCode?params=0x5FA02FD:3 2:NEC will request to send message (sendCode) holds the message of (params) which contain the hexadecimal, bit and encoding to ESP8266.

55

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq

VIII. CONCLUSION The proposal of IoT home automated system shows controlling devices locally or remotely (anywhere and any location) using WiFi technology, micro-electronic Arduino UNO and 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. The proposed system is economical because using a low cost device (about 30$) and the delay of time this system shows range (0.4-1) Sec. that means within response of real time, this range based on internet speed also how far or near the home. Finally, this proposed system provides a best solution of remote controlling can be reached to electric/ electronic devices anywhere anytime through cloud. The future works can summary as follow: • 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.

Fig. 6. ESP8266 Send IR Signal

• Expanding cloud parameters for example (limited size of sending data to devices) make the remote control better for sending data to cloud this make exporting JSON data easier and data can be fetched faster.

VII. DISCUSSION RESULT

• Increasing the size of library for sending IR signal for example (the size of each IR is limited) makes the control more general and controlling more appliance in future.

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 real-time (within a few seconds) mobile cloud App. [10]. Table (1) shows the efficiency of proposed automated system comparing to other related systems.

• Replacement Arduino UNO with Raspberry Pi or 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 Automobi device to become like any other IR device, e.g. W809 smart remote device (WiFi smart home automated) or smallest. • In future this system upgrade multiple actuating signals (multiple directions communication downstream because the cloud free can support 5 devices at time http://arest.io/cloud) by add sensor signals communicated in upstream to be as IoT for Home Automation

IX. REFERENCES 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. [1]

Fig. 7. Remote Control Application on Android, iOS, etc.

56

2017 International Conference on Current Research in Computer Science and Information Technology (ICCIT), Slemani - Iraq [3]

[4]

[5]

[6]

[7]

[8]

[9]

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. 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,. 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. 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. 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. 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. 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. 847-854

57