1、 单片机课程设计 项目名称 单片机电子时钟 专业班级 通信工程 101 班 学生姓名 指导教师 2012 年 12 月 14 日 I 摘 要 本课程设计提出电子时钟设计,主要采用 A T89C52 单片机控制,完成数字电子时钟的设计。 本设计具有简单、方便的特点,达到一键可控制多种功能水平。具有将理论用于实践意义。 单 片计算机即单片微型计算机。 由 RAM ,ROM,CPU 构成, 定时, 计数和多种接口于一体的微控制器。 它体积小,成本低,功能强,广泛应用于智能产业和工业自动化上。而 51 系列单片机是各单片机 中最为典型和最有代表性的一种。这次课程设计通过对它的学习,应用,从而达到学习、
2、设计、 开发软、硬的能力。 本设计主要设计了一个基于 A T89C52 单片机的电子时钟。并在数码管上显示相应的时间。并 通过一个控制键用来实现时间的调节和是否进入省电模式的转换。应用 Proteus 的 ISIS 软件实现了 单片机电子时钟系统的设计与仿真。该方法仿真效果真实、准确,节省了硬件资源。 关键词关键词:单片机;子时钟;键盘控制;数码管。 II Abstract This course is designed electronic clock design, control using AT89C52 to complete the design of digital electr
3、onic clock. This design has a simple, convenient, a key can control the level of multiple functions. With having a theory for the practical significance. The single-chip computer chip microcomputer. By RAM, ROM, CPU configuration, timing, counting and a variety of interfaces in one of the micro-cont
4、roller. Its small size, low cost, function, and are widely used in intelligent industry and industrial automation. 51 series microcontroller is the the various MCU most typical and most representative one. This course designed by its learning applications, so as to achieve the learning, design, development of soft, hard ability. The design is mainly designed based on AT89C52 electronic clock. And on the digital display the appropriate time. And