摘要:随着科技的不断发展,电子产品越来越智能化,微型化,单片机作为主要控制器研制和开发电子产品。现在市场上有很多以单片机作为控制核心的电子密码锁,这种锁较于传统的机械锁,安全性更高,更容易控制,它广泛的使用于银行,信息管理以及安保系统中,为我们的生活带来了极大的便捷。本次论文讲述了一款基于单片机的电子密码锁的设计。系统中包含的模块有主控单元,最小系统,输入模块,显示模块,报警模块和开锁模块。系统以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硬件调试

上一篇:AT89C52单片机智能防盗报警系统设计+程序+电路图
下一篇:AT89C2051单片机+LABVIEW农田气象信息远程监测系统设计

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

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

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

STC89C52单片机盲人用时钟的设计+电路图+程序

粉料称重装置的单片机控...

基于TI-DSP平台的电力电子测控平台设计

STM32单片机的无刷直流电机控制系统设计

论商业银行中间业务法律...

农村幼儿教育开题报告

透过家徽看日本文化家紋から見る日本文化

ASP.net+sqlserver会员管理系统设计

高校体育场馆效益研究【2772字】

“时尚与旅游”电子杂志的设计制作

华夫饼国内外研究现状

基于安卓平台的二维码会议管理系统设计

家电制造企业绿色供應链...

企业科研管理中统计报表...