- 1、本文档共63页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
【电子信息工程毕业设计+文献综述+开题报告】红外遥控电子密码锁设计—软件设计
The Design of Electronic Code Locks Based on Infrared Remote ControlSoftware Design
Abstract
码At present, key-pad electronic code lock with alarming function is to gradually replace the traditional mechanical code lock. Key- pad electronic code lock makes a great progress in terms of performance and technology, for instance, overcoming the shortcoming of the traditional mechanical code lock which contain few password , lack of reliability and inconvenient operation. This paper introduces a type of remote-controlled electronic code lock based on the chip of 80C52. This code lock have two input devices, one is a 4*4 matrix keyboard installed on the code lock. Another is a remote controller . In the design, we adopt the infrared ray as the medium, because of the reliable transmission of information,and the strong anti-interference ability. We can use either of them to open the lock or change the password we have set. when you are operating, LCD1602 could display the information. This paper first introduce the encoding and decoding theory of infrared remote control, the working principle of the 4*4 matrix keyboard, STC89C52 internal EEPROM applications, and LCD1602 initialization and working principle, and so on .Then the design of software is described in detail. The flowchart and code of the main program and major subroutine such as infrared remote control subroutine and 4 * 4 matrix keyboard subroutine are shown.
Keywords: MCU Electronic code lock Infrared Remote-control
目录
摘 要 III
Abstract IV
1 绪论 1
1.1课题的来源 1
1.2课题的意义 1
1.3国内外发展现状 1
1.4课题研究的主要内容 2
2方案设计与总体设计 3
2.1总体方案的设计 3
2.1.1总体方案的硬件设计 3
2.1.2总体方案的软件设计 4
2.2硬件设计简述 5
2.2.1单片机主控模块 5
2.2.2 红外遥控模块 5
2.2.3 4*4矩阵键盘模块 6
2.2.4 LCD1602液晶显示模块 6
2.2.5 报警模块 7
2.2.6 电源模块 7
2.3方案评价 7
3系统软件设计 9
3.1主程序设计 9
3.2红外遥控模块软件设计 9
3.2.1 红外通信基本原理及标准 9
3.2.2 红外遥控系统及原理 10
3.3 LCD1602液晶显示模块软件设计 13
3.4 STC单片机内部EEPROM及ISP的应用 14
3.4.1 EEPROM存储器 14
3.4.2 ISP特殊功能寄存器 15
3.5 4*4矩
文档评论(0)