This project implements a secure door locker system using two ATmega32 microcontrollers.
The system allows password-protected door access, managed through a Human Machine Interface (HMI) and a Control ECU.
- HMI ECU: Interfaces with the user via 4x4 keypad and 2x16 LCD
- Control ECU: Handles password validation, door control, and alarm activation
- Password Protection: Users can set, enter, and change passwords securely
- Door Lock/Unlock: DC motor rotates to lock or unlock the door
- Security Alarm: Buzzer triggers after multiple incorrect password attempts
- EEPROM Storage: Securely stores the system password
- UART Communication: Facilitates communication between the two microcontrollers
- Microcontrollers: ATmega32 (2 units)
- LCD: 2x16 LCD for displaying messages
- Keypad: 4x4 Keypad for user input
- DC Motor: Controls door locking/unlocking
- Buzzer: Security alarm
- EEPROM: Stores passwords
- Other: UART, GPIO, Timers, PWM
- HMI ECU: Handles user input and LCD display
- Control ECU: Manages password validation, motor, and buzzer
- Create a Password: User sets a 5-digit password
- Open Door: Enter the password to unlock
- Change Password: Re-enter current password to set a new one
- Security Mechanism: 3 wrong attempts → buzzer sounds for 1 minute & system locks
Watch the simulation on LinkedIn:
Door Locker System Simulation Video
- GPIO Driver: Input/output management for both ECUs
- LCD Driver: Display messages on 2x16 LCD
- Keypad Driver: Reads user input from 4x4 keypad
- Motor Driver: Controls door motor
- EEPROM Driver: Stores and retrieves passwords
- UART Driver: Communication between HMI and Control ECU
- Timer Driver: Motor timing and message display
- Buzzer Driver: Triggers alarm on security events
- Connect ATmega32 microcontrollers, LCD, keypad, DC motor, EEPROM, and buzzer as per the project schematic
- Ensure all drivers (UART, GPIO, Timer, LCD, Keypad, Motor, Buzzer, EEPROM) are implemented
- Upload code to the two ATmega32 microcontrollers
- Set a password
- Test door unlocking, password change, and security alarm

