毕业论文

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

AT89C52单片机的电子密码锁设计+程序+电路图

时间:2021-08-01 10:15来源:毕业论文
基于单片机控制的密码锁AT89C52单片机、4*4矩阵键盘,蜂鸣器,复位电路和晶振电路、继电器等组成,4*4键盘主要用于密码的输入和修改,蜂鸣器报警,复位电路和晶振电路与AT89S52单片机

摘要:设计了一个基于单片机控制的密码锁。该系统采用AT89C52单片机作为密码锁监控装置的检测和控制核心,实现用按键的密码来控制锁的开关状态;根据51单片机之间的串行通信原理,这便于对密码信息的随机加密和保护。而且采用键盘输入的电子密码锁具有较高的优势。70088

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

毕业论文关键词:单片机;AT89C52;密码锁

Design of Electronic Code Lock Based on 51 Single Chip Microcomputer

Abstract: a password lock based on single chip computer is designed. The system uses AT89C52 microcontroller as the core of detection and control of the password lock monitoring device, use the button to control the password lock switch state; according to the principle of serial communication between the microcontroller 51, which is convenient for random encryption and protection of password information. And the electronic code lock with keyboard input has a high advantage.

This system consists of AT89C52 microcontroller, 4*4 matrix keyboard, buzzer, reset circuit and oscillator circuit, relay. 4*4 is mainly used for keyboard input and modify the password, buzzer alarm, SCM minimum system reset circuit and oscillator circuit with AT89C52 microcontroller. It has 6 functions, such as setting, modifying the user password, fault alarm, password error alarm and other functions. 

Keywords: single chip microcomputer; AT89C52; password lock

目录

摘要 i

Abstract i

目录 iii

第一章 绪论 1

1.1 本课题的依据和意义 1

1.2 本课题的国内外研究现状 1

1.3 本课题的发展趋势 2

1.4 本课题所需要实现的目标 2

第二章 总体方案设计 4

2.1设计分析 4

2.2系统分析 4

第三章 硬件实现及单元电路设计 6

3.1单片机部分 6

3.1.1单片机选择 6

3.1.2单片机管脚说明 6

3.1.3单片机电路部分 7

3.2键盘输入部分 9

3.3密码存储部分 11

3.4液晶显示电路设计 12

3.5存储芯片电路设计 13

3.6报警电路 14

第四章 系统软件设计方案 17

4.1主程序流图 17

4.2  开锁软件设计 18

4.2 键盘扫描设计流程 35

4.3 入密码程序设计流程 36

4.4 修改密码程序设计流程 AT89C52单片机的电子密码锁设计+程序+电路图:http://www.751com.cn/zidonghua/lunwen_79226.html

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