Smart door lock

        SMART DOOR LOCK                    

INTRODUCTION:
This is a mini project on smart door lock. Nowadays every people in this world feel very lazy to carry their home keys with them and some people forget to take their home key or they lose it somewhere so in this article i am going to explain all the benefits, disadvantages and many more about facts about smart door lock.

ITEMS REQUIRED:
Arduino, 12V-4 channel, Transmittor, Receiver, DC Motor, Connecting wires, Three-9V batteries, Lock, Bluetooth-H5-05, M-Seal, Fevicol, LED, Screw and Nut, Micro-controller etc. 

STEPS TO MAKE SMART DOOR LOCK:
There are only three simple steps to complete this project.
Step 1:
Connect the lock to the dc motor and then connect the dc motor to the 12V-4 channel transmitter and receiver channel.
Step 2:
Connect the arduino to H5-05 bluetooth .
Step 3:
Now connect both the ardunio and 12V-4 channel transmitter and receiver.

EXPLANATION OF PARTS:

ARDUINO: 
Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software .
Arduino consists of both a physical programmable circuit board and a piece of software, or IDE (Integrated Development Environment) that runs on your computer that is used to write and upload computer code to the physical board. Arduino is mainly used in iot's. One microprocessor is also used in arduino,  there is a separate connection for battery to be connected with the use of cable. Instead of using laptop as a source of current we can use a 9V battery. There is a small button which is used to reset the program that is uploaded in the arduino.
          
DC MOTOR: 
A DC motor is any of a class of rotary electrical machines that converts direct current electrical energy into mechanical energy.
The DC Motor is used in fans, blowers and all the rotating device. As the voltage supplied to the dc motor decreases the speed also decreases or increases, hence the voltage supplied is directly proportional to the speed of the DC Motor.

12V CHANNEL:     
The 12V channel has 4 channels in it. It has one transmitter and receiver. The remote used is of 433MHZ 
The transmitter is used to transmit the information from one source to another and receiver is used to receive the the information which is transmitted by the transmitter. There will be one LED light, it shows the flow of current, if the current flows the LED light will glow or else the LED wont glow.

BLUETOOTH-H5-05:
The bluetooth is used to connect two devices. It is also called as Slave because it can only accept connections from other devices.

It is a transparent wireless serial communication, once it is paired it becomes accessible by the device and all the data can be sent and received. The range of this bluetooth is 8-9 meters.    

   These are the four main parts which we use in this project. 

EXPLANATION:
Now we will see all the three steps in an elaborate manner
Step 1: Connect the lock to DC Motor and 12V Channel
First take a door lock and screw it to an wooden board or stick it to a cardboard or any other hard substance.
Then take a nut and fix it with the knob of the lock, it can be fixed using M-Seal. Then take a pipe or any other thing that has hole on either sides and fix the one end to the DC motor and the other end to the screw, ensure that the screw is tightened inside the nut before fixing the holed pipe. Then fix the DC motor using fevicol, ensure that the screw is straight and it is not slanting, if the screw is slanting keep any substance below the dc motor so that the screw is straight. Take a battery, connect it to the battery connector and then connect it to the positive and negative terminal in the side of 12V channel for power supply. Now connect two wires to the Dc motor, take the other end of the wire and connect it to B in one channel and another wire to B in next channel. Take a wire and by-pass it to A of one channel and A of another channel. In the similar way take another small wire and by-pass it to C of one channel to C of another channel. Take a battery connector and connect it to the battery and connect the two ends to A and C of same switch. The connections got over and the remote is ready to be used.

If we complete till this process then our lock can be accessed only with remote,  if we connect our lock with arduino then only we can use our mobile for accessing our door lock.

Step 2:Connect the arduino to Bluetooth H5-05
Now we will connect the arduino to the bluetooth H5-05, so at first we have to prepare a code for arduino, if else we don't have a code or we don't know, then we can assist google for our help, we can get all the ready made code for arduino from google. Keep the program ready then only you can program an arduino. Here are some steps in how you can program an arduino.
1) Go to google and type arduino.
2) Now click on arduino home page.   
3) Now click on downloads.
4) Scroll down, there will be heading called as download, in that click windows.
5) Then the file will be automatically downloaded in your pc, now open that file.
6) Now the aurdino will be opened, in it type the program and then click on upload button, it will take some time to upload.

These are the steps in how a arduino is programmed.

Now connect the ground of the bluetooth to the ground of the arduino using a male to female connector pin then connect the VCC also to the arduino. A LED light is fixed so that it shows the flow of the current. (while programming the arduino bluetooth should not be connected with the arduino)

Download an app called ARDUINO BLUETOOTH in your mobile. Pair your mobile with the bluetooth, then open the app and connect your mobile with the bluetooth after the device is connected you can use the on and off switch to operate it, by doing till this process 80% of the project will get over.

Step 3: Connect arduino to 12V channel
This is the last and the final step of the project, in this step we will connect the arduino and the 12V channel. Take two wires, connect both the wires to the input side of 12V channel, connect it to the terminal A and C. Now connect the other end of the wires to the arduino and in excess add LED bulb so that shows whether the current flows or not and when u open the lock the light will glow and when u close the lock the light will get turned off.

NOW THE PROJECT IS READY TO USE 

The lock can be controlled with the remote and also with our mobile phone.
In addition to this we can even add our voice to access our door lock so here are the steps in which we can add our voice. Adding voice is optional if a person does not want his lock to be added with voice control then he need not do the steps given below.

CONNECT ARDUINO TO VOICE:
In addition to remote and mobile connection we can connect our lock even with our voice, to do it we have to download an app in our mobile its name is "Bluetooth voice control for arduino". Download it, install it and open the app. As soon as you open the app connect it with the bluetooth H5-05 and then record your voice many times so that it may remember your voice, use the command open and close. Now the voice is also successfully installed for opening your door lock. If you want you can use voice control or you can use it with button and remote. 

ADVANTAGES:
There are many advantages of smart door lock, some are as follows,

1) It ensures safety.
2) While using through bluetooth only paired devices may be accessed hence it is secured.
3) We need not carry our home keys with us as our lock is connected with our mobile.
4) If a person does not want to use his mobile then he can use remote.
5) We have voice recognition also so it will be more easier and quickly accessible for the people who will be in hurry always.

DISADVANTAGES:      
In this world each and every thing has an advantage and disadvantage in the same way this smart door lock has some disadvantages, here are the some disadvantages of this door lock

1) If the charge is drained in our mobile and we don't have any other paired device and our remote is inside our home then it will be difficult for us to open, unfortunately we will have to break our door and get in.
2) Sometimes our voice could not be recognized properly due to some changes in our voice, then our lock would not respond and we cant open it, hence we will have to break the door.
3) Suppose the charge in the battery gets drained which is connected in our lock then we wont have any other way to get in except breaking it.

These are the some advantages and disadvantages of smart door lock.


CONCLUSION: 
Hence the project gets concluded. The step by step process of making a smart door lock is explained clearly. We can even add certain more features in this smart door lock,we can add face recognition, fingerprint access and many more.                                           
              
Here is the video link of this project, in this video i have explained the mechanism of how my lock works.
VIDEO LINK: https://youtu.be/7L5PwJhKpZE

Comments

Popular posts from this blog

TOKEN SEPARATION USING PYTHON

GUI Calculator using Tkinter in Python