基于AT89C51八路数字抢答器的设计
摘要:抢答器作为一种电子产品已广泛应用于各种智力和知识竞赛场合。一个八路数字抢答器的设计需要考虑到可更改回答及抢答时间功能,利用AT89C51单片机及外围接口实现的抢答系统,利用单片机的定时器/计数器定时和记数的原理,将软硬件有机地结合起来,使得系统能够正确地进行计时,同时使数码管能够正确地显示时间。用开关做键盘输出,扬声器发声提示。同时系统能够实现在抢答中只有开始后抢答才有效,如果在开始抢答前抢答为无效;抢答限定时间和回答问题的时间可在1-99s设定,可以显示是哪位选手有效抢答和无效抢答,正确按键后有音乐提示,抢答时间和回答问题时间倒记时显示,满时后系统计时自动复位及主控强制复位,按键锁定,在有效状态下,按键无效非法。
关键词:AT89C51; LED数码管; 抢答器; 计时器
Design of digital Responder
Abstract:Responder as an electronic products have been widely used in intelligence and petitions occasions. An eight-way digital answering device designed to take into account to answer and answer in time to change the function, using AT89C51 microcontroller and external interface of the answer system, using single chip timer / counter the principle of timing and counting, bine hardware and software , allows the system to correctly time, while the digital control to correctly display the time. Switching to do with the keyboard output, speaker voice prompts. At the same time the system can be achieved only after the beginning of the Responder only effective if started before the Responder to be invalid; answer in a limited time and the time to answer questions can be set in 1-99s, which players can display is effective and ineffective Responder, the correct button prompt after the music, answer in time and answer the questions of time countdown display, the system time after the expiration of the master force automatic reset and reset, the keys are locked in an effective state, the button is not illegal.
Key words: AT89C51; LED digital tubes; the first answer device; Time
目录
绪论……………………………………………………………………….4
第1章抢答器的简介 5
5
7
7
7
抢答器的功能描述 7
第2章总体方案论证 8
总体方案 8
方案论证 8
方案一 8
方案二 9
第3章课题系统概述 9
调研情况 9
课题要求 9
课题工作原理 10
课题运行流程图 11
课题工作过程 12
课题所用芯片 12
AT89C51的功能及简介 12
AT89C51特殊功能寄存器 15
第4章硬件模块 17
17
18
18
18
毕业设计--基于AT89C51八路数字抢答器的设计 来自淘豆网www.taodocs.com转载请标明出处.