40. Password Protected Locker System

The given task is to design a password-protected locker system using a microcontroller that secures access through two types of PINs — a Master PIN and a User PIN.

Requirements

  • During the first-time setup, the system prompts the user to set a User PIN.
  • The User PIN is used to unlock or access the locker.
  • The user can update the PIN after verifying the current User PIN.
  • The Master PIN provides administrative access to reset the User PIN if it is forgotten.
  • All PINs should be stored in EEPROM to retain them even after a reset or power loss.

Why Use EEPROM?

  • EEPROM (Electrically Erasable Programmable Read-Only Memory) is a non-volatile memory that preserves stored data even when power is turned off.
  • It is ideal for this application because it allows secure storage and retrieval of PINs across power cycles, ensuring the system remains functional and secure after restarts.

This task will  be implemented with the following microcontrollers:

  1. ESP32
  2. Arduino UNO

Submit Your Solution

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