设计说明书
总字数:20000+
摘 要
本系统通过4*4矩阵键盘实现用户密码及RFID卡的输入与管理,支持重置密码、一键还原初始密码、添加与删除RFID卡等功能,操作简便快捷;利用AT24C02存储芯片实现密码的掉电保存,确保门禁系统数据的安全性与稳定性;当输入密码或RFID卡错误次数达到预设值时,系统自动锁定键盘及RFID卡模块,有效防止非法入侵;通过继电器控制门磁锁,实现门禁的开关控制,模拟真实门禁场景;显示屏模块则负责显示输入的密码(以*号代替,防止信息泄露),同时输入密码可加入扰乱码,提高门禁系统的安全性;特别地,本系统还支持通过红外遥控控制门锁的开关,为用户提供更加便捷的门禁操作方式。
该智能门禁控制系统的作用在于,它不仅能够为用户提供安全、高效的门禁管理功能,还能通过智能化技术的运用,提升门禁系统的便捷性与用户体验。此外,该系统还具有较高的可扩展性和灵活性,可根据用户需求进行功能定制与升级,满足不同场景下的门禁管理需求。
关键词:STC8952、智能门禁、红外遥控、单片机门禁控制
ABSTRACT
The system realizes the input and management of user password and RFID card through the 4*4 matrix keyboard, and supports functions such as resetting password, one key restoring initial password, adding and deleting RFID card, which is simple and fast to operate; The AT24C02 memory chip is used to save the password after power failure to ensure the security and stability of the access control system data; When the number of input password or RFID card errors reaches the preset value, the system automatically locks the keyboard and RFID card module to effectively prevent illegal intrusion; The door magnetic lock is controlled by relay to realize the switch control of access control and simulate the real access control scene; The display module is responsible for displaying the input password (replaced by a * sign to prevent information leakage), and at the same time, entering the password can add scrambling code to improve the security of the access control system; In particular, the system also supports the infrared remote control of the door lock switch, providing users with a more convenient access control operation mode.
The function of the intelligent access control system is that it can not only provide users with safe and efficient access control management functions, but also improve the convenience and user experience of the access control system through the application of intelligent technology. In addition, the system also has high scalability and flexibility, and can be customized and upgraded according to user needs to meet the access control management requirements in different scenarios.
Key words:STC8952、 Intelligent access control、 Single chip microcomputer,、Infrared remote control、 access control
目 录
1 绪论
1.1 研究背景与意义
1.2 国内外研究现状
1.2.1 国内研究现状
1.2.2 国外研究现状
1.3 主要研究内容
2 系统设计方案
2.1 系统整体方案
2.2 硬件选择
2.2.1 主控制芯片的选择
2.2.2 刷卡模块的选择
2.2.3 芯片的选择
2.2.4 报警模块方案的选择
2.2.5 显示模块的选择
3 软件的分析
3.1单片机最小系统
3.2矩阵键盘模块
3.3显示模块
3.4 存储模块
3.5 RFID刷卡模块
3.6 声光报警模块
3.7 继电器模块
3.8 红外遥控模块
4 系统程序设计
4.1 编程软件和语言介绍
4.2 主程序流程设计
4.3 独立按键模块子流程
4.4 LCD1602液晶显示子流程
4.5 矩阵键盘子流程
4.6 存储子流程
4.6.1 写入子流程
4.6.2 读取子流程
5 实物制作与功能测试
5.1实物制作
5.2实物功能测试
5.2.1 开锁功能测试
5.2.2 锁定功能测试
5.2.3 重置密码功能测试
5.2.4 模式切换功能测试
5.2.5 添加RFID功能测试
5.2.6 删除RFID卡功能测试
结 论
参考文献
致 谢
附录
附录一:原理图
附录二:PCB
附录三:程序代码
购买后可查看具体内容!