this code lock provides a high degree of security wholst being a very simle design

2
This code lock provides a high degree of security wholst being a very simle design. At the heart of the circuit is the type 4022 octal counter. In the non-active state !2 is charged via "# so that the reset $ r % input of the counter is kept logic high. This causes output &0 to be actuated while all other outputs are logic low. 'hen () is pressed T) is switched on via debouncing network "2-!) and I!) receives a clock pulse Also !2 is discharged via "4-*) ending the reset state of the counter and enabling it to advance. The time re+uiredfor "# to rechafdrge !2 i.e to reset the counter is the ma,imum time that can lapse before the ne,t key is pressed. The above cycle is therefore repeated only when ( at the &) output is pressed in time. 'hen all keys have been pressed in time and in the correct order & goes high for about 4 seconds to enable driving the unlock circuitry e.g. a relay driver for an automatic door opener. The code for the lock shown in the circuit diagram is ) 04# 0 this is but an e,amlpe however and the combination code is readily altered by swapping connections between the counter outputs and the switches. 'hen the digit code os considered too simple to crack the 4022 can be replaced by an 40) which makes it possible to add two keys. The means that the number of combination is )0/ instead of )0/ . The +uiescent current consumption of the code lock is negligible at 0.# uA so that battery operatio is feasible. The circuit works well from any supply between 1 and )# . The accompying photograph shows that the code lock can be built as a very compact unit thanks to the use of a printed circuit board that holds the )0 keys also. Description. 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.To CD 4013 ICs are used here. !ush button sitches are used for enterin" the code number. #ne side of all the push button sitches are connected to $1%& DC. The remainin" end of push buttons %'3'(') is connected to clock input pins of the filp-flops. The remainin" end of other push button sitches are shorted and connected to the set pin of the filp-flops. The relay coil ill be activated only if the code is entered in correct se*uence and if there is any variation' the lock ill be resetted. +ere is correct code is %3().,hen you press % the first flip flop IC1a ill be tri""ered and the value at the data in pin/ ill be transferred to the output pin13 . ince pin / is "rounded the value is 20 and so the pin 13 becomes lo. or the subse*uent pressin" of the remainin" code di"its in the correct se*uence the 20 ill reach the output pin1 of the last flip flop IC%b .This makes the transistor #5 and the relay is ener"ised.The automatic reset facility is achieved by the resistor 611 and capacitor C%.The positive end of capacitor C% is connected to the set pin of the filp-flops.,hen the transistor is sitched #5' the capacitor C% be"ins to char"e and hen the volta"e across it becomes sufficient the flip-flops are resetted. This makes the lock open for a fi7ed amount of time and then it locks automatically. The time delay can be ad8usted by varyin" the values of 611 and C%. Circuit diagram with Parts list.

Upload: vruddhi

Post on 04-Oct-2015

216 views

Category:

Documents


0 download

DESCRIPTION

This Code Lock Provides a High Degree of Security Wholst Being a Very Simle Design

TRANSCRIPT

This code lock provides a high degree of security wholst being a very simle design

This code lock provides a high degree of security wholst being a very simle design. At the heart of the circuit is the type 4022 octal counter. In the non-active state, C2 is charged via R5, so that the reset ( r ) input of the counter is kept logic high. This causes output Q0 to be actuated, while all other outputs are logic low. When S1 is pressed, T1 is switched on via debouncing network R2-C1 and IC1 receives a clock pulse, Also, C2 is discharged via R4-D1, ending the reset state of the counter and enabling it to advance. The time requiredfor R5 to rechafdrge C2, i.e, to reset the counter, is the maximum time that can lapse before the next key is pressed. The above cycle is therefore repeated only when S7 at the Q1 output is pressed in time. When all keys have been pressed in time and in the correct order, Q7 goes high for about 4 seconds to enable driving the unlock circuitry, e.g. a relay driver for an automatic door opener. The code for the lock shown in the circuit diagram is 1704570 : this is but an examlpe, however, and the combination code is readily altered by swapping connections between the counter outputs and the switches. When the 7 digit code os considered too simple to crack, the 4022 can be replaced by an 4017, which makes it possible to add two keys. The means that the number of combination is 10^9 instead of 10^7. The quiescent current consumption of the code lock is negligible at 0.5 uA, so that battery operatio is feasible. The circuit works well from any supply between 6 and 15V.

The accompying photograph shows that the code lock can be built as a very compact unit thanks to the use of a printed circuit board that holds the 10 keys also.Description.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.Two CD 4013 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 +12V DC. The remaining end of push buttons 2,3,6,8 is connected to clock input pins of the filp-flops. The remaining end of other push button switches are shorted and connected to the set 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 (pin9) will be transferred to the Q output (pin13).Since pin 9 is grounded the value is 0 and so the pin 13 becomes low. For the subsequent pressing of the remaining code digits in the correct sequence the 0 will reach the Q output (pin1) of the last flip flop (IC2b).This makes the transistor ON and the relay is energised.The automatic reset facility is achieved by the resistor R11 and capacitor C2.The positive end of capacitor C2 is connected to the set pin of the filp-flops.When the transistor is switched ON, the capacitor C2 begins to charge and when the voltage across it becomes sufficient the flip-flops are resetted. This makes the lock open for a fixed amount of time and then it locks automatically. The time delay can be adjusted by varying the values of R11 and C2.

Circuit diagram with Parts list.

Read more: http://www.circuitstoday.com/digital-code-lock#ixzz1Cu7ytHvL Under Creative Commons License: Attribution