SMART HOME: WI-FI BASED HOME AUTOMATION SYSTEM
by
Md. Rakibul Islam Rabbi
ID: 153-15-6599
Md. Mohseur Rahman
ID: 153-15-6590
AND
Md. Shariful Islam
ID: 152-15-6127
This Report Presented in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Computer Science and Engineering
Supervised By
Mr. Masud Rabbani
Lecturer
Department of CSE
Daffodil International University
Co-Supervised By
Mr. Naziour Rahaman
Lecturer
Department of CSE
Daffodil International University
215265011366500
DAFFODIL INTERNATIONAL UNIVERSITY
Dhaka, Bangladesh
AUGUST 2019
APPROVAL
This Project titled SMART HOME: WI-FI BASED HOME AUTOMATION SYSTEM, submitted by Md.
Rakibul Islam Rabbi, Md. Mohseur Rahman and Md. Shariful Islam to the Department of Computer Science and Engineering, Daffodil International University, has been accepted as satisfactory for the partial fulfillment of the requirements for the degree of B.Sc. in Computer Science and Engineering (BSc) and approved as to its style and contents. The presentation has been held on August, 2019.
Board of Examiners
012319000
Dr. Syed Akhter Hossain Chairman
Professor and Head
Department of Computer Science and Engineering
Faculty of Science & Information Technology
Daffodil International University010858500
Dr. Sheak Rashed Haider Noori Internal Examiner
Associate Professor & Associate Head
Department of Computer Science and Engineering
Faculty of Science & Information Technology
Daffodil International University013335000
(Name) External Examiner
Designation
Department of ——-
Jahangirnagar University
Declaration
We hereby declare that, this project has been done by us under the supervision of Mr. Masud Rabbani, Lecturer, Department of CSE Daffodil International University. We also declare that neither this project nor any part of this project has been submitted elsewhere for award of any degree or diploma.
Supervised by:
011938000
Mr. Masud Rabbani
Lecturer
Department of CSE
Daffodil International University
Co-Supervised by:
011938000
Mr. Naziour Rahaman
Lecturer
Department of CSE
Daffodil International University
Submitted by:
016192500
Md. Rakibul Islam Rabbi
ID: 153-15-6599
Department of CSE
Daffodil International University016192500
Md. Mohseur Rahman
ID: 153-15-6590
Department of CSE
Daffodil International University
016192500
Md. Shariful Islam
ID: 152-15-6127
Department of CSE
Daffodil International UniversityACKNOWLEDGEMENT
First we express our heartiest thanks and gratefulness to almighty God for His divine blessing makes us possible to complete the final year project/internship successfully.
We really grateful and wish our profound our indebtedness to Mr. Masud Rabbani, Lecturer, Department of CSE Daffodil International University, Dhaka. Deep Knowledge & keen interest of our supervisor sir in the field of Internet Of Things to carry out this project. His endless patience, scholarly guidance, continual encouragement, constant and energetic supervision, constructive criticism, valuable advice, reading many inferior draft and correcting them at all stage have made it possible to complete in this project.
We would like to express our heartiest gratitude to Dr. Syed Akhter Hossain, Professor and Head, Department of CSE, for his kind help to finish our project and also to other faculty member and the staff of CSE department of Daffodil International University.
We would like to thank our entire course mate in Daffodil International University, who took part in this discuss while completing the course work.
Finally, we must acknowledge with due respect the constant support and patients of our parents.
Abstract
This project presents a design and prototype implementation of smart home automation system that uses WiFi technology as a network infrastructure connecting its parts. Users can locally (LAN) or remotely (internet) manage and control system codes with advancement of technology things are becoming simpler and easier for us. Automatic systems are being preferred over manual system. This system puts forth the equipment which enables users to control their home appliances using their cellular phone. The project construction and working of the device to wirelessly control the home appliances. The hardware interface module, which provides appropriate interface to sensors and actuator of wifi based home automation system. Our System supports a wide range of home automation devices like power management components, and security components. The mentioned system is better from the scalability and flexibility point of view than the commercially available home automation techniques. The controlling device for the automation in the project is a Node Mcu.
TABLE OF CONTENTS
CONTENS
PAGE
Board of examiners i
Declaration ii
Acknowledgements iii
Abstract
Table of Contents
List of Figures
iv
v
vii
CHAPTER
CHAPTER 1: INTRODUCTION
1-2
1.1 Introduction 1
1.2 Motivation
1.3 Objective
1.4 Expected Outcome
1.5 Report Layout
CHAPTER 2: BACKGROUND
2.1 Introduction
2.2 Related Works
2.3 Comparative Studies
2.4 Scope of the Problem
2.5 Challenges
CHAPTER 3: REQUIREMENT SPECIFICATION
3.1 Business Process and Modeling
3.2 Requirement Collection and Analysis
3.3 Use Case Modeling and Description
3.4 Logical Data Model
3.5 Design Requirements
CHAPTER 4: DESIGN SPECIFICATION
4.1 Font-end Design
4.2 Back-end Design
4.3 Interaction Design and UX
4.4 Implementation Requirements
CHAPTER 5: IMPLEMENTATION AND TESTING
5.1 Implementation of Database
5.2 Implementation of Font-end Design
5.3 Implementation of Interactions
5.4 Test Results and Reports
CHAPTER 6: CONCLUSION AND FUTURE SCOPE
6.1 Discussion and Conclusion
6.2 Scope for the further Development
6.3 Limitation
REFERENCES
APPENDIX
Appendix A: Project Reflection
PLAGARISM 1
1
2
2
3-7
3
3
7
7
7
8-12
8
9
9
10
11
13-18
13
16
16
17
19-26
19
20
25
26
27
27
27
27
28
29
30
LIST OF FIGURES
FIGURES PAGE NO
Figure 2.1: Blynk app open
Figure 2.2: Arduino Software
Figure 3.1: Blynk project create system
Figure 3.2:
Figure 3.3:
Figure 4.1:
Figure 4.2:
Figure 4.4:
Figure 4.5:
Figure 4.6:
Figure 5.1:
Figure 5.2:
Figure 5.3:
Figure 5.4:
Figure 5.5:
Figure 5.6:
Figure 5.7:
Figure 5.8:
4
5
6
10
11
13
14
14
15
15
16
19
20
21
22
23
23
24
25
CHAPTER 1
INTRODUCTION
Introduction
This project aims at designing an advanced home automation system using Wi-Fi technology. The devices can be switched (ON/OFF) through Wi-Fi. Automation techniques is the most frequently spelled term in the field of electronics. The hunger for automation system brought many revolutions in the existing technologies. Its can be used as a replacement of the existing switches in home which produces flake and also results in fire accidents in few situations. Considering the advantages of Wi-Fi an advanced automation system was developed to control the appliances in the house. Wi-Fi (Short for Wireless Fidelity) is a wireless technology that uses radio frequency to transmit data through the air. Range of Wi-Fi technology is 40-300 feet. The controlling device for the automation in the project is a Node Mcu. The data sent from device over Wi-Fi will be received by Wi-Fi module connected to Node mcu. Node mcu reads the data and decides the switching action of electrical devices connected to it through Relays. The controlling device for the automation in the project is a Node Mcu.
Motivation
With wireless networks, associating mobile devices such as Smartphones with the Blynk automation system becomes possible in Wi-fi range and at any time.
Now the age of information technology system, so we want to make those type of application.
We think future demand will increase, so we want to do this.
Objective
To Remotely control of home appliances using Blynk app.
Our project goal is to develop a home automation system that gives the user complete control over all remotely controllable aspects of home.
We want to automation system will have the ability to be controlled Arduino software from a central host PC, the Internet, and also remotely accessed via a Pocket PC with a Windows Mobile based application.
Our system Involving the operation of appliances within a household/office.
Minimize power and time wastage.
Expected Outcome
This system control light, fan ON and OFF, control door lock and unlock by using wifi.
It controlled by an android Blynk apps.
The apps connected with both wifi and the Arduino software.
Report Layout
Chapter 1: Introduction
In this chapter we have talked about the motivation of our project, objectives, implementation and expected outcome of this project.
Chapter 2: Background
In this chapter we tried to discuss about different circumstances of our project. Related works, comparison with some other candidate systems and scope of the problem and challenges of the project.
Chapter 3: Requirement Specification
In this chapter we talked about business process modelling, requirement collection and analysis, use case modeling, logical data model and design requirements
Chapter 4: Design Specification
This chapter is all about the designs of the project. This chapter includes font-end design, back-end designs and UX implementations.
Chapter 5: Implementation and Testing
This Chapter we tried to include all the information about database, implementation of database, designs, test implementations and results.
Chapter 6: Conclusion and Future Scope
This chapter contains conclusion and future scope for developments.
CHAPTER 2
BACKGROUND
2.1 Introduction
This project is basically Arduino Software and Blynk app based Wi-fi system. Arduino software is an open source physical computing platform for creating interactive objects that collaborate with software on your computer. This software was designed for artists, designers, and others who want to incorporate physical computing into their designs.
Blynk app is a Platform with iOS and Android apps to controlled Arduino, Raspberry Pi and likes over the Internet process. This process is a digital dashboard where you can build a graphic interface for your project by simply dragging and dropping widgets.
2.2 Related Works
There are several systems related to our system. Here light and door controlled by apps using wifi. Connect the Arduino with wifi and Wifi connect with this apps. Then we can locally(LAN) and remotely manage and controll the system. When people thinking about home automation system, then most of them may conceive living in a smart home: remote controller for every household appliance, cooking the rice automatically, starting air conditioner automatically controlled, heating water for bath automatically. To some extent home automation process equals to smart home. They are both bring out smart living condition and make our life more convenient and fast.
First Blynk app open CITATION Man19 l 1033 [1] in figure 2.1.
Figure 2.1: project create
Features:
Need to login for full feature
Generate Blynk Auth token code
Online Arduino items list
Project create to my apps
Problems:
Wifi connection must needed
Dont provide all in one application system
Not so much enough power
Some security issues
Second Arduino Software Open CITATION BDA19 l 1033 [2] in figure 2.2.
Figure 2.2: Arduino Software
Features:
Automated all process
Blynk project related coding system
Some libraries & tools installed
Codes running serial monitor
Problems:
Blynk Auth token code must need
All libraries & tools must installed
Wifi connection must needed
11430028575000Blynk project create system: figure2.1.1
231457535553650011430035458400
Fig: project create system
2.3 Comparative Studies
The device which we use in home automation are associate to ADK(Android Development Kit).The establishment of the connection between the Android device and ADK(Android Development Kit). The links into the ports as input/output of the board. Then it pass to the ADK(Android Development Kit).The USB host connection associated with Android Phone. Arduino software is use to do this process. It is capable of maintaining the system, set up and configuration. The system is better than the commercially home automation system because of the scalability and flexibility point of view. This application has been installed on a Android smartphone. Hardware interface modules are connected with sensors and actuators. It through to the direct wire connections. The hardware interface module has capable to control energy management system. The proposed system can control the following appliance:
(1) Lights On/Off
(2) Fan On/Off
(3) Door Lock/Unlock
2.4 Scope of the Project
Day by day, the field of automation is blooming and these systems are having great impact on human beings. The project which is to be implemented is a home Automation using Arduino software and Blynk app with Wifi and has very good future development.
In the current system Arduino software is installed on a windows PC so the home appliances can be controlled using only by using the device on which Blynk app is installed. This can be further developed installing Arduino and Blynk app.
2.5 Challenges
(1) Reliability: For successful home automation, the developer consideration of regarding the sensible device which ancient home appliances and equipment.
(2) Use: How it uses appropriately, it also the challenge of crate this type of system.
(3) Data transformation and integration: It is difficult. The software tools which provides are interact with particular products. It connects to devices from other manufacturers.
(4) Liability: Give the solution to smart device problems. Then it updates and patches.