1、 基于单片机篮球赛计时计分器设计基于单片机篮球赛计时计分器设计 Design of Timing and Scoring of Basketball Competition Based on Single Chip Computer 摘摘 要要 篮球比赛计时计分器是为了解决篮球比赛时计分与计时准确的问题。 此装置 利用单片机 AT89C51 完成了计时和计分的功能。 本文详细地介绍了系统硬件与软 件的设计过程, 设计由 AT89C51 编程控制 LED 七段数码管作显示的球赛计时计分 系统。该系统具有赛程定时设置,赛程时间暂停,及时刷新甲、乙双方的成绩以 及赛后成绩暂存等功能。它具有价格低廉,
2、性能稳定,操作方便并且易于携带等 特点。广泛适合各类学校或者小型团体作为赛程计时计分。 关键词关键词:单片机 篮球赛计时 篮球赛计分 ABSTRACT Time scoring basketball game is to solve the game of basketball with the time points when the issue of accuracy. This device is completed using AT89C51 single- chip timing and scoring functions. This article describes in det
3、ail the system hardware and software design process, design by AT89C51 programming control for LED Seven-Segment LED display subsystem of the game time. The system is set up with the schedule from time to time, schedule time to pause, refresh in time A, B, and after the two sides achieved a temporar
4、y success functions. It is inexpensive, stable performance, easy to operate and easy to carry and so on. A wide range suitable for all types of schools or small groups as time-points race. Key words: MCU Basketball Time Basketball Scoreboard I 目目 录录 摘摘 要要 1 Abstract . 1 目目 录录 I 第一章第一章 引言引言 .- 1 - 1.
5、1 背景知识介绍背景知识介绍 - 1 - 1.2 设计意义设计意义 .- 1 - 1.3 设计目的设计目的 .- 1 - 第二章第二章 系系统硬件介绍统硬件介绍 .- 3 - 2.1 MCS-51 单片机简述单片机简述 .- 3 - 2.1.1 单片机单片机 AT89C51 简介简介 - 3 - 2.1.2 主要特性主要特性- 4 - 2.1.3 管脚说明管脚说明- 4 - 2.1.4 芯片擦除芯片擦除- 6 - 2.1.5 掉电模式掉电模式- 6 - 2.1.6 程序储存器的加密程序储存器的加密 .- 6 - 2.2 显示器及其接口显示器及其接口.- 7 - 2.2.1 显示器介绍显示器介绍
6、 - 7 - 2.2.2 结构与原理结构与原理 - 7 - 2.2.3 LED 显示器显示方式显示器显示方式 - 8 - 2.3 CD4094 芯片介绍芯片介绍 .- 8 - 2.4 74LS21 芯片介绍芯片介绍 - 9 - 2.5 报警器报警器.- 9 - 2.5.1 报警器的分类报警器的分类. - 10 - 2.5.2 报警器工作原理报警器工作原理 . - 10 - 第三章第三章 硬件电路设计硬件电路设计 . - 11 - 3.1 系统方案设计系统方案设计 - 11 - 3.1.1 系统构成框图系统构成框图. - 11 - 3.1.2 器件选择器件选择 - 12 - 3.2 硬件总体设计硬件总体设计 - 12 - 3.3 计时电路部分计时电路部分 - 12 - 3.3.1 振荡电路振荡电路 - 12 - 3.3.2 计时电路的工作原理计时电路的工作原理 - 15 - 3.4 计分电路部分计分电路部分 - 16 - 3.4.1 串行接口工作原理串行接口工作原理 . - 16 - 3.4.2 计分电路原理图计分电路原理图 . - 16 - 3.4.3 计分电路的工作原理计分电路的