1、 单片机技术课程设计说明书单片机技术课程设计说明书 数字式秒表 I 摘 要 文中设计了一种以单片机为控制核心的数字秒表。该数字秒表采用C语言开发, 通过数码管显示计时结果。对系统硬件电路和软件进行了设计, 以Proteus和Keil 软件为开发平台,对数字秒表进行了仿真。仿真结果表明该数字秒表精度高、稳定 性强。 当今, 计算机技术带来了科研和生产重大飞跃,微型计算机的应用已渗透到生 产、生活的各个方面。单片微型计算机具有体积小、价格低、功能强的特点,随着 性能不断提高,其适用范围愈来愈宽,在计算机应用领域占有重要的地位。秒表应 用于我们生活、工作、运动等需要计时的方面。秒表的数字化给人们生产
2、生活带来 了极大的方便,而且大大的扩展了秒表原先的功能。它由刚开始的机械式秒表发展 到今天所常用的数字秒表。秒表的计时精度越来越高,功能越来越多,构造也日益 复杂。本文结合单片计算机,实现了一种基于AT89C52单片机的数字秒表的设计,并 且利用Proteus和Keil软件实现了仿真。 关键词: 数字式秒表;单片机;仿真 II ABSTRACT Designed a microcontroller as the core control digital stopwatch. The digital stopwatch using C language development, digital
3、display timing results. The system hardware and software design, Proteus and Keil software development platform, digital stopwatch simulation. The simulation results show that the digital stopwatch high precision and stability. Today, computer technology has brought major leap in scientific research
4、 and production, microcomputer applications have penetrated into the production, and all aspects of life. Single-chip microcomputer has a small size, low price, strong features, with improving performance, its scope of increasing width, occupies an important position in the field of computer applica
5、tions. The stopwatch used in the time we live, work, sports. The stopwatch digitization has brought great convenience to the peoples production and living, and greatly expanded the original stopwatch function. Development by the beginning of mechanical stopwatch digital stopwatch to the commonly use
6、d today. The the stopwatch timing accuracy is higher and higher, more and more powerful, increasingly complex structure. In this paper, a single-chip computer, a design based on AT89C52 digital stopwatch, and Proteus and Keil software simulation. Keywords: digital stopwatch; SCM; simulation I 目 录 1 设计课题任务、功能要求说明及总体方案介绍 1 1.1 设计课题任务 1 1.2