Design of an Electronic Code Lock Based on STM32

Guoqin Zhang,Shi-ying Shen
DOI: https://doi.org/10.1109/ITOEC53115.2022.9734690
2022-03-04
Abstract:People's quality of life needs to be improved, and the anti-theft risk needs to be paid more attention. Therefore, a simple electronic lock is becoming more and more important. The system takes STM32f1 series single chip microcomputer as the main control chip, and the matrix keyboard is used to input and modify the password. In the password input function, the input password is compared with the original password in the memory to determine whether the unlocking function should be performed. The hardware is mainly composed of minimum system development board, relay module, matrix keyboard module, buzzer module and display module. Its function and circuit are designed and analyzed in detail. The software design is mainly composed of three parts: key detection part, key event part and OLED state change to complete the four main functions: key password input and unlocking, password modification, wrong password alarm and display screen. According to the previous design, the software simulation and physical installation and debugging are carried out, and the results fully realize the functions and requirements of the design.
Computer Science,Engineering
What problem does this paper attempt to address?