【正文】
本科生畢業(yè)論文(設(shè)計(jì)) 題 目 : 基于單片機(jī)八路搶答器的設(shè)計(jì) 姓 名 : 學(xué) 院 : 理 學(xué) 院 專(zhuān) 業(yè) : 電子科學(xué)與技術(shù) 班 級(jí) : 08 級(jí)( 2)班 學(xué) 號(hào) : 1886080220 指 導(dǎo)教師 : 職稱(chēng) : 2020 年 3 月 16 日 安徽科技學(xué)院教務(wù)處制 安徽科 技學(xué)院畢業(yè)論文 I 基于單片機(jī)八路搶答器的設(shè)計(jì) 摘要 二十一世紀(jì)我們進(jìn)入信息高速發(fā)展時(shí)代,單片機(jī)以其自身的特點(diǎn),現(xiàn)已廣泛應(yīng)用于智能儀器、工業(yè)控制、家用電器等各個(gè)領(lǐng)域。 在搶答過(guò)程中,光靠聽(tīng)覺(jué)是很難判斷出哪組先答 題,為了體現(xiàn)公平公正的原則,所以設(shè)計(jì)出八路搶答器這個(gè)系統(tǒng)。 本系統(tǒng)主要是采用 AT89C52 單片機(jī), 具有 性能可靠、電路簡(jiǎn)單、成本低等特點(diǎn) 。 它的功能實(shí)現(xiàn)是比賽開(kāi)始,主持人讀完題之后按下開(kāi)始開(kāi)關(guān),即計(jì)時(shí)開(kāi)始,此時(shí)數(shù)碼管開(kāi)始進(jìn)行 30 秒倒計(jì)時(shí),直到有一個(gè)選手搶答時(shí),對(duì)應(yīng)的會(huì)在數(shù)碼管上顯示出該選手的編號(hào)以及剩余時(shí)間,同時(shí)蜂鳴器也會(huì)發(fā)出聲音,以提示有人搶答本題,在規(guī)定的最后 5 秒時(shí)間內(nèi)還沒(méi)有做出搶答,蜂鳴器發(fā)出報(bào)警,提示選手盡快作答,如果 30 秒內(nèi)無(wú)人作答則此題作廢,即開(kāi)始重新一輪的搶答。 關(guān)鍵詞: 搶答器; 數(shù)碼管;單片機(jī)安徽科 技學(xué)院畢業(yè)論文 II Abstract In twentyfirst Century we entered the rapid development of the information age, single chip with its own characteristics, has been widely used in intelligent instruments, industrial control, household appliances and other fields. The answer in the process, light relies on hearing is very difficult to determine which group to answer the question, in order to reflect fair principle, so the design of eight way responder in the system. This system is mainly used AT89C52 MCU, has reliable performance, simple circuit, low cost. Its function is read after the title game, the host press start switch, namely, start time, the digital tube start30 seconds countdown, until one player contest, corresponding to the will in the digital tube displays the player39。s number and the time remaining, and a buzzer would sound, to prompted some people to answer that, in the last 5 seconds of time also made no answer, buzzer alarm, prompting players to answer as soon as possible, if30 seconds no answer this question voided, . began to round responder. Key words:Responder。 Digital control。 Singlechip microputer安徽科 技學(xué)院畢業(yè)論文 III 目錄 摘要 ................................................................................ I Abstract ........................................................................... II 第一章 緒論 ......................................................................... 1 第二章 八路搶答器整體設(shè)計(jì)方案 ....................................................... 2 方案設(shè)計(jì) ..................................................................... 2 方案論證 ..................................................................... 3 第三章 系統(tǒng)硬件設(shè)計(jì) ................................................................. 5 單片機(jī)的選擇與介紹 ........................................................... 5 時(shí)鐘 電路與復(fù)位電路 ........................................................... 7 時(shí)鐘電路 ............................................................... 7 復(fù)位電路 ............................................................... 7 搶答電路 ..................................................................... 8 顯示電路 .................................................................... 8 控制電路 ..................................................................... 9 報(bào)警系統(tǒng) .................................................................... 10 整個(gè)系統(tǒng)的工作原理 .......................................................... 10 第四章 軟件設(shè)計(jì) .................................................................... 11 定時(shí)中斷模塊 ................................................................ 11 外部 中斷模塊 ..............................