Skip to content

hassancodebase/DigitLockPro-4DigitLogicLock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ” 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


About

A digital logic-based 4-digit password lock system that uses flip-flops and logic gates to verify input and grant access via an LED indicator.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors