IMPLEMENTATION OF SMART HOMES AND INDUSTRIAL AUTOMATION SYSTEM WITH SECURE COMMUNICATION USING GSM
Ahmed, I., Ahmed, S., Ahmed, U., Habib, T., Haq, S., Jamil, R., Khan, M.,
Raza, A., Zahid, A.
S.E, DEPT. OF ELECTRICAL ENGINEERING, NEDUET, KARACHI PAKISTAN
KEYWORDS: Home and Industrial automation, Android Application, GSM Features, Surveillance System.
Home computerization is strategy for controlling our home hold apparatuses, refreshing the status of lights, fans, engines and different machines through any remote control gadget or cell phones. Their ON/OFF status can be changed by our want. Then again, in show time, PDAs including android and iPhones are incredible creations of innovation. The ungainliness of hanging out alongside a devoted remote control gadget or messaging a SMS for the reason has dependably gotten pool of intrigue the client’s brain towards utilizing such frameworks. Accordingly, in this movement we are presenting a savvy home and modern computerization and observation framework in which we control our apparatuses through an application introduced in our advanced mobile phone (Anwaarullah and Altaf 2013) which utilizes the accessible Global System for Mobile (GSM) highlights from any remote area inside our planet, subject to the accessibility of GSM organize. At the end of the day the lumbering of conveying committed separate remote control gadget and messaging the SMS has been disposed of. For observation reason, we utilized a Wireless Fidelity (Wi-Fi) camera, which transfers the photo or video spilling right away in any site or sends it to the PC framework. Then again a similar reason can be accomplished by utilizing any accessible programming which could enable imparting from any conclusion to station to PC. Each of these thoughts is talked about in extraordinary detail in the paper. The proposed look into work is exceptionally useful for the layman and furthermore to make life more resplendent and extravagant.
Home automation is a method of controlling the house hold appliances using any communication system from any location within the globe. The framework has dependably pulled in the general population since it gives individuals simplicity of controlling their home hold apparatuses and businesses regardless of whether they are physically not present there. The concept of Automation is not new one many automation systems have already been put into operation and are being used now a days. One of the famous ones includes ‘Remote Control Home Automation System via Bluetooth home Network’ (Anwarullah and Altaf 2013) or ordinary mobile phones for communication, such as proposed by (Isa and Sklavos 2016). Along with the ease of use there are couples of downsides of utilizing such frameworks. Most importantly, if a different remote control is committed with the end goal of mechanization, at that point client needed to convey that different gadget with him and such a training isn’t valued by the client, and also if the customary cell phones are utilized for speaking with machines, at that point the client needed to content a SMS each time for speaking with apparatuses, the clients are again hesitant to utilize such frameworks because of an additional exertion required. Keeping these disadvantages in thought, we are presenting a similar idea utilizing an Android or Apple Application (Jadhav, Chaudhari and Vavele 2014).
A similar correspondence which prior was finished utilizing the remote control or SMS is currently done through an application introduced in PDA. Android is a working framework which is every now and again being utilized as a part of a large portion of the PDAs and it has been a wellspring of fascination for countless over the globe due to its different highlights. The advanced mobile phones (Kumar and Tiwari 2015), which the general population are now utilizing for different purposes including the video and voice calls, web, Short Messaging Service (SMS) and other extremely valuable applications being presented each day (Tariq, Rashid and Khan 2015) would now be able to utilize it for dealing with their home apparatuses and even the entire business. In a nutshell, the entire home and the industry are under the control of the single touch of the proprietor. The framework under consideration has a very reasonable cost and can be implemented and modified with ease by very minor changes in its core design.
Many people have been attracted towards the simplicity and assurance of the security of the apparatuses the model provides to its clients even when they are miles apart with their belongings. There won’t be any need of messaging the SMS each time or some other devoted system foundation, in light of the fact that the entire correspondence is proposed to be done over the accessible GSM or Wi-Fi arrange (Satria, Budiharto and Wulandhari 2015).
SYSTEM HARDWARE DESIGN
Following is the list of components used in the hardware design.
1. GSM Module SIM 300/900 DZ
2. PIC Microcontroller (PIC 16f877A or PIC 18f452)
3. Transistors (C1383)
4. Relays (12v)
As a digital circuit is fairly easy all of the coding used in the micro controller, the heart of the circuit is done in C language. Then our circuit proceeds towards the second junction which is called the Transistor-Transistor Logic. This is the junction where the signals are received and deciphered into a language of filters such that the rest of the circuit can understand. These signals are forwarded to the micro controller which sends the instructions to a specific part of the circuit which will perform its certain task. The couplings and the relays are two of those specific parts of the circuit which carry out their tasks and forward their outcome to the SIM MODULE which again converts the set of instructions it has received into the language it was before and forwards those instructions to the GSM MODULE, which either turns on or turns on the circuit (Isa and Sklavos 2016).
The Receiving module used in this system is either SIM 300 DZ or SIM 900 DZ (Yeol Lee and Weon Choi 2003) both belong to ‘SIMCom Wireless Solutions’. The operating voltage ranges from 3.6 to 4.5 volts. For communicating with GSM module few AT Commands are required to be used.
The list of AT Commands is depicted in Table 1.
AT Commands Sr.
The Function of AT Command
Send SMS Message
Send SMS Message from Storage
List SMS Message
Read SMS Message
Service Centre Address
To Choose Storage from ME or SM
To Choose Auto Baud Rate
To Choose PDU mode
As appeared in Figure 1, GSM module is serially interfaced with PIC Microcontroller and since both work on the same TTL rationale along these lines, there is no need of level shifter or any RS232 convention to bring the similarity between them. Be that as it may, for reproduction reason, as a result of the non-accessibility of GSM module in Proteus, we needed to utilize a virtual terminal rather than GSM module and for doing the correspondence between the virtual terminal and Microcontroller, RS232 convention must be taken after and henceforth we needed to utilize MAX232 . The transfers and opto couplers are additionally utilized for assurance and exchanging reason.
PROTECTION OF THE SYSTEM
The security of the framework has been given a lot of significance. A three level security confirmation is utilized. Above all else, the application is ensured by means of a password given by the engineer of the framework, which implies that lone approved clients will have the capacity to dispatch the application regardless of whether the telephone is stolen. What’s more, the framework at the less than desirable end checks that the data it has gotten is from the approved client. The client is distinguished from the versatile number. Also, ultimately, to prevent the framework to be worked by sending the data by means of instant messages, the data is encoded and the key is known to the microcontroller at the less than desirable end with the goal that it could decode the data back. The method of encryption and the key is kept avoided the client.
The simulation of the projected system is carried out on Proteus (a proprietary software tool suit used primarily for electronic design automation), as shown in Figure 2. The hex file generated by any Universal Journal of Electrical and Electronic Engineering 3(4): 125-131, 2015 127 microcontroller compiler like Mikro C or Hi-Tech is loaded in the microcontroller which is coupled with a bulb and Hyper terminal through some electronic circuitry, relays and MAX 232 for level conversion. Because of the inaccessibility of GSM module and advanced cell in Proteus, the correspondence is helped out through Virtual Terminal. The encoded data along with the proprietor’s number is entered in the virtual terminal and is moved in the microcontroller by MAX232. Here MAX 232 is utilized under convention RS232 to give similarity between TTL rationale of microcontroller and RS232 rationale of virtual terminal. When the code is written on the virtual terminal, the knob connected with the RB0 works as needs be. The depiction of the reenactment is appeared in Figure 2.
PROGRESS OF THE APPLICATION
The improvement of the application is one of the real parts of the proposed framework, since it the sole reason which recognizes the framework from already executed and accessible such frameworks. There were a lot of things which were considered before picking the proper Integrated Development Environment (IDE) among the accessible ones. We pick Eclipse IDE for the application advancement reason. There was predominantly couple of purposes behind picking this IDE. Above all else, it gives ‘Simplified Facility’ for developing the application format, as appeared in Figure 3.
Furthermore, it gives a Built-in Android Virtual Device (AVD) called ‘Emulator’ for testing the application amid the advancement and investigating reason. An emulator is a virtual advanced cell accessible in the IDE for testing the application. The depiction of the Emulator is appeared in Figure 4.
After the right secret word is entered, a moment GUI is shown, which has the rundown of all the house hold or modern apparatuses in the drop down menu. The client chooses the apparatus, sets the flip On/Off catch and taps on send catch. The client can see the ON/OFF gadgets from the screen of the versatile which make it more agreeable to make choice of exchanging the gadgets. Along these lines, we can switch ON/OFF any gadget while driving or sitting in remote zones.
Each time this movement is played out, a SMS is sent to the getting module containing the encoded data about the position of chose thing in the drop down menu and flip catch, which is unscrambled by the microcontroller associated with the accepting module and controller works as needs be.
The type of research used is applied and quantitative research. The data obtained is on the basis of experiments and practical observations and is done in order to facilitate industrial, commercial and local users by bringing advancements in the field of automation. The instrument used for conducting research includes online available material, microcontrollers, IC’s, relays, driver units, various research papers etc. We have conducted our search about automation by working in various fields including industrial sector, home appliances, banks, security systems etc.
The literature work regarding this research topic has been reviewed for last twenty years in order to find out work carried out by various researchers. There are various types of system for remote monitoring and control which are designed as commercial products or experimental research platforms. It is generally observed that most of the research carried out belongs to the following categories:
· Internet Monitoring using Servers, GPRS modems.
· GSM-SMS protocols using GSM module separately or in combination with Internet.
· Wireless monitoring using Wireless Sensor Networks.
· Wireless Monitoring using sensors, Bluetooth, Wi-Fi and RF(radio frequency).
· Applications have vast scope in Home Automation, Security Systems, Bio-medical applications, Agricultural sector, Environment, Bridge health monitoring etc.
FUTURE ASPECTS OF THE PROJECT
The future applications of the project are very great considering the amount of time and resources it saves. It can be used as a reference or as a base for realizing a scheme to be implemented in other projects of higher level such as weather forecasting, temperature updates, device synchronization etc. The project itself can be modified in order to achieve a complete Home Automation System which will then create a platform for the interaction between user and the appliances (Kumar and Tiwari 2015). The future system will be consisting of a small box combining the microcontroller and GSM Module whose hardware will be self contained and cannot be susceptible to electric failure. The device will have its UPS and charging system. This system is developed for mobile reporting application only but it also can be interfaced to computer system to record and process data base (Satria, Budiharto and Wulandhari 2015). The following chart shows comparison between various countries on the basis of adoption of automation technology and growth in this sector:
The framework that we exhibited in this venture was a demo, and it can be effectively introduced in any home, office or businesses. The application and the infra-structure will require some minor alterations and the reconnaissance and security of the home maybe refined with some more endeavors. Dissimilar to beforehand outlined and executed robotized frameworks there is no weight of conveying the different remote controller or messaging the SMS at whatever point there is need of exchanging the apparatuses. In the equipment execution of the proposed framework, we figured out how to control eight unique apparatuses from our introduced application. At whatever point we want, we can check the present status of our apparatuses right in our advanced mobile phone through a basic working application. This framework isn’t just for house hold apparatuses it can be utilized for mechanical mechanization also and security of substantial and costly hardware. This entire system is done through GSM network (Tariq, Rashid and Khan 2015). A similar correspondence should be possible over Wi-Fi organize by utilizing Wi-Fi module rather than GSM module. Additionally a client can get a caution through there advanced cell with a few sensors introduced in the home, similar to warnings about the fire, alert, or gas spillage. We are getting greater possibility by introducing the proposed framework in our homes or in businesses. The framework cost is low and the upsides of the framework are similarly high. By utilizing the proposed framework, we can make our life more lavish and change the method for living.
Anwaarullah, S. and Altaf, S. (2013). RTOS based Home Automation System using Android. International Journal of Advanced Trends in Computer Science and Engineering, online2(1), pp.480 – 484. Available at: http://www.warse.org/pdfs/2013/icacsesp87.pdf
Isa, E. and Sklavos, N. (2016). Smart Home Automation: GSM Security System Design Implementation. JOURNAL OF Engineering Science and Technology Review. online Available at: http://jestr.org/downloads/Volume10Issue3/fulltext221032017.pdf
Jadhav, P., Chaudhari, A. and Vavale, S. (2014). Home Automation using ZigBee Protocol. International Journal of Computer Science and Information Technologies, online 5(2), pp.1778-1780. Available at: http://ijcsit.com/docs/Volume%205/vol5issue02/ijcsit20140502186.pdf
Kumar, A. and Tiwari, N. (2015). Energy Efficient Smart Home Automation System. International Journal of Scientific Engineering and Research (IJSER), online 3(1). Available at: https://pdfs.semanticscholar.org/e16e/8410b10c190d8d6cc56ac453e6a8977363cf.pdf
Kumar Sharma, A., Kumar Choubey, K. and Sharma, M. (2015). Industrial Automation Using 8051 Microcontroller. International Journal of Advanced Engineering Research and Studies.online Available at: http://www.technicaljournalsonline.com/ijaers/VOL%20IV/IJAERS%20VOL%20IV%20 ISSUE%20II%20JANUARY.pdf
Satria, A., Budiharto, W. and Wulandhari, L. (2015). The Framework of Home Remote Automation System Based on Smartphone. International Journal of Smart Home online 9(1), pp.53-60. Available at:
Tariq, F., Rashid, M. and Khan, M. (2015). Implementation of Smart Homes and Industrial Automation System with Secure Communication over GSM. Universal Journal of Electrical and Electronic Engineering. online Available at: http://www.hrpub.org/download/20150730/UJEEE3-14904202.pdf
Yeol Lee, K. and Weon Choi, J. (2003). Remote-Controlled Home Automation System via Bluetooth Home Network. In: SICE Annual Conference. online Available at: http://pegasus.javeriana.edu.co/~CIS0810SD03/HA%20Bluetooth.pdf