Beruflich Dokumente
Kultur Dokumente
Electrical department
SUBMITTED TO:
LECTURER: DR JAMEEL
AHMED.
LAB ENGINEER: ENGR JAWAD
AHMED.
• Group members.
3
• Introduction.
4
• Background.
4
• Abstract
5
• Method of procedure.
6
1. Circuit diagram.
6
2. List of components.
7
3. Pre-assembling on breadboard.
8
components.8
5. Working.
8
6. Construction of model.
9
7. Results.
9
• Conclusion.
9
• Refrencess
INTRODUCTION:
It is a simple key code lock which only work when we enter our selected code and
when each correct key will press it will SET the flip-flop . When the 4th flip-flop is SET,
the relay will be armed through the PNP transistor. Whenever a wrong button is
pressed, all 4 flip-flops will be RESET and code must be entered again from the
beginning. This lock can be used according to user’s requirement you can operate
BACKGROUND:
We got the idea of this project while reading the flip-flop,which actually store data,
various flip-flop has various conditions for output but normally when the FF is set
(positive edge trigger) it give high(1) output at the Q and here we use the same case
and we use D flip-flop for that purpose.
ABSTRACT:
HITEC UNIVERSITY TAXILLA CANTT 5
This is a simple but effective code lock circuit that has an automatic reset facility. The
circuit is made around the dual flip-flop IC CD4013, CD 4081, CD4072 ICs are used
here. Push button switches are used for entering the code number. One side of all the
push button switches are connected to 5v DC. The selected push buttons 2,3,6,8( we
supposed these are the selected keys) is connected to set input pins of the filp-flops.
The remaining end of other push button switches are shorted and connected to the
reset pin of the filp-flops.
The relay coil will be activated only if the code is entered in correct sequence and if
there is any variation, the lock will be resetted. Here is correct code is 2368.When
you press 2 the first flip flop(IC1A) will be triggered and the value at the data in (pin
6) will be transferred to the Q output (pin 1)and an inverted value is assigned to Q bar
.Since pin 6 is connected to 5v dc so the value of Q bar will be “0” and so the pin 2
becomes low.
For the subsequent pressing of the remaining code digits in the correct sequence the
“0” will reach the Q bar output (pin 2) of the last flip flop (IC2B).This makes the
transistor ON and the relay is energised.The automatic reset facility is achieved by
the IC3A,B,C(4081) and IC4A(4072).The ic 4081 is actually a ic of “and” gate, as the Q
bar is connected to its input so its output is low(o) and the output of these ics are
connected to ic 4072 which is “OR” gate .one of its input is connected to rest of
buttons and when any button is pressed all the ics are reset and the whole system
will rest and then we are again supposed to enter the correct code.
CIRCUIT DIAGRAM:
The circuit we use for this project is given below.
• R1, R2, R3, R4, R5, R6, R7, R8, R9, R10 47KΩ ¼ WATT 5 % carbon film.
• 12/9 v dc supply
• Ic holders
• wiroboard
• Keypad.
PRE-ASSEMBLING ON BREADBOARD :
Before making the circuit on the pcb or on wiro-board make it on the breadboard and
we also make it on the logic trainer in our DLD LAB and our lab engineer had also
checked it
WORKING :
The relay coil will be activated only if the code is entered in correct sequence and if
there is any variation, the lock will be resetted. Here is correct code is 2368.When
you press 2 the first flip flop(IC1A) will be triggered and the value at the data in (pin
6) will be transferred to the Q output (pin 1)and an inverted value is assigned to Q bar
.Since pin 6 is connected to 5v dc so the value of Q bar will be “0” and so the pin 2
becomes low.
For the subsequent pressing of the remaining code digits in the correct sequence the
“0” will reach the Q bar output (pin 2) of the last flip flop (IC2B).This makes the
transistor ON and the relay is energised.The automatic reset facility is achieved by
the IC3A,B,C(4081) and IC4A(4072).The ic 4081 is actually a ic of “and” gate, as the Q
bar is connected to its input so its output is low(o) and the output of these ics are
connected to ic 4072 which is “OR” gate .one of its input is connected to rest of
buttons and when any button is pressed all the ics are reset and the whole system
will rest and then we are again supposed to enter the correct code.
CONSTRUCTION OF MODEL :
HERE we are using this output voltage to run a motor to open the door of the house
.for the house we make a model of somewhat like a house with a help of the
cardboard and fixed a motor at its door so when we enter the right code the door will
open.
www.youtube.com
www.circuittoday.com