1、 本科毕业论文(设计) 题题 目目 基于基于 AT89C52AT89C52 的多功能密码的多功能密码控制系统控制系统的设的设 计计 学生姓名学生姓名 XXX 学号学号 2007XXXXXXX 专专 业业 电子信息工程 班级班级 电子信息工程 2 班 院院 (系)(系)电子信息工程学院 电子工程系 完成时间完成时间 2011 年 4 月 15 日 基于 AT89C52 的多功能密码控制系统的设计 摘 要 随着科技的日益发展,电子密码控制系统已越来越符合人们的要求。本文 介绍了基于单片机和串行 EEPROM 的智能密码控制系统,对系统硬件设计和软件实现 进行了详细的描述。 该系统采用AT89C52
2、单片机和AT24C02串行EEPROM,通过AT89C52 模拟 I2C 总线和 AT24C02 通讯,实现密码控制的功能。 本文从经济实用的角度出发,采用美国 Atmel 公司的单片机 AT89C52 作为 主控芯片与数据存储器单元,结合外围的矩阵键盘输入、LCD 液晶显示、报警、开锁 等,用 C 语言编写主控芯片的控制程序与 EEPROM 读写程序相结合,设计了一款可以 多次更改密码,具有报警功能的电子密码控制系统。这种电路设计具有防试探按键输 入、智能控制上锁、开锁、报警、修改密码等多种功能。密码长度可变、保密性强、 灵活性高。经实验证明,该密码控制系统具有设计方法合理,简单易行,成本低
3、,安 全使用等特点,符合车辆、办公室用锁要求,具有推广价值。 关键词 密码控制;单片机;EEPROM 读写程序 THE DESIGN OF MULTI-FUNCTIONS PASSWORD CONTROL SYSTEM BASED ON AT89C52 ABSTRACT As the development of science and technology day by day, the key control system is more in line with the requirements of people. The paper presents a cryptographic
4、smart password control based on MCU and serial EEPROM, describes hardware structure and software design of the system. It adopts AT89C52 and AT24C02, realizes the function of cryptographic smart password control. AT89C5 communicates with AT24C02 by I2C bus to achieve the password control function. This article from the economical and practical point of view, the use of the United States Atmel Corporation AT89C52 microcontroller as a master chip and the data memory unit, combined with the e