1、 毕业设计(论文)说明书毕业设计(论文)说明书 数字时钟制作 I 摘要摘要 时钟是人们日常生活中必不可少的生活用品。随着人类科技文明的发展,人 们对于时钟的要求在不断地提高。时钟已不仅仅被看成一种用来显示时间的工 具,在很多实际应用中它还需要能够实现更多其它的功能。高精度、多功能、小 体积、低功耗,是现代时钟发展的趋势。在这种趋势下,时钟的数字化、多功能 化已经成为现代时钟生产研究的主导设计方向。 本次数字时钟电路采用 AT89C51 单片机作为控制核心, 使用按钮设计控制电 路,结合 LED 数码管、74LS373 和排阻实现时、分、秒的显示,采用扬声器实现 闹钟功能。硬件电路设计主要包括中
2、央处理单元电路、键盘扫描电路以及闹钟电 路。软件程序设计则采用汇编语言实现。本设计实现了显示时间、调整时间、闹 钟定时等功能,达到了设计的要求和目的。并在 Proteus 软件上进行了仿真和调 试。 关键词关键词: 数字时钟;AT89C51; LED 数码管 II Abstract The clock is the people daily life absolutely necessary supplies. Along with the development of human civilization, people for clocks demands are rising stead
3、ily. The clock has not only been considered a used to show time tools, but also need to be able to achieve more other function. High precision, multi-function, small volume, and low power consumption is the trend of the development of the modern clock. In light of the trend, the clocks digital chang
4、e and multifunction change has become the leading modern clock production research design direction. This digital clock circuit design use the AT89C51 single-chip microcontroller as control core, use the button design control circuit, combined with LED nixie tube, 74 LS373 and resistance to realize
5、the clock display, use the speaker realize alarm clock function. Hardware circuit design includes the central processing unit circuit, keypad scanning circuit and the alarm clock circuit. Software program design is realized by assembly language. This design realizes display the time, adjust the time
6、, alarm clock time function and meet the design requirements and purpose. And the software program in the Proteus software simulation and debugging. Keywords: Digital clock; AT89C51; 74LS37 目目 录录 摘要摘要 I I AbstractAbstract IIII 第一章第一章 诸论诸论 1 1 1.1 设计背景 1 1.2 数字温度计设计方案论证 1 1.2.1 方案一 1 1.2.2 方案二 1 1.2.3 方案三 2 1.3 方案三的总体设计框图 2 第二章第二章 主要元器件介绍主要元器件介绍 3 3 2.1 AT89C51 的性能介绍 3 2.1.1 AT89C51 的主要特性 . 3 2.1.2 AT89C51 的管脚说明 4 2.1.3 振荡器特性 6 2.1.4 芯片擦除 6 2.2 74LS373 芯片 6 2.2.1 74LS373 的基本情况 6 2.2