Paper 2099
Paper 2099
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
Abstract: Nowadays home security has become one of the most important concerns in our society. Most
of the security mishaps such as theft, robbery and other attacks occur mainly by breaking through the
door. These issues mainly occur due to negligence of the individual, lack of proper features and
maintenance of the door. Our project mainly deals with increasing the security of doors through an
advanced door locking mechanism using Iot. We use the NodeMCU, which is an IOT device acting as the
Microcontroller built around the ESP8266SoC for the entire system. For the locking mechanism we use
a solenoid lock, which can be electronically controlled with a relay depending upon various situations.
Non-sensitive real time information about the lock is displayed through an LCD module placed outside
of the door. Sensors such as Infrared sensor, passive buzzer, vibration sensor etc are used for additional
security so that it can raise an alarm in case of an emergency. Using the Blynk application the real time
data generated by all the sensors in the system such as locked/unlocked etc can be sent to the user’s
device as notifications. This also allows for remote monitoring as well as detection of issues within the
system using software programs rather than the user manually troubleshooting. All these methods
provide an extra layer of protection, control, and ease of use compared to traditional locking security
systems.
I. INTRODUCTION
IoT refers to a virtual internet connection from things, processes, people, animals and almost everything that we see
around. It describes a situation where everything in our surrounding environment is made capable of automatically
communicating with each other without any inter-human or human-to-machine interaction. Smart home based security
systems have become indispensable in daily life, due to the ability to monitor data, automation and control, ease of
access, better time management. The project describes about the implementation and deployment of an IoT based
home security door system, which can be remotely managed and monitored through a smartphone. With this the user
can have the convenience and the safety of technology at their hands.
In case of institutions, offices and large companies these issues get intensified, since there are multiple employees and
multiple access points, which can lead to major mishaps.
A much secure, practical and seamless solution is to use a door lock based upon Iot. This type of door lock ensures
that there is only a single virtual key which can’t be stolen or copied. These keys can be safely guarded as they don’t
exist in the real world and at the same time need for carrying around multiple keys can be easily eliminated. Door
access can be securely transferred to other people without the need for physically transferring the keys.
Using the leverage of Iot all the above mentioned real time factors of the door can be easily monitored through the
user's personal device without the need of physically checking each door. Considering the multiple advantages of
security, practicality, and ease of use, we propose a solution using Iot as a replacement for the existing system.
V. SYSTEM ARCHITECTURE
A. Features
Easy to use
Programmability with Arduino IDE or IUA languages
Available as an access point or station
practicable in Event-driven
driven API applications
Having an internal antenna
Containing 13 GPIO pins, 10 PWM channels, I2C, SPI, ADC, UART, and 1-Wire
1
B. Diagram
A. Working
In the left half of the image, the magnet is at a distance to the switch, which prevents the metal reeds from going
closer and completing the circuit. Whereas, on the other half of the image, it can be seen that wh
when the magnet is closer
to the switch, the metal reeds get connected to one another and the circuit is completed and we observe an output
through the sensor module.
To summarise, when the magnet is close by, the circuit is closed and we obtain an output,
output, and when the magnet is far
from the reed switch, the circuit is open and we do not get an output
B. Specifications
Below are some features and specifications of the MC-38
MC magnetic switch.
1. Rated current: 100mA
2. Power rating: 3W
3. Operating distance: 15 - 25mm
4. Cable Length: 30.5cm ± 12mm
5. Sensor Output: Normally Closed(NC) (Switch is closed when the switch and magnet are together)
C. Diagram
A. Working
The principle behind an electromagnetic lock is the use of electromagnetism to lock a door when energized. The
holding force should ld be collinear with the load, and the lock and armature plate should be face
face-to-face to achieve
optimal operation. The magnetic lock relies upon some of the basic concepts of electromagnetism. Essentially it
consists of an electromagnet attracting a conductor
conductor with a force large enough to prevent the door from being opened. In
a more detailed examination, the device makes use of the fact that a current through one or more loops of wire (known
as a solenoid) produces a magnetic field. This works in free space, space, but if the solenoid is wrapped around a
ferromagnetic core such as soft iron the effect of the field is greatly amplified. This is because the internal magnetic
domains of the material align with each other to greatly enhance the magnetic flux density.
C. Diagram
B. Pin Diagram
The 16×2 LCD pinout is shown below.
Pin1 (Ground/Source Pin): This is a GND pin of display, used to connect the GND terminal of the
microcontroller unit or power source.
Pin2 (VCC/Source Pin): This is the voltage supply pin of the display, used to connect the supply pin of the
power source.
Pin3 (V0/VEE/Control Pin): This pin regulates the difference of the display, used to connect a changeable
POT that can supply 0 to 5V.
Pin4 (Register Select/Control Pin): This pin toggles among the command or data register, used to connect a
microcontroller unit pin and obtains either 0 or 1(0 = data mode, and 1 = command mode).
Pin5 (Read/Write/Control Pin): This pin toggles the display among the read or writes operation, and it is
connected to a microcontroller unit pin to get either 0 or 1 (0 = Write Operation, and 1 = Read Operation).
Pin 6 (Enable/Control Pin): This pin should be held high to execute Read/Write process, and it is connected to
the microcontroller unit & constantly held high.
Pins 7-14 (Data Pins): These pins are used to send data to the display. These pins are connected in two-wire
modes like 4-wire mode and 8-wire mode. In 4-wire mode, only four pins are connected to the microcontroller
unit like 0 to 3, whereas in 8-wire mode, 8-pins are connected to microcontroller units like 0 to 7.
Pin15 (+ve pin of the LED): This pin is connected to +5V
Pin 16 (-ve pin of the LED): This pin is connected to GND.
B. Specifications
The features of this LCD mainly include the following.
The operating voltage of this LCD is 4.7V-5.3V
It includes two rows where each row can produce 16-characters.
The utilization of current is 1mA with no backlight
Every character can be built with a 5×8 pixel box
The alphanumeric LCDs alphabets & numbers
Is display can work on two modes like 4-bit & 8-bit
These are obtainable in Blue & Green Backlight
It displays a few custom generated characters
C. Diagram
6.5 IR Sensor
IR sensor is an electronic device that emits light in order to sense some object of the surroundings. An IR sensor can
measure the heat of an object as well as detect the motion. Usually, in the infrared spectrum, all the objects radiate
some form of thermal radiation. Theseese types of radiation are invisible to our eyes, but infrared sensors can detect these
radiations.
The emitter is simply an IR LED (Light Emitting Diode) and the detector is simply an IR photodiode . Photodiodes
are sensitive to IR light of the same wavelength
velength which is emitted by the IR LED. When IR light falls on the photodiode,
the resistances and the output voltages will change in proportion to the magnitude of the IR light received.
A. Working Principle
Infrared receivers or infrared sensors detect
detect the radiation from an IR transmitter. IR receivers come in the form of
photodiodes and phototransistors. Infrared Photodiodes are different from normal photo diodes as they detect only
infrared radiation.
Different types of IR receivers exist based on the wavelength, voltage, package, etc. When used in an infrared
transmitter – receiver combination, the wavelength of the receiver should match with that of the transmitter.
The emitter is an IR LED and the detector is an IR photodiode. The IR photodiode
photodiode is sensitive to the IR light emitted
by an IR LED. The photo-diode’s
diode’s resistance and output voltage change in proportion to the IR light received. This is
the underlying working principle of the IR sensor.
When the IR transmitter emits radiation, it reaches the object and some of the radiation reflects back to the IR
receiver. Based on the intensity of the reception by the IR receiver, the output of the sensor is defined.
B. Application
Climatology
Meteorology
Photobiomodulation
Flame Monitors
Gas detectors
Water analysis
Moisture Analyzers
Anesthesiology testing
Petroleum exploration
C. Diagram
A. Specifications
The specifications of the buzzer include the following.
Color is black
The frequency range is 3,300Hz
Operating Temperature ranges from – 20° C to +60°C
Operating voltage ranges from 3V to 24V DC
The sound pressure level is 85dBA or 10cm
The supply current is below 15mA
B. Applications
The applications of the buzzer include the following.
Communication Devices
Electronics used in Automobiles
Alarm Circuits
Portable Devices
Security Systems
C. Diagram
A. Working Principle
The working principle of vibration sensor is a sensor which operates based on different optical otherwise mechanical
principles for detecting observed system vibrations. The sensitivity of these sensors normally ranges from 10 mV/g to
100 mV/g, and lower and higher sensitivities are also accessible. The sensitivity of the sensor can be selected based on
the application. So it is essential to know the levels of vibration amplitude range to which the sensor will be exposed
throughout measurements.
B. Diagram
6.8 Relay
Relays are switches that open and close circuits electro mechanically or electronically. Relays control one electrical
circuit by opening and closing contacts in another circuit. Relays are generally used to switch smaller currents in a
control circuit and do not usually control power consuming devices except for small motors and Solenoids that draw
low amps. Nonetheless, relays can "control" larger voltages and amperes by having an amplifying effect because a
small voltage applied to a relay's coil can result in a large voltage being switched by the contacts. As relay diagrams
show, when a relay contact is normally open (NO), there is an open contact when the relay is not energized. When a
relay contact is Normally Closed (NC), there is a closed contact when the relay is not energized. In either case,
applying electrical current to the contacts will change their state.
A. Working Principle
It works on the principle of an electromagnetic attraction. When the circuit of the relay senses the fault current, it
energises the electromagnetic field which produces the temporary magnetic field. This magnetic field moves the relay
armature for opening or closing the connections. The small power relay has only one contact, and the high power relay
Copyright to IJARSCT DOI: 10.48175/568 135
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
has two contacts for opening the switch. The inner section of the relay is shown in the figure below. It has an iron core
which is wound by a control coil. The power supply is given to the coil through the contacts
contacts of the load and the control
switch. The current flowing through the coil produces the magnetic field around it. Due to this magnetic field, the upper
arm of the magnet attracts the lower arm. Hence close the circuit, which makes the current flow thr
through the load. If the
contact is already closed, then it moves oppositely and hence opens the contacts.
B. Specifications
Supply voltage – 3.75V to 6V
Quiescent current: 2mA
Current when the relay is active: ~70mA
Relay maximum contact voltage – 250VAC or 30VDC
Relay maximum current – 10A
C. Diagram
6.9 Battery
A battery is a device that converts chemical energy into electrical energy in the form of voltage, which in turn can
cause current to flow. A battery works by immersing two plates made of different metals into a special chemical
solution called an electrolyte. The metals react with the electrolyte to produce a flow of charges that accumulate on the
negative plate, called the anode. The positive plate, called the cathode, is sucked dry of charges.
charges. As a result, a voltage is
formed between the two plates.
Cylindrical batteries come in four standard sizes: AAA, AA, C, and D. Regardless of the size, these batteries provide
1.5 V each; the only difference between the smaller and larger sizes is that the larger batteries can provide more
current. The cathode, or positive terminal, in a cylindrical battery is the end with the metal bump. The flat metal end is
the anode, or negative terminal.
Copyright to IJARSCT DOI: 10.48175/568 136
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
A. Working
Lithium-ion
ion batteries are classified into liquid lithium ion batteries and polymer lithium ion batteries or plastic
lithium ion batteries according to the electrolyte materials used in lithium ion batteries. The positive and negative
materials used in the polymer lithium ion battery are the same as the liquid lithium ions. The positive electrode material
is divided into lithium cobaltate, lithium manganate, ternary material and lithium iron phosphate material, and the
negative electrode is graphite. The working principle of the battery is also basically
basically Consistent.
The lithium polymer battery electrolyte is a flexible solid polymer, and the metal ruthenium foil is sealed in the
battery, and can still operate normally at a high temperature of 180 °C.Since the polymer replaces the liquid electroly
electrolyte
with a solid electrolyte, the polymer lithium ion battery has the advantages of being thinner, arbitrarily area, and
arbitrarily shaped compared with the liquid lithium ion battery, so that the battery can be made of the aluminum
aluminum-plastic
composite film. Therefore, the specific capacity of the entire battery can be improved; the polymer lithium ion battery
can also use a polymer as a positive electrode material, and its mass specific energy will be increased by more than
20% compared with the current liquid id lithium ion battery. The polymer lithium battery is characterized by being
compact, thin, and lightweight.
C. Diagram
6.10 Charger
A charger, or AC/DC converter is a type of external power supply, often enclosed in a case similar to an AC plug.
Use of an external power supply allows portability of equipment powered either by mains or battery without the added
bulk of internal power components, and makes it unnecessary to produce equipment for
for use only with a specified power
source.
A. Working Principle
The basic components of a mobile charger are step down transformer, rectifier and voltage regulator. The supply that
comes in our home is 230V A.C. but the battery needs DC power. The batterybattery needs 5V dc. So first of all there is a
need to step down the ac voltage. This is done by a step down transformer. Now we get the lower AC. This AC now
needs to be converted to dc , this is done by the rectifier. Now a voltage regulator is used to regu
regulate the voltage. The
supply is now given to the battery of the mobile phone
B. Specification
Input - 100-240
240 VAC 50/60Hz
Category - Switch Mode Power Adaptor (SMPS)
Output Type - DC
Output - 12Volts 2A
C. Diagram
A. Diagram
VII. WORKING
Since our project is based on the Intelligence of IOT, it depends upon the interconnection of devices where the master
controller controls and monitors other devices connected to it. Therefore we conclude certain prerequisites before
enabling the perfect functioning of the project.
Copyright to IJARSCT DOI: 10.48175/568 138
www.ijarsct.co.in
ISSN (Online) 2581-9429
IJARSCT
International Journal of Advanced Research in Science, Communication and Technology (IJARSCT)
For the proper communication between the devices the user must have a Personal Home Network.
A Backup Power System is required for the uninterrupted functioning of the system.
The device used for controlling the system(Ideally a smartphone) must be registered with the Blynk
Application.
The Authentication Token generated by Blynk will be sent to the user’s Email Id and it must be added to the
program.
The Nodemcu must be connected to the user’s personal home network with its SSID and Password.
7. Backup Power
For the proper connectivity and transmission of data between the nodemcu and blynk server internet connection is
required. This is very important since loss of power to the system can result in failure of many crucial operations such
as data transmission, communication between devices and to the blynk server. Inorder to combat this issue we consider
the use of a backpower system such as an inverter to ensure proper functioning and communication of various devices
in our system. A backpower system also ensures that any unwanted tampering or malware injection can be prevented.
A backpower system capable of providing at least 150AH ~ 220V AC is recommended (Inverter capacity can vary
depending upon the user’s preference and home requirements).
The Nodemcu generates a signal to the solenoid lock which inturn unlocks the door. Considering an ideal condition,
implying the door is in the locked state ( solenoid lock and magnetic contact sensors are engaged ) upon authorized
entry the solenoid lock will be disengaged, the magnetic contact sensors will be disengaged and the magnets will be
separated from each other. This will lead to the system concluding that the door is unlocked through an authorised way.
Face Recognition.
Multi User Access.
Doorbell Notification.
Guest Unlock.
Upgraded Locking Mechanism.
Upgraded Security Features.
Nodemcu As A Server.
Power Saving Mode.
X. CONCLUSION
This project represents the design and the implementation of an interactive Iot enabled home door security system
with an app interface. The user can monitor and control the access to the home door remotely. The system can detect
any unauthorised attempts and raise an alarm from both the administrator’s device and also from the security system
itself. This method provides an extra layer of protection and control compared to traditional locking security systems.
In conclusion, the Internet of things is going to be the future of connectivity. With this, multiple devices that we
interact with on a daily basis can be easily connected to the internet, this allows the user to remotely control their
devices without the need of physical presence. Iot also allows remote detection of issues with the help of inbuilt
software and sensor based fault detection systems, rather than the user troubleshooting the issue. This has a high
potential for improving businesses, fine tune services, products, better utilisation of assets.
As we’re heading to a future with all devices interconnected to the cloud and with each other, we firmly believe that
our project is secure, hassle free and convenient to the end user and thus the system proposed is feasible
REFERENCES
[1]. https://www.google.com/imghp?hl=en
[2]. https://en.wikipedia.org/wiki
[3]. https://www.iloq.com/en/
[4]. https://robu.in/
[5]. https://www.24locksmithcicero.com/
[6]. https://www.circuitstoday.com/
[7]. https://www.circuitlake.com/
[8]. https://www.elprocus.com/
[9]. https://www.circuito.io
[10]. https://blynk.io/en/developers
[11]. https://www.github.com/