1、 本科毕业论文本科毕业论文 论文题目论文题目 超市存包柜密码锁的设计超市存包柜密码锁的设计 专 业 自动化(智能电子技术) 班 级 12 级自动化(智能电子技术)1 班 2016 年 4 月 I 摘要 针对超市商场的物品存放问题,提出一种随机密码的自动存包柜的设计方 法。 系统采用了 STC89C51 单片机最小系统、 AT24C02 存储芯片、 4X4 矩阵键盘、 LCD1062 显示和报警系统,能产生一组 5 位随机密码,并有修改密码功能,断电能保存密码 原状态,密码使用一次有效,有三次容错功能,三次错误输入后密码锁定并报警, 根据光敏原件还能调节显示屏的亮度,达到节约用电。具有防盗报警等
2、功能的电子 存包柜代替需要携带钥匙、人员管理和安全性差的机械式锁已是必然趋势。 关键词 自动存包柜;随机密码;STC89C51;报警 II ABSTRACT For supermarket goods storage problems,propose a design method of random passwords of automatic lockers. The system uses the smallest single-chip system STC89C51, AT24C02 memory chip, 4X4 matrix keyboard, LCD 1062 display
3、s and alarm system, that can produce a set of five random passwords, and change password function, power off can save passwords original state,password can only be used once, password can be wrong three times, after three wrong password locking and alarm, also adjust the brightness of the displays b
4、ased on the photosensitive member, to save electricity. A burglar alarm electronic lockers is an inevitable direction, it will replace the portable key, poor security and personnel management mechanical locks. KEY WORDS Automatic lockers;Random passwords;STC89C51;Alarm III 目 录 1 前 言 . 1 1.1 研究背景和意义 1 1.2 自动存包柜设计内容 1 2 总体设计 3 2.1 电子密码锁设计的要求 3 2.2 设计方案的选定 3 2.2.1 采用数字电路控制 3 2.2.2 采用以单片机为核心的控制器件 4 3 系统硬件电路设计 5 3.1 系统硬件电路 5 3.2 单片机的最小系统电路 5 3.2.1 复位电路 6 3.2.2 时钟电路 7 3.3 矩阵键