文档介绍:题目智能红外遥控电子密码锁
学生姓名学号
所在学院陕西理工学院
专业班级电子信息工程1205
指导教师
完成地点博远楼实验室
2016 年 5 月 29 日
智能红外遥控电子密码锁
(陕西理工学院物理与电信工程学院电子信息工程专业 2012级5班,陕西汉中)
指导教师:
{摘要}本文论述了基于STC89C52单片机的红外遥控电子密码锁系统设计。该设计可以实现密码设定、密码显示、密码修改、本机开锁、远程遥控开锁、密码输入错误报警等等。本系统由STC89C52单片机、4*4矩阵键盘,蜂鸣器,复位电路和晶振电路、继电器等组成,4*4键盘主要用于密码的输入和修改,蜂鸣器报警,复位电路和晶振电路与STC89C52单片机组成单片机最小系统。本系统成本低廉,功能实用。
{关键词}: 密码锁;报警;蜂鸣器;STC89C52;
Intelligent infrared remote control electronic cipher lock
Bao Han
(Grade 12,Class 05,Major in Electronics & Information engineering ,Physics & munications engineering Dept, Shaanxi University of Technology,Hanzhong,Shaanxi ,)
Tutor: Wang Ting
Abstract:This dissertation is about concrete design of the hardware and program steps of Infrared ray test instrument’s design and realization based on STC89C52. This design can achieve the password selection; password to modify the password of the machine lock, remote keyless entry, the password is incorrect alarm function. This system by the STC89C52 single-chip puter, the 4 * 4 matrix keyboard, buzzer, reset circuit and vibration circuit, relay and so on, 4 * 4 keyboard is mainly used for input and modify the password, the buzzer alarm, and resonance circuit and reset circuit STC89C52 singlechip microcontroller minimum system. This system is low cost, function and practical.
Key words: combination lock; Call the police; Buzzer.;STC89C52
目录
1 绪论 1
课题背景 1
课题的目的和意义 1
电子密码锁发展趋势 1
本设计完成的工作 2
2 总体方案设计 3
电源模块 3
主控制器模块 3
3 硬件实现及单元电路设计 5
主控制模块 5
单片机的时钟电路与复位电路设计 5
单片机简介及管脚说明 6
键盘电路设计 7
液晶显示电路设计 8
存储芯片电路设计 9
报警电路 10
密码锁电路 10
4 红外遥控电路设计 12
红外通信基本原理 12
红外线遥控原理 12
13
5 系统软硬件设计与实现 14
主程序流程图 14
开锁软件设计 15
修改密码软件设计 16
6 系统的安装与调试 18
结论 19
致谢 20
参考文献 21
附录A 外文翻译 22
附录B 部分源程序 31
附录C 整机电路原理图 39
附录D元器件清单 40
附录E实物照片 41
1 绪论
课题背景
在我们日常的学习生活中,住所与公司的安全防护、单位重要的档案文件、财务报表以及大多数个人资料的保管多以上锁的方法来解决。若使用传统的手工机械开锁的钥匙,人们则需要随身携带许多钥匙,使用很不方便,而且钥匙遗失后安全性能就大大降低。随着科学技