单片机电子密码锁

单片机电子密码锁
【Abstract】This article introduced a design system which using the AT89S51 monolithic manufactures integrated circuit which a simple password locks. In this article, the design mentality and the design proposal of this design is introduced at first, it mainly divides into three big modules: Keyboard control module, digital tube demonstration module, password comparison module. Then it makes the detailed introduction to the main chip. Finally, it comprehensively narrates the system hardware partially,software are partial.This system uses the C language to carry on the software design, realizing the edition, the translation,as well as each piecemeal schematic diagram by PROTEL 99 SE, and encloses detailed programming diagram, flow chart,concrete procedure. This design may realize its function, causing the system to have the practical application, the human nature,intellectualization.
【Keywords】 MCU; Determinant keyboard; Digital tube
单片机电子密码锁设计
【摘要】本文介绍了利用AT89S51单片机制作一个简单密码锁的设计系统。文中首先介绍了本设计的设计思路及设计方案,它主要分为三大模块:键盘控制模块,数码管显示模块,密码比较模块。然后对主要芯片做了详细介绍。最后全面地叙述了系统的硬件部分,软件部分。本系统采用C语言进行软件设计,以及运用PROTEL 99 SE设计的各个分块原理图,并附上了详细的程序设计框图,流程图,具体的程序。本设计可实现其功能,使系统更具实用化,人性化,智能化。
【关键词】单片机;行列式键盘;数码管目    录

单片机电子密码锁(摘要)……………………………………………………1

单片机电子密码锁(英文摘要)………………………………………………2

第一章   课题任务与系统方案设计………………………………………3

第二章   系统主要芯片介绍………………………………………………9

第三章   硬件电路设计……………………………………………………13

第四章   软件设计及实现…………………………………………………16

结   束  语…………………………………………………………………18

致       谢…………………………………………………………………19

参 考 文 献…………………………………………………………………20

附       录…………………………………………………………………22
第一章  课题任务与系统方案设计

一、课题任务介绍
    计一个简单的电子密码锁,用4*4键盘组成0-9数字键以及确认键、取消功能键,用6位7段数码管组成显示电路提示信息,其工作过程如下:
● 加电后,显示“888888”。
● 输入密码时,只逐位显示“F”,以防止泄露密码。
● 输入密码过程中,如果不小心出现输入错误,可按“取消”键清除屏幕,取消次此输入,此时显示“888888”。再次输入需要重新输入所有6位密码。
● 当输入密码完毕按下“确认”键时,单片机将输入的密码与设定的密码比较,若密码正确,则发光二极管亮1秒钟(以此表示密码锁打开);若密码不正确,则红色发光二极管亮1秒钟。

二、 系统方案设计论证与比较
方案一:采用数字电路控制。其原理方框图如图1-1所示。715

[1] [2] [3] [4] [5] [6] [7] [8] [9] 下一页

Copyright © 2007-2012 www.chuibin.com 六维论文网 版权所有