{$cfg_webname}
主页 > 电子信息 > 单片机 >

排球计分器的设计(含原理图,Proteus仿真程序)

来源:56doc.com  资料编号:5D15255 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D15255
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

排球计分器的设计(含原理图,Proteus仿真程序)(论文7200字,Proteus仿真程序)
摘  要
单片机自20世纪70年代问世以来,以其高的性价比,受到设计人员的重视和关注,目前已经成为测量控制应用系统中的关键的控制器件。世界各大电气厂家,测控技术企业,机电行业,竞相把单片机应用于产品更新,作为实现数字化,智能化的核心部件。
本课题设计的是一种基于单片机的排球计分控制系统。采用单片机为核心控制器件,对输入的按键信息进行采集和处理,并通过6个LED点阵进行显示。通过六个按键模拟局比分和本局比分的输入。本设计排球积分器系统由硬件和软件两部分组成。利用protel和keil软件实现系统的硬件电路设计和软件设计,采用Proteus7.6进行了可行性仿真,对设计软件程序和硬件电路进行验证。
本设计具有价格低廉、性能稳定、操作方便并且易于携带等特点,适用于各种公司学校等中小企业.
关键词:单片机;LED点阵;计分器

Abstract
Single chip microcomputer since the 70s of 20th century, with its high price by the designer's attention and concern, has become the measurement and control system application in the key control device. Electrical manufacturers around the world, enterprise of measurement and control technology, electrom echanical industry, competing monolithic machine application to the improvement of the product, as the realization of the digital, intelligent core components[16-17].
This project is to design a control system based on MCU volleyball integral. The system adopts MCU as the core control device, the input key information acquisition and processing, and by six LED dot matrix display. Through the six buttons simulation game and the game input. The design of volleyball integrator systems consists of two parts: hardware and software. Using Protel and keil software system hardware circuit design and software design, feasibility simulation is carried out by Proteus7.6, on software design and hardware circuit for verification[18].
The design has the characteristics of low price, stable performance, convenient operation and easy to carry, etc. it is suitable for all kinds of small and medium enterprises.
Key words: Single chip microcomputer; Single chip microcomputer; LED dot matrix; score device            

2.1本设计目标
1、利用AT89S52设计一款排球比赛计分器;
2、能够是实现总局数显式,和单局比分显示;
3、拥有键盘接口,可通过键盘修改当当前局数和比分,并利用LED点阵进行显示;
4、能够随时刷新甲、乙两队在整个比赛中的比赛成绩;
5、实现系统软件和硬件设计,并通过仿真进行可行性验证;
2.2系统方案的确定
1、设计思想
本设计的整体思路:利用单片机实现对输入按键信息的采集,根据按键信息进行判断,控制显示器件输出,实现比赛成绩显示[11-13]。
    2、设计方案确定
系统需要实现按键采集、按键处理和比分显示三个功能。
按键采集部分需要输入两队的当前局数信息和单独分数信息。设计中选择了六个按键来实现,每队个三个按键,如A队,一个按键代表局数加按键,一个代表当局分数“加1”,按下复位键当局比分。B队也是如此;
     按键处理采用单片机实现,通过采集和按键相连IO的输入状态,实现对输入按键信息的采集;
     比分显示用六个LED点阵来实现,每队各三个,一个显示当局比分,两个显示当局的比分;
根据以上分析可知,本设计由单片机最小系统、LED点阵模块、按键模块、电源模块、四个部分组成,系统结构见图2-1所示
 

排球计分器的设计(含原理图,Proteus仿真程序)
排球计分器的设计(含原理图,Proteus仿真程序)
排球计分器的设计(含原理图,Proteus仿真程序)
排球计分器的设计(含原理图,Proteus仿真程序)


目  录
1 引言    1
1.1研究背景和意义    1
1.2研究主要内容    1
1.3本文结构安排    1
2  系统整体设计方案    2
2.1本设计目标    2
2.2系统方案的确定    2
3 系统硬件设计    3
3.1 单片机最小系统设计    3
3.2 LED点阵驱动电路    3
3.2.1 LED点阵显示原理    3
3.2.2 LED点阵驱动电路设计    4
3.3按键电路设计    5
3.4按键电路设计    5
4系统的软件设计    6
4.1开发环境介绍    6
4.1 主函数流程    6
4.2 按键程序设计    7
4.2 显示程序设计    7
5系统仿真与调试    9
5.1 仿真软件介绍    9
5.2 系统仿真分析    9
5.3 系统调试    12
结  论    13
致  谢    14
参考文献    15
附件A  原理图总图    16
附录B  仿真代码    16

推荐资料