Combination Lock

D-type bistables can easily be used to make a combination lock. Using two 4013 integrated circuits, you can make a 4-digit combination lock in which the keys representing the code digits must be entered in the correct order. Pressing the key for any digit which is not part of the code RESETs all four D-types:

The D-input of the first D-type is held HIGH. When the first digit of the combination is pressed, output Q goes HIGH. If the second digit is the next key presssed, the second D-type will be SET and so on. Pressing any of the unselected keys gives a HIGH at the RESET inputs of all four bistables, and all the Q outputs revert to LOW.

Once the four digits of the code have been entered in the correct sequence, the lock ouptut goes HIGH and will remain HIGH until an unselected key is pressed. The system could be extended to provide an automatic RESET after a delay. Which type of subsystem could you use?

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cheap international calls