Skip to content

This project implements a simple digital lock system using a 4-bit password entered via switches. The input is compared to a preset value, turning an LED ON if matched, or keeping it OFF otherwise. A reset input clears the entry, and a "try again" option allows repeated attempts.

Notifications You must be signed in to change notification settings

aadarshpal1907/dig_lock_sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

This project involves the design of a simple digital lock system that uses a 4-bit password for authentication. The user inputs a 4-bit binary password through four switches, which is then compared to a preset 4-bit value stored in the system. If the entered password matches the preset value, an LED turns ON, indicating successful access. If the password does not match, the LED remains OFF. The system also includes a reset input, which clears the current entry and allows the user to re-enter the password. Additionally, a "try again" option is provided, enabling multiple attempts without needing a full system reset. This design demonstrates basic principles of combinational logic and input comparison, and is ideal for FPGA implementation or digital simulation. It can be extended further with features like lockout after multiple failed attempts or more bits for higher security.

About

This project implements a simple digital lock system using a 4-bit password entered via switches. The input is compared to a preset value, turning an LED ON if matched, or keeping it OFF otherwise. A reset input clears the entry, and a "try again" option allows repeated attempts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors