摘要:本课题设计了一种基于单片机电子密码锁,这种电子密码锁以单片机作为数据处理主控芯片。电子密码锁的设计主要由四部分组成:4×4矩阵键盘接口电路、以AT89S51芯片为核心的密码锁的数据处理及控制电路、掉电情况下依然能保存密码的EEPROM存储器芯片。另外系统还有LED提示灯,报警蜂鸣器,单片机复位电路等。软件部分,给出程序流程图并利用汇编语言。同时,利用proteus电路仿真软件,验证了该电路原理的正确性。最后,焊接制作电子密码锁的单片机控制系统电路板,并结合编程器调试程序。电子密码锁设计的关键问题是实现密码的输入、清除、开锁、更改等功能。结合这种情况,本文对单片机的电子密码锁的设计进行了分析和探究。52752

毕业论文关键词: AT89S51,电子密码锁,报警

  Abstract:This topic has designed a kind of electronic combination lock based on MCU, this electronic combination lock with single-chip microcomputer as the master control chip data processing. Electronic combination lock design is mainly composed of four parts: 4 * 4 matrix keyboard interface circuit, with AT89S51 as the core chip of the combination of data processing and control circuit, the electric block can still save password EEPROM memory chips. Additional system and LED lights, alarm buzzer, single-chip microcomputer reset circuit, etc. Software part, the flow chart of program and by using assembly language. At the same time, the use of proteus simulation software to verify the correctness of the proposed circuit principle. Finally, the MCU control system circuit boards welding electronic combination lock, and combining the programmer debugging program. Electronic combination lock design is the key problem of password input, clear, lock, changes, etc. Combined with this kind of situation, in this paper, the single chip microcomputer electronic combination lock design are analyzed and explored.

Key words:AT89S51, electronic trick lock, alarm

1 绪论 4

1.1 课题背景和意义 4

1.2 电子密码锁发展趋势 5

2 电子密码锁的总体设计方案 5

2.1 电子密码锁设计的具体要求 5

2.2 总体设计方案选定 6

3 基于单片机的电子密码锁硬件设计 7

3.1 单片机AT89S51简介 7

3.2 单片机最小系统的设计 8

3.3 开锁机构 11

3.4 键盘设计 11

3.5 显示电路设计 13

3.6 电路设计总图 13

4 基于单片机的电子密码锁软件设计与仿真 14

4.1主程序流程图 14

4.2 主程序设计 15

4.3 键盘扫描及识别子程序 16

4.4 系统模块密码设置子程序 17

4.5 程序调试.......18

5 电子密码锁制作及调试 20

5.1焊接注意事项: 20

5.2硬件调试 21

结论 23

参考文献 24

致谢 25

附录  电子密码锁程序源代码

上一篇:AT89C51单片机六层电梯控制系统设计+电路图+程序
下一篇:AT89S51单片机的数字温度计设计+电路图+程序

热环境对磁记忆信号的影响ANSYS有限元分析

单片机数字红外测距系统设计+电路图+程序

连续-离散型状态观测器设...

基于Kinect手势识别的遥操...

冷库GPRS的无线数据采集系统设计

基于51单片机自动门智能控制系统设计

STC89C52单片机智能温度监测系统设计

谷度酒庄消费者回访调查问卷表

高校网球场馆运营管理初探【1805字】

辩护律师的作证义务和保...

拉力采集上位机软件开发任务书

浅谈传统人文精神茬大學...

多元化刑事简易程序构建探讨【9365字】

国内外无刷直流电动机研究现状

《醉青春》导演作品阐述

中国古代秘书擅权的发展和恶变

浅谈新形势下妇产科护理...