Control Report
Control Report
Objective
Introduction
Components used
Circuit diagram
Software description
Advantages
Disadvantages
Final project
Future scope
Applications
Conclusions
Objective :We are going to design a semi-automatic door Locker by using a specific
controller and a specific software to control or operate this system. The basic components of
this system are Aurduino microcontroller,a servomotor,a keypad,a breadboard and different
subcomponents. In this system, we will control our locker with the help of Aurduino software
by giving it a required delay time in its analysis
Introduction:Since the main intention of this projectis to design a security door locks
system. In the order to fulfill this application there are few steps that has been performed i.e
Selection of DC motor
Selection of buzzar according to our requirement
Complete study of all above points that are useful to develop our project.
Background :Traditional lock systems using mechanical lock and key mechanism are being replaced
by new advanced techniques of locking system. These techniques are an integration of
mechanical and electronic devices and highly intelligent. One of the prominent features
of these innovative lock systems is their simplicity and high efficiency.
Such an automatic lock system consists of electronic control assembly which controls
the output load through a password. This output load can be a motor or a lamp or any
other mechanical/electrical load.
Here we develop an electronic code lock system using Aurduino microcontroller, which
provides control to the actuating the load. It is a simple embedded system with input
from the keyboard and the output being actuated accordingly.
This system demonstrates a password based door lock system wherein once the
correct code or password is entered, the door is opened and the concerned person is
allowed access to the secured area. Again if another person arrives it will ask to enter
the password. If the password is wrong then door would remain closed, denying the
access to the person
Principle Behind the Circuit:The main component in the circuit is Aurduino controller. In this project 44 keypad is
used to enter the password. The password which is entered is compared with the
predefined password.
If the entered password is correct then the system opens the door by rotating door
motor and displays the status of door on LCD. If the password is wrong then door is
remain closed and displays pwd is wrong on LCD.
project, and user community that designs and manufactures computer open-source
hardware,open-source software, and microcontroller-based kits for building digital
devices and interactive objects that can sense and control physical devices.
The project is based on microcontroller board designs, produced by several vendors,
using various microcontrollers. These systems provide sets of digital and
analog I/O pins that can interface to various expansion boards (termed shields) and
other circuits. The boards feature serial communication interfaces, including Universal
Serial Bus (USB) on some models, for loading programs from personal computers. For
programming the microcontrollers, the Arduino project provides an integrated
development environment(IDE) based on a programming language named Processing,
which also supports the languages C and C++.
ICSP Header:-
Servomotor:-
servomotor is a rotary actuator or linear actuator that allows for precise control
of angular or linear position, velocity and acceleration.[1] It consists of a suitable motor
coupled to a sensor for position feedback. It also requires a relatively sophisticated
controller, often a dedicated module designed specifically for use with servomotors.
Servomotors are not a specific class of motor although the term servomotor is often
used to refer to a motor suitable for use in a closed-loop control system.
Servomotors are used in applications such as robotics, CNC machinery or automated
manufacturing
Circuit Diagram :-
Software Description:Aurduino:#include<Password.h>
#include<Keypad.h>
Password password = Password( "1234" ); //password to unlock, can be changed
void setup(){
Serial.begin(9600);
Serial.write(254);
Serial.write(0x01);
delay(200);
pinMode(11, OUTPUT); //Anticlock Wise Rotation
pinMode(10, OUTPUT); //Clockwise rotation
pinMode(12, OUTPUT); //red light
pinMode(13, OUTPUT); //yellow light
void loop(){
keypad.getKey();
}
//take care of some special events
void keypadEvent(KeypadEvent eKey){
switch (keypad.getState()){
case PRESSED:
Serial.print("Enter:");
Serial.println(eKey);
delay(100);
Serial.write(254);
switch (eKey){
case 'A': checkPassword(); delay(1); break;
default: password.append(eKey); delay(1);
}
}
}
void checkPassword(){
int x=0;
Serial.println("Accepted");
Serial.write(254);delay(5);
else{
MATLAB:Mathematical Modeling :-
G1(s) = 1/ (s+0.01s2)
Transfer function of linear system is mean linear or translational moment of door locker
G2(s) = 1/ (Ms2)
Where
M=0.01kg
Then
G2(s) = 1/ (0.01s2)
Since both transfer functions are in series form, for this we use cascade rule
G(s) = G1(s)*G2(s)
= 1/(s+0.01s2) * 1/0.01s2
G(s) = 1/ (10^-4s4+10^-2s3)
So this was the complete transfer function of our automatic door locker system using mathematical
modeling.
Results in Simulink :-
Advantages:
One of the main advantages of a keyless door lock is not needing to carry
a key. You'll no longer need to worry about losing your key or fidgeting at
the door to get it open.
It also means that you won't need to store a spare key somewhere on your
property, as many homeowners currently do. Because most criminals are
used to looking around to find a spare key, eliminating the need for one
will help make your home safer.
Another advantage of keyless door locks is that you can provide entry
to your home for others at your discretion. You will not need to make
copies of a key or leave keys for dog walkers, housekeepers, or house
guests to get in to your home. Rather, you'll simply need to tell those
people the proper code in order to gain access.
With the system in place, you can also tell exactly when and how people
attempted to access your home. This gives you a good idea of how secure
your house is.
Disadvantages:
While there are many benefits to including a keyless door lock system in
your home, there are also some major drawbacks to consider as well. While
keyless door lock systems are generally safe and designed to alert police
or other authorities if incorrect codes are entered too many times, it is
nonetheless possible that an intruder may be able to gain access to your
home through this system by guessing or hacking the code.
Just as you can forget your keys and be locked out of your home, you can
also forget the passcode to access your keyless entry system and be locked
out. While it is safer to use a completely random code and avoid obvious
choices like birth dates or simple, repetitive numbers, this can pose a
problem if you have a difficult time remembering things.
Final Project:-
Future scope:
In future there can be a smart phone application enhancement for this project that is,
creating a smartphone app to give access to guests when person is away from his/her
home.
The others extensions within the app would also be viewing who is passing through the
door by adding the camera and sending stream directly to mobile device.
This can also extend to, if someone is trying to break in the door, alarm will start
beeping on mobile device as well.
Applications:
In banks, cash payment centers, and other public processing offices, it can be
difficult to control unplanned overtime due to sudden increases in clientele at the
end of the business day.
Often, a clerical worker closes a station, and locks all the entry doors to stop the
inflow of traffic. The clerk then stands at a door designated as an exit, and
unlocks the door to allow individuals who have completed their business to leave.
The automatic door locking system allows all stations to remain active so
processing can continue. It can automatically lock all entry doors so that no new
clients may enter, while allowing those who have completed their business to exit
by pressing an exit bar, which temporarily kills power to the magnetic lock. This
creates an automatic emptying effect that clears the lobby at the end of the day.
The system can also switch on the Closed sign, if needed.
Automatic door locks can integrate with the fire alarm, intrusion, orpanic system
so that in the event of a crisis, the system can lock doors to stop entry of
newcomers. In addition, the system can integrate door position sensors to verify
the closed status of the door while locked. The maximum number of doors that
can be locked by the system depends on the control panel you choose.
Conclusion:The password based door locking security system is used in the places where
we need more security. It can also be used to secure lockers and other protective
doors. The system comprises a number keypad and keypads are connected to
Aurduino microcontroller. The microcontroller continuously monitors the keypad
and if somebody enters the password which was stored in memory, then the
microcontroller will switch on the corresponding device. The system will allow the
person who knows the password and it will not allow who wont know the
password.