- 30
- 0
- 约2.67万字
- 约 43页
- 2018-11-29 发布于浙江
- 举报
基于51单片机室内五人制足球比赛计分计时系统
大连海事大学
┊┊┊┊┊┊┊装
┊┊┊┊┊┊┊装┊┊┊┊┊┊┊订┊┊┊┊┊┊┊线┊┊┊┊┊┊┊
二○一四年六月
基于51单片机的室内五人制足球比赛计分计时系统
专业班级: 通信工程4班
姓 名: 潘 树 明
指导教师: 刘 剑 桥
信息科学技术学院
摘 要
本设计基于89C51单片机芯片,利用74HC595芯片及数码管,完成了室内5人制足球比赛计分计时系统。
STC89C51RC是采用8051核的可编程芯片,最高工作 HYPERLINK /view/1087.htm \t _blank 时钟频率为80MHz,片内含8K Bytes的可反复擦写1000次的Flash只读 HYPERLINK /view/421016.htm \t _blank 程序存储器,芯片内集成了通用8位 HYPERLINK /view/14045.htm \t _blank 中央处理器和ISP Flash HYPERLINK /view/1223079.htm \t _blank 存储单元。本设计中搭建了很多89C51单片机相关电路,包括了利用单片机复位电路,时钟电路等。74HC595芯片能将串行输入的8位数字,转变为并行输出的8位数。利用STC89C51单片机芯片以及74HC595芯片,搭建数码管显示电路以及开关电路,利用三极管搭建了蜂鸣器驱动电路。
在测试系统的软件部分,利用了Proteus搭建了系统的仿真电路。论文分别对倒计时程序、按键检测程序、显示程序和系统初始化程序进行了讨论和设计。系统软件采用C51单片机专用语言编写,利用Keil51编译器编译,产生的目的代码的运行速度高,所需存储空间小。
利用本系统可以作为一些室内五人制足球比赛的计分计时工作,可以实现比赛时间的倒计时、双方的比分显示以及比分加减、双方犯规数的记录、犯规声音提示以及比赛结束提示等功能,在室内足球运动蓬勃发展的今天,此设计可以作用于一些简单的比赛,更重要的是提供了一个利用单片机去实现足球比赛计分计时的思路。
关键词:室内足球比赛;单片机89C51;74HC595;数码管
ABSTRACT
The design is based on 89C51 chip, use 74HC595 chip and segment displays, completed the futsul game scoring timing system.
STC89C51RC is the use of the 8051 nuclear programmable chips, its’ maximum operating frequency is 80MHz clock. It can be repeated with 8K Bytes of Flash erasable read-1000 program memory and it integrates a universal eight central processor and ISP Flash memory cell. This design has a lot 89C51 microcontroller associated circuitry, including the use of single-chip reset circuit, clock circuit and so on.With 74HC595, 8 digits of the serial input can become 8-bit parallel digital output. Using STC89C51 microcontroller chip and chip 74HC595 builds a LED display circuit and switching circuit. Using the Transistor builds a circuit to drive the buzzer.
In the part of the system software, Using the Proteus builds the system Simulation circuit. The article discuss and design the countdown program, detection of key program, display program and initialize the system program. The design writes system software with C51 MCU specific language and uses Keil51compiler to
原创力文档

文档评论(0)