设计说明书 基于单片机的密码锁的设计.pdfVIP

  • 7
  • 0
  • 约3.04万字
  • 约 35页
  • 2021-06-18 发布于天津
  • 举报

设计说明书 基于单片机的密码锁的设计.pdf

基于单片机的密码锁设计 目录 前言3 第一章 系统方案论证4 1.1 主控部分的选择4 1.2 密码输入方式的选择4 第二章 系统总体设计和主要芯片介绍5 2.1 系统总体设计5 2.2 主要芯片介绍5 第三章 系统硬件构成 11 3.1 系统整体电路图11 3.2 单片机最小系统原理图11 3.3 电源输入部分11 3.4 键盘输入部分12 3.5 密码存储部分13 3.6 显示部分13 3.7 报警部分14 第四章 软件的设计与实现 15 4.1 主程序流程图15 4.2 按键功能程序流程图15 4.3 密码设置流程图16 4.4 开锁流程图17 第五章 系统的调试与测试 18 5.1 proteus 软件简介 18 5.2 进入 Proteus ISIS 18 5.3 仿真说明18 5.4 实物测试图及说明20 结论 24 参考文献 25 i 致谢 26 附录 27 附录 1:原理图 27 附录 2:部分源程序 28 ii 摘要 本系统由单片机系统、矩阵键盘、LED 显示和报警系统组成。系统能完成开锁、超次 锁定、报警、修改用户密码基本的密码锁的功能。除上述基本的密码锁功能外,还具有 掉电存储、声光提示等功能,依据实际的情况还可以添加遥控功能。本系统成本低廉, 功能实用。 关键词:AT89S51 ;AT24C02 ;电子密码锁;矩阵键盘。 第 1 页 Abstract As peoples living standards improve, the question how to achieve home security has become particularly prominent. In science and technology is developing continuously, electronic code lock as a security guards role is increasingly important. This article from the economical point of view, the system by the STC89C52 with low power CMOS based E²PROM AT24C02 as the master chip and the data memory unit, combined with the external keyboard, LCD display, alarm, unlock and other circuit modules. It performs the following functions: enter the password correctly under the premise of unlocking; wrong password case the alarm; password can be changed according to user needs. Master in C language control program and EEPROM AT24C02 chip to read and write process are combined and compiled with the Keil sof

文档评论(0)

1亿VIP精品文档

相关文档