Difference between revisions of "Automatic Door Lock System"

From eLinux.org
Jump to: navigation, search
(Electrical Hardware)
 
(5 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
# [[user:Shivaverma|Shiva Verma]]
 
# [[user:Shivaverma|Shiva Verma]]
  
 
 
== Grading Template ==
 
I'm using the following template to grade.  Each slot is 10 points.
 
0 = Missing, 5=OK, 10=Wow!
 
 
<pre style="color:red">
 
00 Executive Summary
 
00 Installation Instructions
 
00 User Instructions
 
00 Highlights
 
00 Theory of Operation
 
00 Work Breakdown
 
00 Future Work
 
00 Conclusions
 
00 Demo
 
00 Not Late
 
Comments: I'm looking forward to seeing this.
 
 
Score:  00/100
 
</pre>
 
 
<span style="color:red">(Inline Comment)</span>
 
 
[[http://elinux.org/index.php?title=EBC_Project_Template&action=edit&section=2|1st page]]
 
  
 
== Executive Summary ==
 
== Executive Summary ==
Line 37: Line 12:
 
* The system will get activated and door will be opened only until a specific pattern is detected by the system.
 
* The system will get activated and door will be opened only until a specific pattern is detected by the system.
 
* The knock pattern is alterable, means user can set it according to their wish.
 
* The knock pattern is alterable, means user can set it according to their wish.
 
+
* Video: [https://www.youtube.com/watch?v=LlXnARZbyqQ Click here]
 +
* Code:  [https://github.com/Team07-AutomaticDoorLockSystem/Automatic-Door-Lock-System-.git Click here]
 
  [[File:Upward View Door.jpg|thumbnail|UpWard_View]]
 
  [[File:Upward View Door.jpg|thumbnail|UpWard_View]]
  
Line 74: Line 50:
 
A BeagleBone is the bread and butter of the project, driving the entire effort but suddenly due to some issues and overload on beagle we have shifted to Arduino.
 
A BeagleBone is the bread and butter of the project, driving the entire effort but suddenly due to some issues and overload on beagle we have shifted to Arduino.
  
To drive all the electrical components correctly we have used the following board
+
To drive all the components correctly we have started with Arduino and some PCB boards.
  
 
<gallery>
 
<gallery>
Line 80: Line 56:
 
Final Wiring.jpg|Final Wiring
 
Final Wiring.jpg|Final Wiring
 
</gallery>
 
</gallery>
 +
 +
Here are some of the Pictures where we can show the boards and wiring of the components which we have mentioned above about the components.
  
 
== Installation Instructions ==
 
== Installation Instructions ==
Line 103: Line 81:
  
 
== Theory of Operation ==
 
== Theory of Operation ==
 +
 +
The operation is done in both ways
 +
* Initially we have set up the pattern of the lock upto 4 knocks
 +
* Next when ever any person is inside the room or entered the door then he is given access to change the pattern.
 +
* So for changing the pattern he is provided with a switch by pressing the switch a LED glows and now we can change the pattern
 +
* but while recording the new pattern the algorithm which we have written can store upto 21 knocks max.
 +
* The power for this entire system is generated by a power bank provided.
 +
* So whenever the person moves out of the room then he can also lock the door with the pattern which he is newly recorded.
 +
 +
<gallery>
 +
Final Wiring.jpg|Operation
 +
</gallery>
  
 
== Work Breakdown ==
 
== Work Breakdown ==

Latest revision as of 10:03, 28 November 2015

Team members:

  1. Anand K. Parmar
  2. Mani K. Srivastava
  3. M.R.Srinath
  4. Shiva Verma


Executive Summary

  • The goal of this project is to build a Door Lock System such that the knock pattern acts as a key to it.
  • The system will get activated and door will be opened only until a specific pattern is detected by the system.
  • The knock pattern is alterable, means user can set it according to their wish.
  • Video: Click here
  • Code: Click here
UpWard_View

Hardware

Electrical Components

They are many components used in our project but the key role was of servo motor (HK15178).

The other main component was the piezo sensor which is used as the knock detector in our project.

Rest of the components which we have also used

  • PCB Board
  • Wires
  • Arduino
  • 2 Led's (green & Red)
  • Momentary Push Button
  • Permanent Push Button
  • 4 resistors

Hardware Components

we have used only some of the hardware components like

  • Cardboard's
  • Polystyrene
  • Double sided tape


Electrical Hardware

A BeagleBone is the bread and butter of the project, driving the entire effort but suddenly due to some issues and overload on beagle we have shifted to Arduino.

To drive all the components correctly we have started with Arduino and some PCB boards.

Here are some of the Pictures where we can show the boards and wiring of the components which we have mentioned above about the components.

Installation Instructions

CircuitDiagram.jpg


  • Make the circuit as shown in figure.

User Instructions

  1. Press the Permanent Push Button and give knock sequence to piezo-electric sensor for setting a new secret knock pattern.
  2. Now, provide the knock sequence with permanent push button's state turned off. If pattern matches, the door will be unlocked, otherwise it wont.
  3. For locking the door while being inside, press the momentary push-button.


Note: The system can detect 21 knocks at max with maximum time difference between two consecutive knocks to be 1.2 seconds.

Highlights

  1. Initially, the work was done on both Arduino and Beaglebone, but due to some technical issues, the final system uses Arduino only.
  2. The system can also be integrated with an Android Application, which will command the system for either locking or unlocking.

Theory of Operation

The operation is done in both ways

  • Initially we have set up the pattern of the lock upto 4 knocks
  • Next when ever any person is inside the room or entered the door then he is given access to change the pattern.
  • So for changing the pattern he is provided with a switch by pressing the switch a LED glows and now we can change the pattern
  • but while recording the new pattern the algorithm which we have written can store upto 21 knocks max.
  • The power for this entire system is generated by a power bank provided.
  • So whenever the person moves out of the room then he can also lock the door with the pattern which he is newly recorded.

Work Breakdown

  • Gathering the Components and configuring it accordingly by Mani Kumar and M.R.Srinath
  • The circuit part was handled by Anand K. Parmar and Shiva Verma.
  • The algorithm was designed by Mani Kumar and Anand K. Parmar.
  • Merging together and designing work was handled by M.R. Srinath and Shiva Verma.

Future Work

  • Integrating the system with an Android Application.
  • Making the system more secure by incorporating eye scanner, thumb print or knuckle print scanner for reliable functioning.
  • Taking the picture of the person whosoever is setting the new secret knock pattern and sending it to the administrator.

Conclusions

  • We'd like to thank Professor Dr Mark A. Yoder for providing us with this course were we have put in our efforts in making this project with all the required assignments and also the assessments of Dr Anil Kumar in bringing this course.
  • We have learned the limits of the onboard I2C interface, making control of all 32 channels impractical. In addition to this we have also learned the specification of some sensors and some hands on work in JavaScript and also how proper collaboration of components is done.
  • Overall the course content was good and also helped us in learning some good stuff and had nice time with an experienced person.


thumb‎ Embedded Linux Class by Mark A. Yoder