1、 重庆航天职业技术学院 2010 届毕业设计(论文) 题 目 : 基于单片机的篮球赛 计分器 学院、系 : 电子工程系 专 业 : 电子信息工程技术 学生姓名 : 徐松 班 级 : 10021011 学号 20101130 指导老师 王用伦 摘 要 进入 21 世纪,伴随着电子,信息通信技术的 应用 与 普及开发,人们对电子技术的要求也越来越高。目前嵌入式单片机渗透到我们生活的各个领域,由于它具有功能强大,体积小,功耗低,可靠性高,易扩展,性价比高,使用方便等特点,因此它广泛应用于工业控制,智能仪表等有关系统设备。 本设计主要利用单片机 AT89C51 作为核心元件,利用 3 组 4 位共阳极
2、的数码管作为显示器件,以 C 语言作为编程语言,在 Protues 和 Keil 搭建的软件仿真平台下进行仿真,本设计包含了 AT89C51 系列单片机的最小系统的构成,同时在此基础上扩展了一些实用性强的外围接口,可以进一步了解译码器 74LS247 的应用, LED 七段数码管的结构 和 工作原理,主要实现了计时和显示 A/B 队的分数,并能及时进行加分,减分,鸣笛警示等功能。 系统设计完成后应有成本 低廉、性能稳定、高准确度显示、操作方便且易携带等特点。广泛适合各类学校和小团体作为赛程计分。 关键词: 篮球 赛 计分 器 ; AT89C51; 74LS247; 七段数码管; 仿真 Abst
3、ract Entering the twenty-first Century, along with the more and more popularization application of the electronics, information and communication technology, peoples requirement is more and more high in the electronic technology, The embedded microcontroller is penetrating into every aspect of our l
4、ives with its strong function, small volume, low power consumption, high liability, easy expansion, high performance-price ratio, use convenient and so on , so it is widely used in industrial controlment, smart instrumentation and related system equipment. The core element of the design is AT89C51,
5、3 groups of 4 bit common anode digital tube is display devices. The design is using C language, simulating in a software simulation platform between Proteus and Keil, the design included the AT89C51Series MCU minimum system, and at the same time the design expanded some practical peripheral interfac
6、e to deeply understand the application of 74LS247, LED seven digital tube structure and its working principle, and the display interface communication.The design mainly finished the timing and displaying A / B team scores and timely points, deduction, the alarming function etc. After finishing system design,it should be low cost, stable performance, high accuracy to display, convenient to operate easy to carry and so on. Suitable for all kinds of schools and small groups as the tournament scoring. Keywords: Basketball scoring screen; AT89C51;74LS247;LED;Simulation 目 录