1、 I I 本科毕业论文本科毕业论文 The Design of Electronic Clock Based on MCU 题题 目目 ( (中、英文中、英文) ) 基于单片机的电子时钟设计基于单片机的电子时钟设计 作 者 姓 名作 者 姓 名 指 导 教 师指 导 教 师 学 科 门 类学 科 门 类 提交论文日期提交论文日期 专 业 名 称专 业 名 称 成 绩 评 定成 绩 评 定 电气电气工程及其自动化工程及其自动化 工工 科科 二一三年五二一三年五月月 I I 摘摘 要要 单片机是一种数字集成电路芯片,是指集成在一块芯片上的微型计算机。一 个比较完整的单片机应该包括微处理器(CPU)
2、 、存储器(RAM 和 ROM) 、并行输入 /输出接口(I/O 接口)电路、可编程全双工串行口、定时/计数器、中断系统以 及复位电路。由于它具有小巧灵活,成本低,可靠性好,控制功能强,易扩展等 一系列优点,所以被越来越广泛地应用于各个领域。而 51 系列的单片机就是最 为典型和具有代表性的一种单片机。 本设计是基于单片机的简单电子时钟的设计,系统主要以单片机 AT89C51 为核心,结合按键模块来显示相应的时间,并可以对时、分、秒进行单独校对, 使其达到标准时间。本次设计以软件控制硬件以及软硬件结合为指导思想,充分 发挥单片机功能。同时,该系统的诸多优点使其具有很强的实用性,由于该系统 实现
3、的功能简单,因此具有很好的可扩展性。 关键词关键词: AT89C51;电子时钟;按键控制 IIII 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 in
4、terface) 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 i
5、s 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
6、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 IIIIII 目目 录录 1引言. 1 1.1 单片机的发展历程. 1 1.2 设计任务. 1 1.3 设计意义. 1 2.电子时钟的设计原理 2 2.1 电子时钟的特点. 2 2.2