Difference between revisions of "Automatic Door Lock System"

From eLinux.org
Jump to: navigation, search
(Executive Summary)
 
(42 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[Category:ECE597 |P7]]
 +
Team members:
 +
# [[user:Anand K. Parmar|Anand K. Parmar]]
 +
# [[user:KS_Mani|Mani K. Srivastava]]
 +
# [[user:SrinathMupparsi|M.R.Srinath]]
 +
# [[user:Shivaverma|Shiva Verma]]
  
Team members: [[user:Anand K. Parmar|Anand K. Parmar]], [[user:KS_Mani|Mani K. Srivastava]] and [[user:Shivaverma|Shiva Verma]]
 
  
== Grading Template ==
+
== Executive Summary ==
I'm using the following template to grade.  Each slot is 10 points.
 
0 = Missing, 5=OK, 10=Wow!
 
  
<pre style="color:red">
+
* The goal of this project is to build a Door Lock System such that the knock pattern acts as a key to it.
00 Executive Summary
+
* The system will get activated and door will be opened only until a specific pattern is detected by the system.
00 Installation Instructions
+
* The knock pattern is alterable, means user can set it according to their wish.
00 User Instructions
+
* Video: [https://www.youtube.com/watch?v=LlXnARZbyqQ Click here]
00 Highlights
+
* Code:  [https://github.com/Team07-AutomaticDoorLockSystem/Automatic-Door-Lock-System-.git Click here]
00 Theory of Operation
+
[[File:Upward View Door.jpg|thumbnail|UpWard_View]]
00 Work Breakdown
 
00 Future Work
 
00 Conclusions
 
00 Demo
 
00 Not Late
 
Comments: I'm looking forward to seeing this.
 
  
Score:  00/100
+
== Hardware ==
</pre>
 
  
<span style="color:red">(Inline Comment)</span>
+
==== Electrical Components ====
 +
 
 +
They are many components used in our project but the key role was of servo motor (HK15178).
 +
 +
* [http://www.hobbyking.com/hobbyking/store/__16257__HobbyKing_8482_HK15178_Analog_Servo_10g_1_4kg_0_09s.html Servo Motor HK15178 ]
  
[[http://elinux.org/index.php?title=EBC_Project_Template&action=edit&section=2|1st page]]
+
The other main component was the piezo sensor which is used as the knock detector in our project.
 +
 +
* [https://www.sparkfun.com/products/10293 Peizo Sensor]
  
== Executive Summary ==
+
Rest of the components which we have also used
  
The goal of this project is to build a Door Lock System such that the knock pattern acts as a key to it i.e. 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.
+
*[http://img.td-imgs.com/images/67/14/26714_971289_CTL-26714.jpg PCB Board]
 +
*Wires
 +
*[http://www.adafruit.com/category/17 Arduino]
 +
*2 Led's (green & Red)
 +
* Momentary Push Button
 +
*Permanent Push Button
 +
* 4 resistors
  
 +
==== Hardware Components ====
  
Give two sentences telling what works.
+
we have used only some of the hardware components like
 +
* Cardboard's
 +
* Polystyrene 
 +
* Double sided tape
  
Give two sentences telling what isn't working.
 
  
End with a two sentence conclusion.
+
==== Electrical Hardware ====
  
The sentence count is approximate and only to give an idea of the expected length.
+
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.
  
== Packaging ==
+
To drive all the components correctly we have started with Arduino and some PCB boards.
  
If you have hardware, consider [http://cpprojects.blogspot.com/2013/07/small-build-big-execuition.html Small Build, Big Execuition] for ideas on the final packaging.
+
<gallery>
 +
Board.jpg|Board
 +
Final Wiring.jpg|Final Wiring
 +
</gallery>
  
If you have wiring, include Frizing diagrams.
+
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 ==
  
Give step by step instructions on how to install your project.
+
[[File:CircuitDiagram.jpg|border|center|500px]]
  
* Include your [https://github.com/ github] path as a link like this to the read-only git site:  [https://github.com/MarkAYoder/gitLearn https://github.com/MarkAYoder/gitLearn].
+
 
* Be sure your README.md is includes an up-to-date and clear description of your project so that someone who comes across you git repository can quickly learn what you did and how they can reproduce it.
+
* Make the circuit as shown in figure.
* Include a file called '''install.sh''' which installs all the files/packages needed. These are the things that only need to be done one.
 
* Include a file called '''setup.sh''' which initializes everything.  These are the things that need to be done every time you reboot the Bone.
 
* Include a Makefile for your code if you use a compiled language.
 
* Include any additional packages installed via '''apt-get'''.
 
* Include kernel mods.
 
* If there is extra hardware needed, include links to where it can be obtained.
 
  
 
== User Instructions ==
 
== User Instructions ==
  
Once everything is installed, how do you use the program?  Give details here, so if you have a long user manual, link to it here.
+
# Press the Permanent Push Button and give knock sequence to piezo-electric sensor for setting a new secret knock pattern.
 +
# Now, provide the knock sequence with permanent push button's state turned off. If pattern matches, the door will be unlocked, otherwise it wont.
 +
# 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 ==
 
== Highlights ==
  
Here is where you brag about what your project can do.
+
# Initially, the work was done on both Arduino and Beaglebone, but due to some technical issues, the final system uses Arduino only.
 +
# The system can also be integrated with an Android Application, which will command the system for either locking or unlocking.
  
Include a [http://www.youtube.com/ YouTube] demo.
+
== 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.
  
Give a high level overview of the structure of your software.  Are you using GStreamer?  Show a diagram of the pipeline.  Are you running multiple tasks?  Show what they do and how they interact.
+
<gallery>
 +
Final Wiring.jpg|Operation
 +
</gallery>
  
 
== Work Breakdown ==
 
== Work Breakdown ==
  
List the major tasks in your project and who did what.
+
* 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.
Also list here what doesn't work yet and when you think it will be finished and who is finishing it.
+
* 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 ==
 
== Future Work ==
  
Suggest addition things that could be done with this project.
+
* 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 ==
 
== 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.
Give some concluding thoughts about the project. Suggest some future additions that could make it even more interesting.
+
*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.
 
{{YoderFoot}}
 
{{YoderFoot}}

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