1、 I 单片机电子时钟 摘要:在日常生活中,电子时钟与我们密切相关,在很多地方都会用到电子时钟。除了专用的时钟、 计时显示牌外,许多应用系统常常也带有实时时钟显示,如各种智能化仪器仪表、工业过程控制系 统以及家用电器等。实现电子时钟的方法有多种,通过前面我们对单片机基本理论及相关知识的学 习,在这里,要求用单片机为主控制芯片设计一简单的单片机电子时钟。近年来随着计算机在社会 领域的渗透和大规模集成电路的发展,单片机的应用正在不断地走向深入,由于它具有功能强,体 积小,功耗低,价格便宜,工作可靠,使用方便等特点,因此特别适合于与控制有关的系统,越来 越广泛地应用于自动控制,智能化仪器,仪表,数据采
2、集,军工产品以及家用电器等各个领域,单 片机往往是作为一个核心部件来使用,在根据具体硬件结构,以及针对具体应用对象特点的软件结 合,以作完善。 关键词:电子时钟;单片机;计时 SCM Electronic Clock Abstract:Abstract:In our daily life, the electronic clock is closely related to the electronic clock which will be used in many places. In addition to a dedicated clock, timing licenses, ther
3、e are many applications which often with real-time clock display, such as a variety of intelligent instrumentation, industrial process control systems and home appliances. There are many ways to realize the Electronic clock, through the front of learning our SCM basic theory and related knowledge, h
4、ere, the microcontroller-based control chip design a simple single-chip electronic clock. With the development of computer penetration in the social field and LSI in recent years, the using of microcontroller applications is constantly go deeper, because it has the features of a small size, low powe
5、r consumption, cheap, reliable, easy to use. Therefore it is particularly suitable for the control of the system, more and more widely used in automatic control, Intelligent instruments, data acquisition, and military products and home appliances, SCM often used as a core component in the structure,
6、 according to the specific hardware and software for application-specific object characteristics combined to make perfect. Keywords:Keywords: electronic clock; microcontroller; timing II 目录 第一章 引言 3 1.1 课程设计的目的 3 1.2 课程设计内容 3 第二章 总体方案设计 3 2.1 总体思想-方案论证 4 2.2 方案的选择 4 第三章 硬件系统设计 5 3.1 总电路设计 5 3.2 器件的介绍 6 3.3 单元模块设计 8 第四章 软件系统设计 . 10 4.1 软件程序思想 . 10 4.2 主程序及流程图 . 11 4.3 子程序及流程图 . 13 第五章 系统仿真 . 17 5.1 KEIL 51 介绍 . 17 5.2 PROTEUS 介绍 . 22 5.3 仿真过程及仿真结果 . 30 第六章 结束语 . 错误错误! !未定义书签。未定义书签。 致谢 . 错误错误! !