July 12, 2009

Digital Lock


A multiple input combination loack using CMOS counter IC's. Flexibility and code change is allowed by changing output connections.

TO see the circuit diagram CLICK HERE

The circuit above above makes use of the CMOS 4017 decade counter IC. Each depression of a switch steps the output through 0 - 9. By coupling the output via an AND gate to the next IC, a predefined code has to be input to create the output. Each PBS switch is debounced by two gates of a CMOS4001 quad 2-input NOR gate. This ensures a clean pulse to the input of each CMOS 4017 counter. Only when the correct number of presses at PBS A will allow PBS B to become active. This is similar for PBS C and PBS D. At IC4, PBS D must be pressed 7 times. Then PBS C is again pressed 7 times, stepping from output 1 to output 8. The AND gate formed around CMOS4081 then goes high, lighting the LED. The Reset switch can be pressed at any time. Power on reset is provided by the 100n capacitor near the reset switch.

Lock PCB

Unfortunately, this board was part of a much larger project containing multiple power supplies. One day whilst working on another circuit , I slipped with a wire and splashed 24 volts DC onto this board. There was a small spark, and puff of smoke before all this chips were cooked! If anyone does consider building such a circuit, then my advice would be to stop and look in your local electronic parts catalogue. There are now dedicated combination lock IC's with combinations many times greater than this circuit. Incidentally the numberof combinations offered here is 10 x 10 x 10 x 10 x 9 = 90,000.


Really valuable information and excellent post I got here. I would like to thank you for sharing your thoughts and time to the stuff you post...thanks

Post a Comment


Electronics is the study and use of electrical that operate by controlling the flow of electrons or other electrically charged particles in devices such as thermionic valves. and semiconductors. The pure study of such devices is considered as a branch of physics, while the design and construction electronic circuits to solve practical problems is called electronic engineering.

Popular article