emd2.mp4
This project is a security access system for an STM32 microcontroller. It uses a 4x3 keypad for password entry, a 7-segment display for showing the number of failed attempts, LEDs for system status, and external interrupts for emergency reset and doorbell events. The system follows a simple state machine with three main states:
- Locked
- Unlocked
- Alarm
A correct password unlocks the system, incorrect attempts increase the failure counter, and repeated failures trigger the alarm state.
- Power on the system.
- The display starts at 0 and the system begins in locked mode.
- Enter the password on the keypad: ****
- If the password is correct, the system becomes unlocked and the success LED turns on.
- Press # to lock the system again.
- If the password is entered incorrectly several times, the failure counter increases and the alarm state is activated.
- Press the emergency reset button to clear the alarm and return to the locked state.
- Press the doorbell button to trigger the bell indicator.
- Clion
- Proteus
- STM32
This is a cmake project template for using the STM32-base project with a STM32F4 series device based on STM32-base project.