1、基于单片机的篮球计时计分器设计 摘摘 要:要:本设计是基于 AT89C51 单片机的篮球计时计分器,利用 7 段共阴 LED 作 为显示器件。在此设计中共接入了 1 个四位一体 7 段共阴 LED 显示器,2 个三位 一体 7 段共阴 LED 显示器,前者用来记录赛程时间,其中 2 位用于显示分钟,2 位用于显示秒钟,后者用于记录甲乙队的分数,每队 2 个 LED 显示器显示范围可 达到 0999 分。赛程计时采用倒计时方式,比赛开始时启动计时,直至计时到 0 为止。 为了配合计时器和计分器校正调整时间和比分, 我们特定在本设计中设立了 7 个按键,用于设置,调整时间,启动,调整分数和暂停等功
2、能。采用单片机控制 是这个系统按键操作使用简洁,LED 显示,安装方便。 关键词关键词:单片机 ; 计时 ; 计分 ; 显示器 ; 接口 Design of Basketball timing Scoring Device Based on SCM Abstract:The design is based on AT89C51 microcontroller timing basketball scoring device, the use of 7 as a common cathode LED display.In this design, the CPC has an access to
3、 one of four 7-segment common cathode LED display, 2 Trinity 7 common cathode LED displays, the former is used to record the race of time, of which 2 used to display the minutes, 2 seconds to displayminutes, which is used to record scores and B teams, each team two LED display shows the range of 0 t
4、o 999 points can be achieved.Schedule time with the countdown mode, the game starts the beginning of time until the timer to 0 so far. To cope with calibration timer and scoring device to adjust the time and score, we design a specific set in the 7 buttons, for setting, adjusting the time, start, adjust the score and pause functions.The system uses single chip control is to use simple button operation, LED display, easy to install. Key words:microcontroller ; timer ; score; display ; interf