基于单片机的电子密码锁设计

 2023-10-25 09:10

论文总字数:28227字

摘 要

此设计是通过将AT89C51单片机作为控制核心,辅助其他电子元器件设计一个多功能的电子密码锁。此设计由最小系统电路,LCD管显示电路,键盘按键电路及开锁闭锁和声音报警电路加上AT89C51单片机共同组成,实现了密码的输入和修改、密码信息的显示、键盘的锁定、密码输错一定次数后系统报警、开锁和闭锁等功能。设计通过AT89C51来识别密码是否正确,通过串行存储器AT24C02来实现密码的修改和存储。本设计的密码锁不仅安全,而且便捷灵敏,可以满足现实社会的生活需要。

关键词:AT89C51单片机,电路 ,显示

Abstract: This design is through the AT89C51 microcontroller as the control core, to assist other electronic components design a multi-functional electronic password lock. In order to reach to realize the combination of function, need not only the core AT89C51, also need to design the minimum system circuit, LCD display circuit, keyboard keys and lock closure and sound alarm circuit, password, password input and modify the information display, keyboard lock, password mistyped after a certain number of times the system alarm, lock and unlock, etc. Design AT89C51 to identify the password is correct, through the serial memory AT24C02 to achieve password modification and storage. The design of the password lock is not only safe, but also convenient and sensitive, can meet the needs of real life society.

Keywords: AT89C51 microcontroller, circuit, display

目 录

1 绪论............................................................. 4

1.1 引言........................................................... 4

1.2 电子密码锁的背景............................................... 4

1.3 电子密码锁的研究意义........................................... 4

1.4 电子密码锁的发展趋势................................................ 5

2 系统设计........................................................ 6

2.1总设计要求.................................................... 6

2.2设计整体思路.................................................. 6

2.3 系统结构设计..................................................6

3 系统硬件设计....................................................6

3.1 单片机的接口分配..............................................7

3.2最小系统电路.................................................. 8

3.3 键盘电路...................................................... 9

3.4 数码管显示电路................................................10

3.5 开锁和报警电路................................................11

3.6 整体电路图的绘制..............................................12

4 系统软件设计....................................................13

4.1 系统软件设计思路..............................................13

4.2 系统软件设计总流程图..........................................13

4.3 系统子程序....................................................13

5 系统调试........................................................18

5.1 系统软件仿真与调试............................................20

5.2 硬件实物焊接与调试. ...........................................20

6 设计总结........................................................22

致谢..............................................................23

参考文献..........................................................24

附录..............................................................25

剩余内容已隐藏,请支付后下载全文,论文总字数:28227字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;