学士学位论文___超市存包柜密码锁的设计.doc
文本预览下载声明
广州大学华软软件学院
本科毕业论文
论文题目 超市存包柜密码锁的设计
专 业 自动化(智能电子技术)
班 级 12级自动化(智能电子技术)1班
姓 名
学 号
指导教师
广州大学华软软件学院电子系
2016年 4 月
摘要 针对超市商场的物品存放问题,提出一种随机密码的自动存包柜的设计方法。系统采用了STC89C51单片机最小系统、AT24C02存储芯片、4X4矩阵键盘、LCD1062显示和报警系统,能产生一组5位随机密码,并有修改密码功能,断电能保存密码原状态,密码使用一次有效,有三次容错功能,三次错误输入后密码锁定并报警,根据光敏原件还能调节显示屏的亮度,达到节约用电。具有防盗报警等功能的电子存包柜代替需要携带钥匙、人员管理和安全性差的机械式锁已是必然趋势。
关键词 自动存包柜;随机密码;STC89C51;报警
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 displays 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 based 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
目 录
1 前 言 1
1.1 研究背景和意义 1
1.2 自动存包柜设计内容 2
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 时钟电路 6
3.3 矩阵键盘设计电路 7
3.4 储存芯片电路设计 8
3.5 继电器驱动模块 9
3.6 声音提示模块 9
3.7 液晶显示电路设计 10
4 系统模块与程序设计 11
4.1 主程序模块 11
4.2 键盘扫描模块 12
4.3 修改密码模块 12
4.3 密码对比模块 13
5 系统安装与调试 14
5.1 安装步骤 14
5.1.1 检查原件的好坏 14
5.1.2 放置、焊接原件 14
5.1.2 焊接事项 14
5.2 调试 15
5.2.1 软件调试 15
5.2.1 硬件调试 15
6 总 结 16
参考文献 17
附 录 17
附录1:电子密码锁原理图 18
附录2:随机密码锁源代码 19
致 谢 42
前 言
研究背景和意义
作为保障消费者的权益,对自动存包柜消费升级的主要途径,自动存包柜在我们日常生活中扮演着日益重做的角色。目前,我国的自动存包柜行业还处于起步阶段,随着自动存包柜建设
显示全部