Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.64 KB

File metadata and controls

61 lines (43 loc) · 1.64 KB

🔐 Digital Lock System

📌 Overview

The Digital Lock System is a digital logic design project that simulates a secure 4-digit password-based lock. The system verifies user input using combinational and sequential logic, granting access only when the correct password is entered.

🎯 Objective

To design and implement a digital system that:

  • Accepts a 4-digit password via input switches/keypad
  • Stores inputs using flip-flops
  • Compares input with a preset password
  • Activates an LED upon successful verification

⚙️ How It Works

  1. Input: User enters a 4-digit password (0–9).
  2. Encoding: Each digit is converted to 4-bit binary.
  3. Storage: D Flip-Flops store the entered digits sequentially.
  4. Comparison: XNOR gates compare input with the preset password.
  5. Validation: AND gates verify full match.
  6. Output: LED turns ON if the password is correct.

🧩 Components Used

  • D Flip-Flops (Sequential Logic)
  • XNOR Gates (Bitwise Comparison)
  • AND Gates (Validation Logic)
  • BCD to Binary Encoder
  • Clock Signal (CLK)
  • Input Switches / Keypad
  • LED (Output Indicator)

✅ Features

  • Simple and efficient design
  • Real-time password verification
  • Modular (can be extended to more digits)
  • Educational demonstration of digital logic

📚 Applications

  • Electronic door locks
  • Secure lockers and safes
  • Lab access systems
  • Teaching digital electronics concepts

👨‍💻 Team Members

  • Muhammad Hassan (F24608010)
  • Muhammad Abdullah Tahir (F24608011)
  • Muhammad Hassan Khawaja (F24608030)
  • Muhammad Rehan Ranjha (F24608041)
  • Muhammad Zia ur Raheem (F24608048)

📅 Date

June 03, 2025