文档介绍:学号:201114040215
HEBEI UNITED UNIVERSITY
单片机课程设计说明书
设计题目:简易电子密码锁
学生姓名:李红辉
专业班级:测控技术及仪器2
学院:电气工程学院
指导教师:曹晓华
2014年06月05日
成绩评定表
指导教师评语:
答辩成绩: (占总成绩60%)
说明书成绩: (占总成绩40%)
摘要
在日常的生活和工作中, 住宅与部门的安全防范、单位的文件档案、财务报表以及一些个人资料的保存多以加锁的办法来解决。若使用传统的机械式钥匙***,人们常需携带多把钥匙, 使用极不方便, 且钥匙丢失后安全性即大打折扣。随着科学技术的不断发展,人们对日常生活中的安全保险器件的要求越来越高。为满足人们对锁的使用要求,增加其安全性,用密码代替钥匙的密码锁应运而生。密码锁具有安全性高、成本低、功耗低、易操作等优点。
在安全技术防范领域,具有防盗报警功能的电子密码锁逐渐代替传统的机械式密码锁,克服了机械式密码锁密码量少、安全性能差的缺点,使密码锁无论在技术上还是在性能上都大大提高一步。随着大规模集成电路技术的发展,特别是单片机的问世,出现了带微处理器的智能密码锁,它除具有电子密码锁的功能外,还引入了智能化管理、专家分析系统等功能,从而使密码锁具有很高的安全性、可靠性,应用日益广泛。
本课程设计介绍了基于单片机电子密码锁的设计,该设计硬件主要由AT89C52最小系统、矩阵电路、1602LCD显示电路、电源电路和报警电路等几部分组成。软件主要由C语言编程。该密码锁由单片机技术,通过矩阵电路设置、修改密码、保护密码,并由LCD显示密码输入,从而实现对密码的设置、保护。
关键词: 单片机, 密码锁, 1602,最小系统,矩阵键盘
Abstract
In daily life and work, the department of housing and security, unit documents, financial statements and some personal information to save more in order to lock the ways to solve. If use the traditional mechanical key to open the lock, people often need to carry multiple keys, use very convenient, and the key missing after security promised. With the continuous development of science and technology, people in daily life the demand is higher and higher safety insurance device. To meet the requirements of people on the use of the lock, increase its safety, use the password instead of the bination lock arises at the historic moment. Combination lock with high safety, low cost, low power consumption, easy operation, etc.
In the field of security technology to guard against, with bination lock anti-theft alarm function gradually replace the traditional bination lock, ing the bination lock password quantity is little, the ings of poor safety performance, make bination lock both in technology and step in performance are improved greatly. With the development of large scale integrated circuit technology, especially the single chip puter, appeared with the bination of the microprocessor, it besides has the function of bination