Name
Muhammad Saeed
Roll NO:14093122-026
Topic:-
Simple combination Lock
Simple combination Lock
•A simple combination lock is a type of locking
device in which a sequence of numbers is used
to open the lock.
SCHEMATIC DIAGRAM
Go LED
Not Go
LED
Key
code
Entered code
PARTS AND MATERIALS
• 3 NOR gate
• 4 XOR gate
• Eight switches
• Two light-emitting diodes
• 10 kΩ resistors, 470 Ω resistors
• Pushbutton switch, normally open
• Two batteries
Working:-
• This circuit illustrates the use of XOR (Exclusive-OR) gates as bit
comparators.
• Four of these XOR gates compare the respective bits of two 4-bit
binary numbers, each number “entered” into the circuit via a set of
switches.
• If the two numbers match, bit for bit, the green “Go” LED will light up
when the “Enter” pushbutton switch is pressed.
• If the two numbers do not exactly match, the red “No go” LED will
light up when the “Enter” pushbutton is pressed.
When we apply Right code:
Go LED
will ON
When we apply wrong code:
Not Go LED
will on

simple combinational lock

  • 1.
  • 2.
  • 3.
    Simple combination Lock •Asimple combination lock is a type of locking device in which a sequence of numbers is used to open the lock.
  • 4.
    SCHEMATIC DIAGRAM Go LED NotGo LED Key code Entered code
  • 5.
    PARTS AND MATERIALS •3 NOR gate • 4 XOR gate • Eight switches • Two light-emitting diodes • 10 kΩ resistors, 470 Ω resistors • Pushbutton switch, normally open • Two batteries
  • 6.
    Working:- • This circuitillustrates the use of XOR (Exclusive-OR) gates as bit comparators. • Four of these XOR gates compare the respective bits of two 4-bit binary numbers, each number “entered” into the circuit via a set of switches. • If the two numbers match, bit for bit, the green “Go” LED will light up when the “Enter” pushbutton switch is pressed. • If the two numbers do not exactly match, the red “No go” LED will light up when the “Enter” pushbutton is pressed.
  • 7.
    When we applyRight code: Go LED will ON
  • 8.
    When we applywrong code: Not Go LED will on