密码时钟(基于51单片机的电子密码锁).doc
文本预览下载声明
摘 要
随着社会的发展,人们生活水平的提高,人们对物质上的需求有了进一步的提高,平时的生活用品都要向着更方便,更人性化的方向发展。时钟作为人们日常生活中的必备用品大家已经很习惯了,但是一个由P89C51rd2单片机控制的带有密码的时钟却可以给您的生活带来不可想象的变化。本文就密码时钟做了详细的介绍和说明。重点论述了以PHILIPS 8位单片机P89C51rd2为核心的软件硬件设计原理,并给出了硬件原理图和软件设计流程。
本系统划分为三个功能部分:输入部分(键盘),处理部分(P89C51rd2及驱动电路),显示部分(数码管),其中处理部分为整个系统的核心,通过P89C51rd2接收到键盘输入的信息后经过处理后调用74LS138和74LS47来驱动数码管显示相关的信息,同时本文也给出了相应软件的设计和程序代码 。以及开发调试C51程序的软件Keil的使用方法和调试过程。
该系统在实验室条件下调试成功,证明了设计思想和开发技术的正确。
关键词:密码时钟;键盘;数码管;Keil;单片机;
Abstract
Along with societys development,People living standard enhancement.On peoples had the further enhancement to material demand, and the usual daily necessities all must turn towards conveniently,the user friendly direction develops. The clock took in the people’s daily life necessary thing ,everybody was already used to it.But controls by the P89C51rd2 monolithic integrated circuit has the password clock to be possible to give the change actually which your life brings cannot imagines.This article has made the detailed introduction and showing on the password clock. With emphasis elaborated take PHILIPS 8 monolithic integrated circuit P89C51rd2 as the core software hardware principle of design, and has given the hardware schematic diagram and the software design flow.
This system division is three function parts: Input part (keyboard),Processing part (P89C51rd2 and actuation electric circuit),Demonstrates the part (nixietube), Processing part for overall system core. Receives the keyboard entry after P89C51rd2 the information process processing to transfer 74LS138 and 74LS47 actuates the nixietube demonstration related information, simultaneously this article has also given the corresponding software design and the procedure code. As well as the development debugs C51 the procedure the software Keil application method and debugs the process.
Key words: Password clock Keyboard Nixietube Keil Monolithic integrated circuit;
引 言 1
1 系统功能设计 3
1.1 操作流程设计 3
1.2键盘规划及编码规划,键盘功能,功能扩展 4
2系统总体方案设计 5
2.1工作原理 5
2.2 开发工具 6
2.3 系
显示全部