The circuit described here is an electronic combination Security Code Lock. It opens only when you press four keys in the correct sequence (referred to as a code) out of a total of eight keys installed at your entrance door. If you press the wrong key sequence, the circuit resets, and the lock will not open. The author’s prototype is shown in Fig. 1.
POC Video In English:
POC Video In Tamil:
Security Code Lock – Circuit and Working
The circuit diagram of the security code lock is shown in Fig. 2. The circuit consists of step-down transformer X1, bridge rectifier BR1, 12V voltage regulator LM7812 (IC1), dual-D flip-flop ICs 4013 (IC2 and IC3), rectifier diode 1N4007 (D1), PNP transistor BC557 (T1), npn transistor 2N2219 (T2), 12V single changeover relay RL1, and a few other components.
This project operates with 12V DC which is derived from the 230V AC primary to 15V, 500mA secondary step-down transformer X1. The 230V AC mains is connected to the primary of X1 via CON1 in the circuit. The secondary of X1 is 15V AC, which is connected to bridge rectifier BR1 for rectification and filtered by capacitor C1.
The rectified and filtered voltage is then supplied to regulator IC LM7812 (IC1) to regulate it to 12V for enabling the circuit. The glowing LED1 indicates that 12V is available to enable the circuit.