内容发布更新时间 : 2024/12/28 13:17:25星期一 下面是文章的全部内容请认真阅读。
摘 要
在日常的生活和工作中,住宅与部门的安全防范、单位的文件档案及一些个人资料的保存多以加锁的方法解决。若使用传统的机械锁极不方便。随着科技的发展,智能电子锁应运而生。本系统由单片机系统AT89C51、外接矩阵键盘、6位LCD液晶显示数码管和声光报警器系统组成。系统能完成开锁、超时报警、超次锁定基本的密码锁的功能。除了上述基本功能外,还具有声光提示功能,依据实际的情况还可以添加遥控功能。本系统由于其安全性高、成本低、保密性高、使用灵活性好等优点,受到了广大用户的青睐。可广泛应用于宾馆、办公大楼和家庭等场所。
关键词 智能电子锁/单片机/矩阵键盘
DESIGN OF THE INTELLIGENT
ELECTRONIC LOCK BASED ON SINGLE DEVICE
I
CHIP
ABSTRACT
In daily life and work, the security of house and department, the document files of units and the saving of some personal data are mostly solved by lock. If you use the traditional mechanical locks, it is very inconvenient. With the development of technology, intelligent electronic lock is coming. The system consists of SCM system AT89C51, matrix keyboard, 6 digital LCD liquid crystal and sound and light alarm system. System can complete basic lock functions. Such as the lock, timeout alarm, super times lock. In addition to these basic functions, it also has sound and light tips and other functions. According to the actual situation, it can also add a remote control. The system is used by the majority of people because of its high safety, low cost, high security, flexibility and good use. It can be used in hotels, office buildings, home and so on.
KEY WORDS intelligent electronic lock, single chip device, matrix keyboard
目 录
II
中文摘要...............................................................................................................................................I 英文摘要..............................................................................................................................................II
1 绪论.....................................................................................................................................1 1.1 引言 ...................................................................................................................................... 1 1.2 电子锁的背景 ................................................................................................................. 1 1.3 电子锁的意义 ................................................................................................................. 1 2 方案选择与功能原理...............................................................................................................2 2.1 方案选择............................................................................................................................ 2 2.2 电子锁的系统功能 ...................................................................................................... 2 2.3 电子锁的工作原理 ...................................................................................................... 2 3 硬件电路设计...............................................................................................................................3 3.1 芯片的选取与介绍 ...................................................................................................... 3 3.2 晶振时钟电路 ................................................................................................................. 5 3.3 复位电路 ........................................................................................................................... 6 3.4 键盘电路............................................................................................................................ 6 3.5 显示电路 ........................................................................................................................... 7 3.6 声光报警电路 ................................................................................................................. 8 3.7 电路图绘制 ...................................................................................................................... 8
3.7.1 电路原理图 ............................................................................................................... 8 3.7.2 proteus简介 ............................................................................................................ 8
4 系统软件设计.............................................................................................................................11 4.1 主程序模块 .................................................................................................................... 11
III