Showing posts with label lock. Show all posts
Showing posts with label lock. Show all posts

Thursday, 9 January 2014

0 Comments
Posted in Arrangement, Art, Business

Build a Digital Electronic Lock Circuit Diagram

This Digital Electronic Lock Circuit Diagram shown below uses 4 common logic ICs to allow controlling a relay by entering a 4 digit number on a keypad. The first 4 outputs from the CD4017 decade counter (pins 3,2,4,7) are gated together with 4 digits from a keypad so that as the keys are depressed in the correct order, the counter will advance. As each correct key is pressed, a low level appears at the output of the dual NAND gate producing a high level at the output of the 8 input NAND at pin 13.

Read : Cheap Bicycle Alarm Schematics Circuit

Digital Electronic Lock Circuit Diagram

Digital Electronic Lock Circuit Diagram
 

The momentary high level from pin 13 activates a one shot circuit which applies an approximate 80 millisecond positive going pulse to the clock line (pin 14) of the decade counter which advances it one count on the rising edge.

Read : Emergency Light and Alarm Circuit Diagram

A second monostable, one shot circuit is used to generate an approximate 40 millisecond positive going pulse which is applied to the common point of the keypad so that the appropriate NAND gate will see two logic high levels when the correct key is pressed (one from the counter and the other from the key). The inverted clock pulse (negative going) at pin 12 of the 74C14 and the positive going keypad pulse at pin 6 are gated together using two diodes as an AND gate (shown in lower right corner).

Read : Burglar Alarm With Timed Shutoff Circuit Diagram

The output at the junction of the diodes will be positive in the event a wrong key is pressed and will reset the counter. When a correct key is pressed, outputs will be present from both monostable circuits (clock and keypad) causing the reset line to remain low and allowing the counter to advance. However, since the keypad pulse begins slightly before the clock, a 0.1uF capacitor is connected to the reset line to delay the reset until the inverted clock arrives.

Read : 5 Zone alarm Circuit Diagram

The values are not critical and various other timing schemes could be used but the clock signal should be slightly longer than the keypad pulse so that the clock signal can mask out the keypad and avoid resetting the counter in the event the clock pulse ends before the keypad pulse. The fifth output of the counter is on pin 10, so that after four correct key entries have been made, pin 10 will move to a high level and can be used to activate a relay, illuminate an LED, ect. At this point, the lock can be reset simply by pressing any key. The circuit can be extended with additional gates (one more CD4011) to accept up to a 8 digit code.

Read :  Alarm Control Keypad Circuit Diagram

The 4017 counting order is 3 2 4 7 10 1 5 6 9 11 so that the first 8 outputs are connected to the NAND gates and pin 9 would be used to drive the relay or light. The 4 additional NAND gate outputs would connect to the 4 remaining inputs of the CD4068 (pins 9,10,11,12). The circuit will operate from 3 to 12 volts on 4000 series CMOS but only 6 volts or less if 74HC parts are used. The circuit draws very little current (about 165 microamps) so it could be powered for several months on 4 AA batteries assuming only intermittent use of the relay.

Sunday, 19 May 2013

0 Comments
Posted in Arrangement, Art, Business

Simple electronics Code Lock System

SIMPLE ELECTRONIC
CODE LOCK
The circuit diagram of a simple electronic
code lock is shown in figure.
A 9-digit code number is used
to operate the code lock.
When power supply to the circuit is
turned on, a positive pulse is applied to
the RESET pin (pin 15) through capacitor
C1. Thus, the first output terminal
Q1 (pin 3) of the decade counter IC (CD
4017) will be high and all other outputs
(Q2 to Q10) will be low. To shift the high
state from Q1 to Q2, a positive pulse must
be applied at the clock input terminal (pin
14) of IC1. This is possible only by pressing
the push-to-on switch S1 momentarily.
On pressing switch S1, the high state
shifts from Q1 to Q2.


Now, to change the high state from
Q2 to Q3, apply another positive pulse at
pin 14, which is possible only by pressing
switch S2. Similarly, the high state can
be shifted up to the tenth output (Q10)
by pressing the switches S1 through S9
sequentially in that order. When Q10 (pin
11) is high, transistor T1 conducts and
energises relay RL1. The relay can be
used to switch ‘on’ power to any electrical
appliance.
Diodes D1 through D9 are provided
to prevent damage/malfunctioning of the
IC when two switches corresponding to
‘high’ and ‘low’ output terminals are
pressed simultaneously. Capacitor C2 and
resistor R3 are provided to prevent noise
during switching action.
Switch S10 is used to reset the
circuit manually.

Switches S1 to S10
can be mounted on a keyboard panel,
and any number or letter can be used to
mark them. Switch S10 is also placed
together with other switches so that any
stranger trying to operate the lock frequently
presses the switch S10, thereby
resetting the circuit many times. Thus,
he is never able to turn the relay ‘on’. If
necessary, two or three switches can
be connected in parallel with S10 and
placed on the keyboard panel for more
safety.
A 12V power supply is used for the
circuit. The circuit is very simple and can
be easily assembled on a general-purpose
PCB. The code number can be easily
changed by changing the connections to
switches (S1 to S9).

    Total Pageviews