1、 单片机技术课程单片机技术课程设计说明书设计说明书 密码锁 系 、 部: 电气与信息工程系 学生姓名: 指导教师: 职称 副教授 专 业: 自动化 班 级: 完成时间: 2012 年 1 月 1 日 摘 要 随着科技的日益发展,针对传统机械锁安全性能低,需随身携带且易丢失钥 匙和出现故障的缺点,另外随着经济技术的发展和人们对生活水平的提高,电子 密码锁控制系统已经越来越符合人们的要求, 本文设计了一种使用单片机实现的 电子密码锁。 该密码锁采用 AT89S52 作为主控芯片和数据存储单元, 结合外围的矩阵式键 盘输入 、LCD 液晶显示 、报警等,用 C 语言编写主控芯片与 EEPROM 读写
2、程序 相结合,设计了一个可以多次修改密码,并且具有报警功能的电子密码锁控制系 统。 关键词 : 密码锁;AT89S52;AT24C02 ABSTRACT Along with the development of science and technology,in view of the traditional mechanical lock security low,need to carry and easy lost key and failure shortcomings,in addition with economic technical development and peopl
3、e to the improvement of living standard requirements,electronic combination lock control system has been more and more accord with the requirement of people,this paper introduces a design using microcomputer electronic combination lock. This electronic lock adopts the monolithic integrated circuit A
4、T89S52 as the master chip and data storage locations,combines with the matrix keyboard input,liquid crystal display,alarm,written in C contro chip with an EEPROM literacy programs combining,design of a password,an can be changed several times with alarm function of electronic combination lock control system. Key words trick lock;at89s52;at24c02 目 录 1 系统总体设计方案