摘 要:电子密码锁因其保密性强,使用灵活性好,安全系数高,受到了广大用户的欢迎。本文主要设计了以单片机为主要器件,其编码器与解码器的生成为软件方式,详细的介绍了该电子密码锁完整的设计过程以及外围的开锁电路和报警电路的设计。75993

系统由STC89C52单片机、4*4矩阵键盘,蜂鸣器,复位电路和晶振电路、继电器等组成,4*4键盘主要用于密码的输入和修改,蜂鸣器报警,复位电路和晶振电路与STC89C52单片机组成单片机最小系统。它具有设置、修改6位用户密码、输错报警、密码错误报警等功能。本系统成本低廉,功能实用。

毕业论文关键词: 密码锁;报警 ;蜂鸣器;STC89C52

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Abstract: Electronic combination lock because of its strong confidentiality, use good flexibility, high safety coefficient, was welcomed by the masses of users。 In this paper, we design the single-chip microcomputer as the main device, the encoder and decoder for software, detailed introduces the complete design process as well as the peripheral electronic combination lock unlock the design of the circuit and alarm circuit。

This system by the STC89C52 single-chip microcomputer, the 4 * 4 matrix keyboard, buzzer, reset circuit and vibration circuit, relay and so on, 4 * 4 keyboard is mainly used for input and modify the password, the buzzer alarm, and resonance circuit and reset circuit STC89C52 singlechip microcontroller minimum system。 It has six Settings, modify user password, mistyped alarm, password error alarm, etc。 This system is low cost, function and practical。

 

 

Key words: Combination lock; Call the police; Buzzer。 STC89C52

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

目   录

 

1。1  电子密码锁的背景 7

1。2  电子锁设计的意义的本设计特点 7

2  系统整体方案设计 8

2。1  设计目标 8

2。2  主控部分的选择 9

3  硬件系统设计 9

3。1  系统芯片介绍 9

3。2  硬件电路设计 11

4  软件程序设计 14

4。1  主程序流程图 14

4。2  按键软件设计 15

4。3  开锁软件设计 16

4。4  密码设置软件设计 17

5  系统仿真、调试 18

5。1  程序调试用到的软件及工具 18

5。2  调试过程 18

5。3  进入 Proteus ISIS

上一篇:STC89C52单片机的出租车计费器设计+电路图+程序
下一篇:AT89C52单片机汽车尾灯控制系统设计+程序+电路图

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

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

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

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

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

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

AT89S52单片机车内空气检测系统设计+源代码

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

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

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

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

《醉青春》导演作品阐述

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

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

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

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

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