摘 要:随着社会科技的发展,人们对产品的便捷程度的要求越来越高。以往人们使用的机械锁安全性不高,人们的人身安全很容易受到损害。为了使得开锁安全方便,各种类型的密码锁应运而生。比如磁卡锁、声控锁、指纹锁等。本文主要研究通过红外遥控与单片机结合的方式实现可遥控的电子密码锁。展现了红外接收器的电路,并通过对红外信号的研究,设计了可以对遥控信号进行准确译码的方法。本设计可以进行红外开锁、本机开锁、修改密码、报警和显示等功能,可以用于家庭,宾馆,私家车库等场所,此方案设计的密码锁具有电路简单、集成度高、抗干扰能力强、性能稳定可靠、易于制作等优点,在室内有效遥控距离13m,在室外则为10m。91648
毕业论文关键词: 单片机,红外线,密码锁
Abstract:With the development of social science and technology, people's demand for the convenience of the product is getting higher and higher。 In the past, people used the mechanical lock which was not safe, people's life was easy to damage。Many types of combination lock came into being because of convenience。 Such as magnetic card lock, voice lock, fingerprint lock and so on。 This paper mainly studied the remote control electronic combination lock by means of infrared remote control and Single Chip Microcomputer。 It presented the circuit of the infrared receiver, and the remote control signal could be accurately decoded by studying the infrared signal。 The design could be used to unlock by the infrared or the machine, modify the password, alarm and other functions。It could be used for home, hotels, private garage and other places。The combination lock which was designed by this program has many adantages,such as simple circuit, high integration, anti-interference ability and so on。 In the room, the combination lock ‘effective distance was 13m,and in the outdoor was 10m。
Keywords:Single Chip Microcomputer, infrared, password lock
目录
1 绪论 3
1。1 引言 3
1。2 红外通信基本原理 3
2 总体方案设计 4
2。1 通信接口组成及工作原理 4
2。2 红外钥匙(从机)组成及工作原理 4
2。3 红外遥控门锁(主机)组成及工作原理 5
2。4 数据采集的原理 5
2。5 单片机串行通信原理 5
2。6 红外线遥控电子密码锁的设计要求 7
3 系统硬件设计与实现 7
3。1 设计原理 7
3。2 单片机STC89C51简介 8
3。2 AT24C02芯片 9
3。3 红外接收电路 10
3.4 键盘模块 11
3。5 声音提示模块 11
4 系统软件设计与实现 12
4。1 主程序模块 12
4。2 键盘扫描 13
4。3密码设置子程序 14
4。4 软件调试 15
5 实物调试与分析 16
5。1 实物调试 16
5。2 焊接的注意事项