文档介绍:目录
摘要: I
Abstract: II
第1章绪论 1
课题背景 1
课题设计目标 2
第2章系统方案论证 4
主控部分的选择 4
密码输入方式的选择 5
第3章系统总体设计和主要芯片介绍 6
系统总体设计 6
主要芯片介绍 6
AT89C51 6
存储芯片AT24C02 10
显示电路(LCD1602) 11
第4章系统硬件构成 13
系统整体电路图 13
单片机最小系统原理图 13
复位电路 14
时钟电路 15
键盘输入部分 16
密码存储部分 17
显示部分 18
报警部分 19
第5章软件的设计与实现 20
软件系统的总体设计 20
主程序流程图 20
键功能程序流程图 22
第6章结论 23
附录 26
附件1:英文原文及中文翻译 26
附件2:任务书 40
附件3:开题报告 41
附件4:原理图 46
附件5:实物图 47
附件6:程序 48
附件7:元件清单 66
基于单片机的智能密码锁的设计
摘要: 随着科学技术的不断发展,人们在日常生活与工作中对保险器件的要求越来越高。同时,电子设备也正在向智能化与微型化不断发展,电子密码控制系统已经越来越符合人们的要求。而单片机已经成为电子产品研制和开发中首选的控制器。为了满足人们对锁的使用要求,增加其安全性,同时克服传统锁具带来的不方便性,用数据密码代替钥匙的智能密码锁便应运而生。智能密码锁具有安全性高、操作简易、成本低、功耗低等优点。
本次设计由单片机系统、矩阵键盘、LCD显示和报警系统组成。系统能完成开锁、超次锁定、报警、修改用户密码等基本的密码锁功能。除上述基本的密码锁功能外,还具有掉电存储、声光提示等功能,依据实际的情况还可以添加遥控功能。所采用的编程语言是C语言。本系统电路稳定性高、成本低廉、功能实用,符合办公室、住宅等场所的用锁要求,具有推广价值。
关键词:AT89C51;AT24C02;电子密码锁;矩阵键盘
Design of Intelligent Password Lock Based on MCU
Abstract: with the continuous development of science and technology, insurance devices have e increasingly demanding in people’s daily life and work. Meanwhile, the electronic intelligence devices are also being miniaturized to the intelligent and evolving. Electronic code control system has been increasingly in line with people's requirements.
The microcontroller has e the preferred controller in the research and development of electronic product. In order to meet people's requirements for the use of locks to increase their security and ing the inconvenience of traditional locks, smart locks which use the data encryption instead of e into being. Smart locks have many advantages such as high security, ease of operation, low cost and low power consumption.
This design is made up of SCM system, matrix keyboard, LCD display and alarm system. System can perform basic password lock function such as unlocking, smart-locking, alarming, modifying user passwords. In addition to thes