摘 要:针对传统接触式密码锁使用不太方便且易接触磨损、智能识别密码锁系统成本较高制作较为复杂的不足,利用单片机及红外技术设计了一款红外遥控密码锁。密码锁系统由红外遥控装置、红外接收头CHQ1838、继电器以及AT89C51单片机控制部分构成。详细介绍了系统硬件结构组成,并进行了安装与调试,结果表明采用单片机进行遥控系统的应用设计,其编程灵活多样,电路结构清晰,整个设计具有遥控开锁、本机控制开锁、密码修改等功能,可在密码外泄的情况下及时修改,具有保密性好、安全可靠、成本低廉、连接方便、简单易用、适用范围广等特点,特别适合家庭,仓库,私家车库等场所。94400
毕业论文关 键 词:红外遥控、红外接收、单片机、密码修改、keil c51
Abstract:In view of the traditional contact type lock using less convenient and easy to wear, intelligent identification code lock system is high cost production more complex problems, and the use of single-chip infrared technology to design a infrared remote control password lock, password lock。 The system consists of infrared remote control device, infrared receiving head CHQ1838, relay and AT89C51 control part。 This paper introduces the hardware structure of the system, and the installation and debugging, the results show that the application of the design uses a single-chip microcomputer system, the programming is flexible, the circuit structure is clear, the whole design of remote unlocking, the machine control lock, modify password The utility model is characterized in that the utility model has the advantages of good confidentiality, safety, reliability, low cost, convenient connection, simple and easy use, wide application range, etc。 the utility model is especially suitable for families, warehouses, private garages, etc。
Key word: infrared remote control , receiving head, SCM, password revision, keil c51
目 录
1引言 4
2 系统研究内容及方案设计 4
2。1 电子密码锁设计的具体要求 4
2。2 总体设计方案选定 5
3 系统硬件设计 5
3。1 设计原理 5
3。2 LCD显示模块 6
3。3 键盘设计 7
3。4 声音提示模块 7
3。5 继电器控制模块 8
3。6 红外遥控系统结构 9
3。6。1 红外信号的二进制编码 9
3。6。2 红外接收模块 11
4 系统软件设计 12
4。1 主程序模块 12
4。2 键盘扫描子程序 13
4。3 系统模块密码设置子程序 14
4。4 开锁子程序 15
4。5 红外发送和接收模块 15
4。6 数据存储软件设计 17
5 系统安装与调试 19
5。1 Protues仿真测试 19
5。2 系统制作 21
5。3 系统调试 22
5。3。1 Keil的编译