毕业论文

打赏
当前位置: 毕业论文 > 自动化 >

STC89C52单片机电子密码锁设计+电路图和程序

时间:2023-11-25 09:58来源:毕业论文
STC89C52单片机的电子密码锁设计,以STC89C52芯片作为控制核心,用AT24C02芯片存储数据,采用4*4矩阵键盘进行输入数据,LCD1602显示信息,蜂鸣器作为报警器

摘要:随着科技的不断发展,电子产品越来越智能化,微型化,单片机作为主要控制器研制和开发电子产品。现在市场上有很多以单片机作为控制核心的电子密码锁,这种锁较于传统的机械锁,安全性更高,更容易控制,它广泛的使用于银行,信息管理以及安保系统中,为我们的生活带来了极大的便捷。本次论文讲述了一款基于单片机的电子密码锁的设计。系统中包含的模块有主控单元,最小系统,输入模块,显示模块,报警模块和开锁模块。系统以STC89C52芯片作为控制核心,用AT24C02芯片存储数据,采用4*4矩阵键盘进行输入数据,LCD1602显示信息,蜂鸣器作为报警器,利用LED灯的亮灭作为模拟锁的开关。最后系统实现了密码输入正确,就开锁;密码输入错误次数达上限时,就报警,并且密码可以根据用户需求重新设置。最后通过多次测试,完成了基于单片机的电子密码锁的设计。91415

毕业论文关键字:电子密码锁,单片机,LCD1602

Abstract: With the continuous development of science and technology, electronic products is more and more intelligent, miniaturization, single chip microcomputer as main controller development and the development of electronic products。 Now in the market there are a lot of with the single chip processor as the core of electronic trick lock, the lock is the traditional mechanical locks, safer and easier to control, it is widely used in Banks, information management, and security system, has brought great convenience to our life。 This paper tells the story of an electronic combination lock design based on single chip microcomputer。 System contained in the module has a main control unit, the minimum system, input module, display module, alarm module and the lock module。 System to STC89C52 chip as control core, using AT24C02 chips to store data, with 4 * 4 matrix keyboard input data, LCD1602 display information, as alarm buzzer, Use the flash of an LED lamp as a switch to simulate lock。 The system implements the password input is correct, the lock; Password input error on the number of time, just call the police, and the password can be set according to user requirements。 Finally

through testing for many times, The design of electronic cryptography locks based on single chip microcomputers is completed。

Keywords: electronic trick lock, the single chip microcomputer, LCD1602

1绪论 4

1。1课题背景 4

1。2课题意义 4

1。3国内外发展现状 5

2系统方案设计 5

2。1实现目标 5

2。2方案选择 6

3硬件设计 7

3。1硬件设计方案 7

3。2最小系统 8

3。3输入模块 9

3。4开锁模块 10

3。5报警模块 11

3。6显示模块 12

4软件设计 12

4。1总体设计 12

4。2按键子流程 13

4。3密码设置子流程 14

4。4显示子流程 15

5硬件与软件的调试 16

5。1硬件调试 STC89C52单片机电子密码锁设计+电路图和程序:http://www.youerw.com/zidonghua/lunwen_198899.html

------分隔线----------------------------
推荐内容