1、 1 目目 录录 摘要摘要2 A ABSTRACTBSTRACT .2 1.1. 绪论绪论.2 1.1 密码锁的作用与意义 2 1.2 电子密码锁的设计分析 3 2 2. . 系统方案的系统方案的论证论证.3 2.1 单片机控制模块.3 2.2 74hc244 驱动模块3 3.3 电源模块 .3 3 3. . 总体设计方案总体设计方案 4 3.1 系统模块.4 3.2 系统方案 4 4 4. . 硬件电路设计硬件电路设计.5 4.1 分析任务要求。写出系统整体设计思路5 4.2 选择单片机型号和所需外围器件型号. . 6 4.3 分析软件要求 . . . . . . 6 4.4 调试方案 .
2、. . . . . 8 总结总结 . 9 参考文献参考文献.9 附录附录.10 致谢致谢.16 2 密码锁的密码锁的设计设计 摘要摘要:设计了一个基于单片机控制的密码锁。该系统采用 AT89S52 单片机为主控 制核心,实现用按键的密码来控制锁的开关状态;检测密码的正确与否,利用 74hc244 来驱动四位数码管,再由发光二极管和蜂鸣器的状态来显示。 该系统有单片机控制模块、74hc244 驱动数码管模块和电源模块。单片机控 制模块主要利用单片机接受到开关输入的密码,然后判断密码正确与否,控制显 示器件;74hc244 驱动数码管模块则用来驱动四位数码管,数码管是用来显示密 码的输入的数字。
3、关键词关键词:单片机;74hc244;密码锁 Combination lock design Abstract:Designed a combination lock based on single chip microcomputer control 。 This system uses AT89S52 as control core mainly , Realizing the password to control the world use the lock switch state, Detection password, using the correctness of 74hc2
4、44 to drive the four digital tube, if the correct password is light buzzer rang. The system has single-chip microcomputer control module, 74hc244 drive digital tube module and power supply module. Single-chip microcomputer control module mainly USES singlechip accept to switch input password, and then judge the password is correct or not, 74hc244 drive digital module is used to drive tube four digital tube, digital tube is used to show the password of input number Key word: microcontrol