Locker management system for Arduino-controlled smart locker.
- Changeable password stored in EEPROM
- Alarm system triggers when the locker is forcefully opened
- Power on the Arduino system.
- Use the 4x4 keypad to enter the password.
- If the password is correct, the servo unlocks the locker.
- If the password is incorrect, access is denied.
- If the locker is forcefully opened, the buzzer alarm will sound.
- The LCD displays status messages and prompts during operation.
- A: Clear input
- B: Erase last inserted character
- C: Change password (only works if you have access)
- D: Lock safe (only works if you have access and safe door is closed)
- *: Toggle mute for keypad sounds (alarm sound can't be muted)
- #: Confirm input
- Arduino Uno — microcontroller platform
- 4x4 Matrix Keypad — for user input
- Servo Motor — controls the locking mechanism
- Buzzer — for alarm notifications
- 16x2 LCD with I2C Module — displays status and prompts
- EEPROM — stores the password securely
- Arduino IDE — development environment
Before you begin: make sure that the first 17 bytes of the Arduino EEPROM are clear (each byte should be 0xFF) for the program to work properly. If you have never used the Arduino in projects involving EEPROM you can safely ignore this.
- Connect a buzzer to pin 5
- Connect a servo (acting as the lock) signal pin to pin 3
- Connect 4x4 keypad pins (Row1 to Col4) to Arduino pins 13 to 6
- Connect an LCD with I2C module to analog pins A5 (SCL) and A4 (SDA)
- Connect a potentiometer to pin A3; place it below the hinges of the door so it rotates with the door to detect if the door is closed or open
You can reach me at: [email protected]