基于51单片机简易密码锁设计要点.docxVIP

  • 13
  • 0
  • 约1.93万字
  • 约 37页
  • 2016-11-17 发布于湖北
  • 举报
 PAGE \* MERGEFORMAT 36  PAGE \* MERGEFORMAT 37 易密码锁设计 摘要:本设计以单片机STC89C52RC作为密码锁监控装置的检测和控制核心,分为主机控制和从机执行机构(本设重点介绍主机设计),实现钥匙信息在主机上的初步认证注册、密码信息的加密、钥匙丢失报废等功能。根据51单片机之间的串行通信原理,这便于对密码信息的随机加密和保护。而且采用键盘输入的电子密码锁具有较高的优势。采用数字信号编码和二次调制方式,不仅可以实现多路信息的控制,提高信号传输的抗干扰性,减少错误动作,而且功率消耗低;反应速度快、传输效率高、工作稳定可靠等。软件设计采用自上而下的模块化设计思想,以使系统朝着分布式、小型化方向发展,增强系统的可扩展性和运行的稳定性。测试结果表明,本系统各项功能已达到本设计的所有要求。 关键词:单片机;智能密码锁;串行通信 The Design Of The Simple?Password Lock Abstract:It can carry out the key information to register in the main on board initial attestation, the password information encrypt etc. Go to correspond by letter the principle according to the string between 51 machines, this is easy to encrypt and protect to the passwords information random. Adopt the numerical signal codes,not only can carry out many controls of the road information, raise the anti- interference that signal deliver, reduce the mistake action,but also the power consume is low, Respond quickly,the efficiency deliver is high, work stable credibility etc. The software design adoption the design thought from top to bottom, to make the system toward wear distribute type,turn to the direction development of small, strengthen the system and can expand the stability and circulate.Test the result enunciation, various functions of this system are already all request of this design. Key Words : singlechip; intelligent password lock; Serial communication; 目 录  HYPERLINK \l _Toc388898932 概述 1  HYPERLINK \l _Toc388898933 1 设计目标 1  HYPERLINK \l _Toc388898936 2硬件设计与原理 2  HYPERLINK \l _Toc388898937 2.1 设计总框图 2  HYPERLINK \l _Toc388898938 2.2 硬件设计分析 2  HYPERLINK \l _Toc388898939 2.2.1 电源的设计 2  HYPERLINK \l _Toc388898940 2.2.2 单片机最小系统 3  HYPERLINK \l _Toc388898941 2.2.3 显示系统 8  HYPERLINK \l _Toc388898942 2.2.4 矩阵按键模块 8  HYPERLINK \l _Toc388898943 2.2.5 蜂鸣器和指示灯电路 9  HYPERLINK \l _Toc388898944 3软件设计与分析 9  HYPERLINK \l _Toc388898945 3.1 软件设计的组成 9  HYPERLINK \l _Toc388898946 3.2 各部分软件分析 9  HY

文档评论(0)

1亿VIP精品文档

相关文档