SMART DOOR
A mini project report submitted in partial fulfilment of the requirement for the
award of the Degree of
BACHELOR OF ENGINEERING
In
COMPUTER SCIENCE AND ENGINEERING
By
Mohammed Musharraf Nazeer (160717733069)
Zaid Fareed Ahmed (160717733089)
Mohd Ali Zain (160717733109)
Under the Guidance of
Mr.s P.M Tulasi
Assistant Professor, Department of CSE
Department of Computer Science & Engineering
Methodist College of Engineering & Technology
KING KOTI, ABIDS, Hyderabad, 500001
2018 - 19
1
Methodist College of Engineering & Technology
KING KOTI, ABIDS, Hyderabad – 500001
Department of Computer Science & Engineering
DECLARATION BY THE CANDIDATES
We Mohammed Musharraf Nazeer:(160717733069), Zaid Fareed
Ahmed:(160717733089) & Mohd. Ali Zain:(160717733109) Students of Methodist
College & Technology, pursuing Bachelor's Degree in Computer Science &
Engineering, hereby declare that this project report entitled "Smart Door" carried
out under the Guidance of Mrs P.M Tulasi submitted in partial fulfillment of
requirements for the degree of Bachelor of Computer Science. This is record work
carried out by us and the results embodied in this project have not been
reproduced/copied from any source.
Mohammed Musharraf Nazeer (160717733089)
Zaid Fareed Ahmed (160717733089)
Mohd Ali Zain (160717733109)
2
Methodist College of Engineering & Technology
King Koti, Abids, Hyderabad – 500001
Department of Computer Science & Engineering
CERTIFICATE BY THE SUPERVISOR
This is to certify that this project report entitled “Smart Door” being submitted by
Mohammed Musharraf Nazeer (160717733069), Zaid Fareed Ahmeed
(160717733089) & Mohd Ali Zain (160717733109), submitted in partial fulfillment
of the requirements for the degree of Bachelor of Computer Science and
Engineering, during the academic year 2018 – 2019 is a bonafide record of work
carried out by them.
Mrs P.M Tulasi
Assistant Professor
Date:
3
Methodist College of Engineering & Technology
King Koti, Abids, Hyderabad – 500001
Department of Computer Science & Engineering
CERTIFICATE BY THE HEAD OF THE DEPARTMENT
This is to certify that this project report entitled “Smart Door” being submitted by
Mohammed Musharraf Nazeer (160717733069), Zaid Fareed Ahmeed
(160717733089) & Mohd Ali Zain (160717733109), submitted in partial fulfillment
of the requirements for the degree of Bachelor of Computer Science and
Engineering, during the academic year 2018 – 2019 is a bonafide record of work
carried out by them.
Mrs P.Lavanya
Head of Department, CSE
Date:
4
ACKNOWLEDGEMENT
We would like to express our sincere gratitude to our project guide Mrs.
P.M Tulasi, Assistant Professor, for giving us the opportunity to
work on this topic. It would never be possible for us to take this project
to this level without his innovative ideas, relentless support and
encouragement.
We would like to thank our project coordinators Dr. B. Jayalakshmi,
Associate Professor, CSE and Mr Uday kumar, Assistant Professor,
CSE. They helped us by being an example of high vision and pushing
towards greater limits of achievement.
Our sincere thanks to Mrs.P.Lavanya, Head of the Department of
Computer Science and Engineering, for his valuable guidance and
encouragement which has played a major role in the completion of the
project and for helping us by being an example of high vision and
pushing towards greater limits of achievement.
We would like to express a deep sense of gratitude towards Dr. G.
Ravinder Reddy, Principal, Methodist College of Engineering and
Technology, for always being an inspiration and for encouraging us in
every possible way.
We would like to express a deep sense of gratitude towards
Dr.LakshmipathiRao, Director, Methodist College of Engineering
and Technology, for always being an inspiration and for encouraging
us in every possible way.
We are indebted to the Department of Computer Science & Engineering
and Methodist College of Engineering and Technology for providing us
1
with all the required facility to carry our work in a congenial
environment. We extend our gratitude to the CSE Department staff for
providing us the needful time whenever requested.
We would like to thank our parents for allowing us to realize our
potential, all the support they have provided us over the years was the
greatest gift anyone has ever given us and also for teaching us the value
of hard work and education. Our parents have offered us with
tremendous support and encouragement, thanks to our parents for all
the moral support and the amazing opportunities they have given us
over the years.
2
ABSTRACT
The need for controlling electronic doors remotely is increasing every day. Our
project tries to fulfil the same using IoT technology. Making it super advanced
door opener cum locking system. On the website once the authorized person logs
in he/she gets a direct access of the door to open or close it, no matter how far
the door is physically from him/her.
3
Contents
ACKNOWLEDGEMENT .......................................................................................................................... 1
ABSTRACT ................................................................................................................................................. 3
1. INTRODUCTION................................................................................................................................... 5
1.1 EXISTING SYSTEM ............................................................................................................................. 6
1.2 PROPOSED SYSTEM ........................................................................................................................... 6
2. SYSTEM REQUIREMENTS ................................................................................................................ 7
2.1 HARDWARE REQUIREMENTS.......................................................................................................... 7
2.2 SOFTWARE REQUIREMENTS ........................................................................................................... 7
3. DESIGN AND IMPLEMENTATION .................................................................................................. 8
3.1 BLOCK DIAGRAM ............................................................................................................................... 8
3.2 IMPLEMENTATION ............................................................................................................................. 8
3.2.1 LOGIN MODULE ............................................................................................................................... 9
3.2.2 SWITCH MODULE ............................................................................................................................ 9
3.2.3 MICROCONTROLLER MODULE .................................................................................................... 9
3.3 FLOWCHART (user interface) ............................................................................................................ 10
3.3.1 INTERNAL FLOWCHART .............................................................................................................. 11
3.4 CODE.................................................................................................................................................... 11
4. RESULT ................................................................................................................................................ 13
5. CONCLUSION ..................................................................................................................................... 14
6. FUTURE SCOPE .................................................................................................................................. 15
REFERENCES .......................................................................................................................................... 16
4
1. INTRODUCTION
There has been a need of controlling Electronic doors remotely for automation and
security purposes. Our project tries to fulfill the same using the IoT technology
implementation over the electronic door lock making it a super advanced door
opener cum locking system. IoT Based Smart Door Project is controlled
by ATmega family microcontroller. Our project communicates over internet
using Wi-Fi module.
5
1.1 EXISTING SYSTEM
Pros
• Doors can be opened automatically with the help of either automatic
detection or manual control.
• The circuit is cheap but the response time is slower.
Cons
• Door and the control panel have to be in the vicinity of each other.
• Door and the control panel must be connected to the same power supply.
• The existing circuit is more complex than the proposed circuit.
1.2 PROPOSED SYSTEM
Pros
• Door can be opened and closed at will from any distance.
• Our circuit is much more straightforward than the existing circuits.
• Control panel can be any device with internet access.
• Door is completely secure since the control panel cannot be overridden
manually or physically.
Cons
• Control panel may not work without the access of Wi-Fi.
• It's response time is faster but it is expensive.
6
2. SYSTEM REQUIREMENTS
2.1 HARDWARE REQUIREMENTS
Arduino UNO Wi-Fi [NODEMCU]
LED Display
Stepper Motor
Motor Driver
Bread Board
Jumper Wires
2.2 SOFTWARE REQUIREMENTS
IoT Gecko (Website) / Blynk (Application)
Arduino IDE (Compiler)
7
3. DESIGN AND IMPLEMENTATION
3.1 BLOCK DIAGRAM
3.2 IMPLEMENTATION
• The project can be divided into three modules, namely;
1. Login Module
2. Switch Module
3. Microcontroller Module
• Each module has various functions and options that enable the user to
interact with the smart door.
8
3.2.1 LOGIN MODULE
In order to get access to the virtual switch to control the smart door, the user
has to enter his credentials in the login page of the IoT Gecko website.
(iotgecko.com)
This is a secure method for a user to access their Wi-Fi controlled door.
The procedure to login is absurdly simple, if a user is new, they will have to
register.
If the user is registered and wants to access the website normally all they
have to do is login with their credentials in the website.
3.2.2 SWITCH MODULE
This module is used to control the door using Wi-Fi signals.
Once the switch is clicked, it transfers the signal to the Wi-Fi module built in
the microcontroller.
The Wi-Fi module receives these signals and sends them to the
microcontroller.
Here the user also has the option to logout of the program.
This switch is provided by the IoT Gecko.
3.2.3 MICROCONTROLLER MODULE
This module consists of the Wi-Fi module, Node MCU, LED Display,
Motor Driver, Stepper Motor.
Wi-Fi module receives signals from the IoT gecko website and processes the
data sends & signals to the LED Display and the Motor Driver.
9
The ‘LED Display’ displays the messages like “The door is opening” or “the
door is closing” when the respective command is given to it by the Node
MCU.
The Motor Driver regulates the power supply, RPM, of the Stepper Motor
Whether to rotate clockwise or counter-clockwise.
3.3 FLOWCHART (user interface)
10
3.3.1 INTERNAL FLOWCHART
3.4 CODE
#define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
char auth[] = "da37604627f9420ba0348298743a5a87";
char ssid[] = "WiFI_Name";
char pass[] = "WiFI_Password";
11
void setup()
Serial.begin(9600);
Blynk.begin(auth, ssid, pass);
void loop()
Blynk.run();
12
4. RESULT
4.1 SCREENSHOTS
Fig. 4.1.1 Execution screen after Compilation
Fig. 4.1.2 Screen of the R.C Application
13
5. CONCLUSION
The technology we use is very basic and user-friendly.
Our project fulfils the need of security and reliability.
It is easy to work with and very hard to override.
It has a simple user interface.
It is very efficient and feasible.
High security, efficiency, reliability, user-friendly, all these aspects are
important for today’s security systems almost everywhere, so, this gives our
project a huge stipulation in the market for all kinds of buyers.
14
6. FUTURE SCOPE
Our project will be able to implement in future after making some changes and
modifications. The modifications that can done in our project are:
Burglar Alarm System
System Overriding Feature
Increase the number of users
15
REFERENCES
1. Iotgecko.com
2. https://nevonprojects.com/electronic-door-opener /
3. Arduino IDE compiler
4. https://play.google.com/store/apps/details?id=cc.blynk
16