电子密码锁毕业设计论文.doc

  1. 1、本文档共41页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
摘 要 电子密码锁己广泛的应用于日常生活中,随着电子产品向智能化和微型化的 不断发展,单片机已成为电子产品研制和开发中首选的控制器。由于单片机具有 体积小,耗电少,控制精度高,运行可靠等的特点,所以广泛应用于生产实际中。电 子密码锁是每个行业和生活中的重要参数之一。为了更好地推广电子锁在各领域 中的应用,在此根据任务要求设计了一种基于AT89S52单片机控制的电子密码锁。并介绍了单片机控制的矩阵式开关与数码管控制装置及其工作原理、设计思想、以及硬件电路和软件程序等。装置应用AT89S52单片机,通过单片机编写密码程序,并用74LS47和3-8译码器74LS138驱动的数码管来显示密码。数码管可以时时显示当前输入的六位数字。当输入密码正确时,对应的指示灯亮;当密码不正确时,另一个对应的指示灯亮且并且发出声音报警。 关键词:矩阵式键盘,单片机,数码管显示,电子密码锁,译码器 Abstract Electronic locks have been widely used in daily life, as electronic products to intelligent and miniaturization, SCM has become electronic product research and development in the preferred controller。Since the microcontroller with small, low power consumption, high precision control, reliable, and more features,it is widely used in production。Electronic code lock is the life of each industry and one of the important parameters。In order to better promote electronic locks in all areas of application,we designed an application MCU AT89S52 microcontroller-based control design of a matrix switch with digital control devices and their working principle, design, and hardware and software of electronic lock。AT89S52 microcontroller device applications, the password program written by SCM, and 3-8 with 74LS47 Decoder 74LS138-driven digital control to display the password。Digital tube can always display the current input of six digits。When you enter the password correctly, the corresponding indicator light;When the password is incorrect, the other, and the corresponding indicator light and sound alarm。 Key word:Matrix keyboard,SCM,Digital display ,Electronic locks 目录 摘 要 Ⅰ Abstract Ⅱ 引 言 1 第1章.系统方案选择和论证 2 1.1 设计要求 2 1.2 系统基本方案 2 1.2.1 系统框图 2 1.2.2 各模块方案选择和论证 3 1.2.3 系统各模块的最终方案 4 第2章. 系统的硬件设计与实现 6 2.1 系统硬件概述 6 2.2 主要单元电路的设计 6 2.2.1 键盘扫描模块电路的设计 6 2.2.2 单片机控制模块电路的设计 7 2.2.3 声光报警模块电路的设计 8 2.2.4 数码显示模块电路的设计 9 第3章. 系统的软件设计 11 3.1 系统软件概述 11 3.1.1 软件系统分析 11 3.1.2 主程序流程图: 12 3.2 子程序的设计 13 3.2.1 自检子程序 13 3.2.2 键盘扫描子程序 14 3.2.3 移位子程序 15 3.2.4 显示子程序 16 3.2.5 密码显示子程序 17 3.2.6 开锁子程序 18 3.

文档评论(0)

精品天地 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档