1、毕毕 业业 设设 计(论计(论 文)文) 论文题目:论文题目: 所属系部:所属系部: 电子工程系电子工程系 指导老师:指导老师: 职职 称:称: 学生姓名:学生姓名: 班级、学号班级、学号: : 专专 业:业: 2 毕业设计(论文)任务书毕业设计(论文)任务书 题目:题目: 任务与要求:任务与要求: 时间:时间: 年 月 日 至 年 月 日 共 周 所属系部:所属系部: 学生姓名:学生姓名: 学学 号:号: 专业:专业: 指导单位或教研室:指导单位或教研室: 指导教师:指导教师: 职职 称:称: 3 基于单片机数字秒表的设计基于单片机数字秒表的设计 【摘要】 近年来随着科技的飞速发展,单片机的
2、应用正在不断的走向深入。本文阐述 了基于单片机的数字电子秒表设计。本设计主要特点是计时精度达到 0.01s,解 决了传统的由于计时精度不够造成的误差和不公平性, 是各种体育竞赛的必备设 备之一。 本设计的数字电子秒表系统采用 8051 单片机为中心器件, 利用其定时器/计数器 定时和记数的原理, 结合显示电路、 LED 数码管以及外部中断电路来设计计时器。 将软、硬件有机地结合起来,使得系统能够实现两位 LED 显示,显示时间为 0 99.9 秒,计时精度为 0.1 秒,能正确地进行计时,同时能记录一次时间,并在 下一次计时后对上一次计时时间进行查询。其中软件系统采用汇编语言编写程 序,包括显
3、示程序,定时中断服务,外部中断服务程序,延时程序等,并在 WAVE 中调试运行,硬件系统利用 PROTEUS 强大的功能来实现,简单切易于观察,在仿 真中就可以观察到实际的工作状态。 关键字:单片机;数字电子秒表;仿真 I Abstract With the rapid development of science and technology in recent years, SCM applications are constant-depth manner. In this paper, based on single chip design of digital electronic
4、stopwatch. The main characteristics of this design timing accuracy of 0.01s, to solve the traditional result of a lack accuracy due to timing errors and unfair, and is a variety of sports competitions, one of the essential equipment. In addition the hardware part of the set View button on the stopwa
5、tch can be the last time to save time for user queries. The design of the multi-function stopwatch system uses STC89C52 microcontroller as the central device, and use its timer / counter timing and the count principles, combined with display circuit, LED digital tube, as well as the external interru
6、pt circuit to design a timer. The software and hardware together organically, allowing the system to achieve two LED display shows the time from 0 to 99.99 seconds, Timing accuracy of 0.01 seconds, Be able to correctly time at the same time to record a time, and the next time after the last time the time to search automatically added a second in which software systems using assem