文档详情

基于单片机的数字秒表设计论文.doc

发布:2018-08-16约2.81万字共44页下载文档
文本预览下载声明
基于单片机的数字秒表设计 PAGE PAGE I 2011届学士学位论文 基于单片机的数字秒表设计 学院 、 专业 物理与电子信息学院 电子信息工程 研 究 方 向 单板微型计算机 学 生 姓 名 学 号 指导教师姓名 指导教师职称 2011年4月29日 基于单片机的数字秒表设计 摘要 21世纪,单片机的发展非常的迅速。单片机是把主要计算机功能部件都集成在一块芯片上的微型计算机。它是一种集计数和多种接口于一体的微控制器,被广泛应用在智能产品和工业自动化上,而51单片机是个单片机中最为典型和最有代表性的一种。本设计的数字电子秒表系统采用STC89C52单片机为中心器件,利用其定时器/计数器定时和记数的原理,结合显示电路、LED数码管以及独立键盘来设计秒表,将软、硬件有机地结合起来。 本设计的软件系统是用C语言编写的.包括一个定时器中断,4个独立键盘及软件消抖等。最后做成一个具有打开、关闭、复位、记忆功能的数字秒表。 关键字 单片机;数字电子秒表;仿真,STC89C52 Digital stopwatch design based on Single-Chip Microcomputer School of Physics and Electronic Information Abstract In the 21st century,the technology of SCM develops very quickly. SCM which is a major piece of computer components is integrated into the chip micro-computer. It is a multi-interface and counting on the micro-controller integration, and intelligence products are widely used in industrial automation, and MCS-51 microcontroller is a typical and representative. This design of digital electric stopwatch system employs STC89C52 single-chip microcomputer as the core part. Based on the principle of timing and counting, the stopwatch is designed by integrating display electric circuit, LED digital pipe and independent keyboard, combining both software and hardware. The software system of this design is written in C. The design includes a timer interrupt and four independent keyboards,software away shaking and so on. Finally it makes a digital stopwatch with functions of opening, closing , resting and memory. . Keyword Single-chip microcomputer;Digital stopwatch;Simulation;STC89C52 目 录 TOC \o 1-2 \h \z \u HYPERLINK \l _Toc 1 引言 PAGEREF _Toc \h 1 HYPERLINK \l _Toc 1.1 单片机的背景 PAGEREF _Toc \h 1 HYPERLINK \l _Toc 1.2 单片机的应用 PAGEREF _Toc \h 2 HYPERLI
显示全部
相似文档