基于单片机的电子时钟设计毕业论文.doc
文本预览下载声明
本科毕业论文
摘 要
单片机是一种数字集成电路芯片,是指集成在一块芯片上的微型计算机。一个比较完整的单片机应该包括微处理器(CPU)、存储器(RAM和ROM)、并行输入/输出接口(I/O接口)电路、可编程全双工串行口、定时/计数器、中断系统以及复位电路。由于它具有小巧灵活,成本低,可靠性好,控制功能强,易扩展等一系列优点,所以被越来越广泛地应用于各个领域。而51系列的单片机就是最为典型和具有代表性的一种单片机。
本设计是基于单片机的简单电子时钟的设计,系统主要以单片机AT89C51为核心,结合按键模块来显示相应的时间,并可以对时、分、秒进行单独校对,使其达到标准时间。本次设计以软件控制硬件以及软硬件结合为指导思想,充分发挥单片机功能。同时,该系统的诸多优点使其具有很强的实用性,由于该系统实现的功能简单,因此具有很好的可扩展性。
关键词: AT89C51;电子时钟;按键控制
Abstract
That the microcontroller is integrated on a single chip microcomputer is a digital integrated circuit chip. Should be a more complete include single-chip microprocessor (CPU), memory (RAM and ROM), parallel input / output interface (I / O interface) circuit, a programmable full-duplex serial port, timer / counter, interrupt system, and reset circuit. Because of its compact and flexible, low cost, reliability, and control functions, easy to expand a series of advantages, it is more and more widely used in various fields. The 51 series is the most typical and representative of a single-chip microcontroller.
The project is the design of simple electronic clock based on microcontroller. It is as the core of AT89C51 microcontroller, with key module to display relative time and make hour, minutes, seconds separate proofreading to make it up to standard time. The design control hardware and software combination of hardware and software as the guiding ideology, give full play to the microcontroller features. Meanwhile, the system has so many advantages that it has a strong practicability, because of its simple function, and therefore it has good scalability.
Key words: AT89C51 ; Electronic clock ;Key control
1.引言 1
1.1单片机的发展历程 1
1.2设计任务 1
1.3设计意义 1
2.电子时钟的设计原理 2
2.1电子时钟的特点 2
2.2电子时钟的应用 2
2.3电子钟的工作原理 2
2.4电子时钟的设计流程 3
3.设计方案 3
3.1硬件电路的设计方案 3
3.2硬件电路的原理图 4
3.3硬件电路说明 5
3.3.1主控制模块 5
3.3.2按键模块 7
3.3.3复位电路 8
3.3.4振荡电路 8
3.3.5发
显示全部