当前位置:首页 > 12864电子密码锁
长沙航空职业技术学院
长沙航空职业技术学院
空军航空维修技术学院
《电子密码锁》
电子密码锁的设计与制作
组别 第2组
姓名 刘小勇 唐斌 欧阳岚 李星 指导老师 王文海 戴俨炯
1
长沙航空职业技术学院
摘要
随着电子技术的发展,电子产品的智能化越来越受到推崇。其中密码锁也随着老式的机械式控制发展到今天的智能化控制。
本文主要阐述了该密码锁各模块电路的结构与工作原理,软件程序的设计与硬件电路的设计制作。并基于AT89S52单片机、24C02存储模块、12864液晶显示模块与开关锁模块等构成了电子密码锁,实现了液晶显示、密码存储与更改、系统自动报警等多种功能。
关键字:AT89S52;24C02;12864;继电器
2
长沙航空职业技术学院
Abstract
with the development of electronic technology, electronic products of intelligent more and more be commended. One trick lock with old mechanical control to today's intelligent control.
AT89S52 SCM, 24 based on C02 storage module, 12864 LCD module with hard relay control module consists of the combination lock system, realized the liquid crystal display, password storage and change, automatic alarm system, etc DuoZhong function.
This paper mainly expounds the trick lock each module circuit structure and working principle, software and hardware design of the program of the circuit design.
Key word: AT89S52 devices; 24 C02; 12864; relay
3
长沙航空职业技术学院
目录
摘要 ............................................... 2 Abstract ........................................... 3
第1章 系统整体设计 ..................................................................... 5
1.1设计要求 ............................................................................ 5 1.2系统硬件设计方案 ............................................................. 5 第2章硬件单元模块设计 ................................................................ 6
2.1微处理模块 ........................................................................ 6
2.1.1主要元件介绍 ......................................................... 6 2.1.2微处理模块电路 ..................................................... 7 2.2存储模块 ............................................................................ 8
2.2.1主要元件介绍 ......................................................... 8 2.2.2 24c08管脚功能:.................................................. 8 2.2.3时序图 .................................................................... 9 2.2.4存储模块电路 ....................................................... 10 2.3键盘输入模块 .................................................................. 10 2.4电源模块 .......................................................................... 11 2.5开关锁模块 ...................................................................... 12 2.6报警模块 .......................................................................... 13 2.7显示模块 .......................................................................... 13 第3章软件设计............................................................................. 15
3.1软件工作流程 .................................................................. 15 3.2密码修改流程 .................................................................. 17 第4章系统测试............................................................................. 19
4.1电源模块的检测与调试.................................................... 19 4.2显示模块的检测与调试.................................................... 19 4.3报警模块的检测与调试.................................................... 19 4.4软件调试心得 .................................................................. 20 4.5结果分析 .......................................................................... 20 设计总结 ........................................................................................ 21 致谢词............................................................................................ 22 参考文献 ........................................................................................ 23 元器件清单 .................................................................................... 24 附录1 程序清单 ............................................................................ 25 附录2 原理图与PCB图................................................................. 35 附录3 成品实物图 ........................................................................ 36
4
共分享92篇相关文档