40. Password Protected Locker System

Design a password-protected locker system using a microcontroller. The system has two types of passwords:

  • Master PIN (Reset User PIN)
  • User PIN (Access Locker)

The system will ask for a User PIN during the first-time setup. Both PINs will be used as described below:

  • Enter the User PIN to access the locker.
  • Update PIN after verifying the current User PIN.
  • Reset the User PIN using the Master PIN.

 

 

 

Submit Your Solution

Note: Once submitted, your solution goes public, helping others learn from your approach!