基于单片机的篮球计时计分器

  • 格式:docx
  • 大小:34.59 KB
  • 文档页数:24

下载文档原格式

  / 24
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

目录

摘要......................................................................... Abstract..................................................................... 绪论.........................................................................

1.设计原理...................................................................

1.1原理图设计............................................................

1.2各元器件介绍..........................................................

1.2.1数码管介绍......................................................

1.2.2排阻............................................................

单片机芯片............................................................

1.3各部分电路分析........................................................

1.3.1振荡电路........................................................

1.3.2外部复位电路....................................................

1.3.3开关电路........................................................

1.3.4显示电路........................................................

1.3.5扬声器电路......................................................

3.软件设计...................................................................

3.1设计思路..............................................................

3.2设计框图..............................................................

3.3编程前的准备.......................................................... 4仿真结果................................................................... 6心得体会................................................................... 附录......................................................................... 本科生课程设计成绩评定表.....................................................

摘要

篮球比赛计分器的设计是为了解决篮球比赛时计分与计时准确方便和灵活适用的问

题而提出的,我组设计的篮球比赛计分器硬件部分主要利用AT89S52单片机完成了计分与计时的功能,并通过两个四位七段数码管分别用来显示比赛时间和甲、乙比赛双方的分数,软件部分利用Keil C51软件来进行编译,通过Proteus软件进行仿真,最后将生成的HEX 文件烧入到单片机芯片中。采用该系统可根据实际情况进行时间的准确显示和比分修改,具有低功耗、可靠性强、安全性高以及低成本等特点,主要不足之处在于计时显示部分有时会出现显示不稳定的情况,基本满足了本次设计要求。

关键词:单片机;篮球赛计分;篮球赛计时;数码管

Abstract

Basketball match score indicator is designed to solve the basketball game scoring and timing is accurate, convenient and flexible applicable problem, and that my 14-year-old basketball game hardware part of the group design mainly USES AT89S52 MCU to complete the scoring and timing functions, and through the two four seven segment digital tube is used to display the match time and party a and b both sides score, software part use Keil C51 software to compile, through the Proteus software simulation, finally will generate burn-in HEX file to the MCU chip. Using the system can according to the actual situation to the accurate display and modify the score of time, with low power consumption, high reliability, safety and low cost etc., the main shortcoming in the timer display part can appear sometimes unstable situation, basic meet the requirement of the design.

Key words: single chip microcomputer; The basketball game scoring; The basketball game timing; Digital tube

绪论

体育比赛计时计分系统是对体育比赛过程中所产生的时间、比分等数据进行快速采集记录,加工处理,传递数据的信息系统。根据不同运动项目的不同比赛规则要求,体育比赛的计时计分系统包括测量类、评分类、命中类、制胜类得分类等多种类型。