Figure of equipment:
Breadboard:A thin plastic board used to hold
electronic components (transistors, resistors, chips, etc.) that are wired
together. Used to develop prototypes of electronic circuits.

7486 quad XOR Gate Ic: XOR gate (sometimes EOR, or EXOR and
pronounced as Exclusive OR) is a digital logic gate that gives a true (1 or
HIGH) output when the number of true inputs is odd. XOR is a bitwise operator,
and it stands for "exclusive or." An XOR gate implements an exclusive
from mathematical logic that is, a true output results if one, and only one, of
the inputs to the gate is true. If both inputs are false (0/LOW) or both are
true, a false output results. XOR represents the inequality function, i.e., the
output is true if the inputs are not alike otherwise the output is false. A way
to remember XOR is "must have one or the other but not both".An XOR
gate may serve as a "programmable inverter" in which one input
determines whether to invert the other input, or to simply pass it along with
no Fig No:01 change. Hence it functions as a inverter (a NOT gate) which may be
activated or deactivated by a switch.

7432 quad OR gate Ic: An OR gate is a digital logic gate
that gives an output of 1 when any of its inputs are 1, otherwise 0. An OR gate
performs like two switches in parallel supplying a light, so that when either
of the switches is closed the light is on.
7404 quad NOT gate
Ic: The NOT gate
is a single input single output gate. This gate is also known as Inverter
because it performs the inversion of the applied binary signal, i.e., it
converts 0 into 1 or 1 into 0. 7404 is a NOT gate IC. It consists of six
inverters which perform logical invert action, with single input and single
output pin.
8 Way Dip-Switch:
Switches are similar to checkboxes
and toggle buttons, which can also serve as binary inputs. One difference,
however, is that switches can only be used for binary input while checkboxes
and toggle buttons allow implementations the option of supporting a third
middle state.
Push button switch: A push button switch is a mechanical
device used to control an electrical circuit in which the operator manually
presses a button to actuate an internal switching mechanism. Push button
switches are an important component in electrical circuits as they help to
control the flow of current to devices. Simple yet effective, this type of
switch ensures better safety and efficiency of electrical systems.
10k Ohm Resistors: A 10k resistor is a passive
resistor but is a great help in controlling the flow of electric current in the
circuit. It is called a 10k ohm resistor due to the resistance of 10,000 Ohms.
470ohm Resistors: A 470-ohm resistor is an electronic
component that is used to resist the flow of electrical current in a circuit.
Diode 1N91N: The 1N914 is a small signal diode
which can handle low voltage and low current. The diode can switch at high speed
and hence normal used in switching applications and not in rectifier
applications.
Table:
A B C D E F
Output 0 0 0 0 0 0 0 (Red light)
0
0 0 0 0 1 0 (Red light)
0 0 0 0 1 0 0 (Red light)
1 0 0 1 1 1 1(Blue light)
In
this project, as password I used a ramdom number 39, which is 100111 in binary.
So when is input 100111 the lock will be open that denoted as blue light. On
the other hand for all wrong digit the input shows 0 which means unlock.
Simulation:
For:0000000
(Red Light)
For:0000010 (Red Light)
For:100111 (Blue Light)