摘 要:片机AT89C51芯片作为本次核心控制元件,利用1602LCD液晶显示器作为显示器件,键盘输入电路以及报警提示电路组成。通过硬件电路设计及软件编程调试的结合,构成了一个满足篮球比赛所需的计时计分器。本系统可满足倒计时方式显示单节比赛剩余时间,可暂停比赛,显示双方得分,按键输入可修改分值,如有错误可进行相应的修改。当控球时间超过24秒时、整场比赛结束时有声音提示。系统符合一般篮球比赛计时器的工作要求。篮球比赛计时计分器因其功耗低、体积小、使用灵活、便于携带等特点,容易在各大高校中推广使用,有很好的市场前景。
关键字: AT89C51 , LCD1602, 计数器 ,计时器
Abstract: This article designs a system of basketball game timekeeping and scoring, which is based on the single-chip microcomputer. The system mainly through the single-chip microcomputer AT89C51 chips as the core control elements, using 1602 LCD monitor as a displaying component, the keyboard input circuit and alarm prompt circuit component.The hardware circuit design with software programmer debugging make up the system of basketball timing and scoring, which can be used in a basketball game. In a basketball game, this system can show the remaining time in a period, and also be suspended and display the scores of both sides, if there and mistake, the scores can be need through key inputting. When controlling the ball for more than 24 seconds and the game ends, the system is able to prompt by voice. So the system can be used as a common basketball game timer. Basketball game timing and scoring device because of its low power consumption, small volume, use agile, easy to carry and other characteristics, it easy to promote in colleges and have a good market prospect.
Keywords: ATS89C51; LCD1602; Counter; Timer