【正文】
圖 書 分類號: 密 級: 畢業(yè)設(shè)計 (論文 ) 基于 AT89C51 的數(shù)字搶答器設(shè)計 THE DESIGN OF DIGITAL ANSWERING DEVICE BASED ON AT89C51 學(xué)生姓名 學(xué)院名稱 信電工程學(xué)院 專業(yè)名稱 電子信息工程技術(shù) 指導(dǎo)教師 2020 年 5 月 20 日 徐州工程學(xué)院畢業(yè)設(shè)計 (論文 ) I 徐州工程學(xué)院學(xué)位論文原創(chuàng)性聲明 本人鄭重聲明: 所呈交的學(xué)位論文,是本人在導(dǎo)師的指導(dǎo)下,獨立進行研究工作所取得的成果。除文中已經(jīng)注明 引用或參考的內(nèi)容外,本論文不含任何其他個人或集體已經(jīng)發(fā)表或撰寫過的作品或成果。對本文的研究做出重要貢獻的個人和集體,均已在文中以明確方式標(biāo)注。 本人完全意識到本聲明的法律結(jié)果由本人承擔(dān)。 論文作者簽名: 日期: 年 月 日 徐州工程學(xué)院學(xué)位論文版權(quán)協(xié)議書 本人完全了解徐州工程學(xué)院關(guān)于收集、保存、使用學(xué)位論文的規(guī)定,即:本校學(xué)生在學(xué)習(xí)期間所完成的學(xué)位論文的知識產(chǎn)權(quán)歸徐州工程學(xué)院所擁有。徐州工程學(xué)院有權(quán)保留并向國家有關(guān)部門或機構(gòu)送交學(xué)位論文的紙本復(fù)印件和電子 文檔拷貝,允許論文被查閱和借閱。徐州工程學(xué)院可以公布學(xué)位論文的全部或部分內(nèi)容,可以將本學(xué)位論文的全部或部分內(nèi)容提交至各類數(shù)據(jù)庫進行發(fā)布和檢索,可以采用影印、縮印或掃描等復(fù)制手段保存和匯編本學(xué)位論文。 論文作者簽名: 導(dǎo)師簽名: 日期: 年 月 日 日期: 年 月 日 徐州工程學(xué)院畢業(yè)設(shè)計 (論文 ) II 摘 要 隨著電子技術(shù)的飛速發(fā)展,基于單片機的控制系統(tǒng)已廣泛應(yīng)用于工業(yè)、農(nóng)業(yè)、電力、電子、智能樓宇等行業(yè),微型計算 機作為嵌入式控制系統(tǒng)的主體與核心,代替了傳統(tǒng)的控制系統(tǒng)的常規(guī)電子線路。同時樓宇智能化的發(fā)展與成熟,也為基于單片機的照明控制系統(tǒng)的普及與應(yīng)用奠定了堅實的基礎(chǔ)。 電子智能搶答 計分 器在 搶答過程中,為了知道哪一組或哪一位選手先答題,必須要設(shè)計一個系統(tǒng)來完成這個任務(wù)。如果在搶答中,靠視覺是很難判斷出哪組先答題。利用單片機系統(tǒng)來設(shè)計搶答器,使以上問題得以解決,即使兩組的搶答時間相差幾微秒,也可分辨出哪組優(yōu)先答題 。搶答組數(shù)可以在八組以內(nèi)任意使用,本系統(tǒng)設(shè)計為模塊形式采用九針插頭進行連接, 系統(tǒng)工作原理本系統(tǒng)采用 AT89C51單片機作為核心??刂葡到y(tǒng)的 五 個模塊分別為: 單片機最小系統(tǒng)( 四 位并行數(shù)碼顯示 、 獨立鍵盤 )、顯示模塊 、 顯示驅(qū)動模塊、 搶答開關(guān)模塊 、音樂音頻輸出模塊 。 關(guān)鍵詞 : 單片機; 獨立鍵盤 ;顯示 器 ;驅(qū)動; 搶答 徐州工程學(xué)院畢業(yè)設(shè)計 (論文 ) III Abstract With the rapid development of electronic technology, the control system based on SCM has been widely used in industry, agriculture, electricity, electronics, intelligent buildings, industry, microputers embedded control system as the main and core, instead of the traditional control System of conventional electronic circuits. At the same time the development of intelligent buildings and maturity, but also based on the lighting control system MCU and popularity of application laid a solid foundation. Points for electronic smart Qiangda Qiangda in the process, in order to know which group or which one player to answer, we must design a system to plete this task. If the Qiangda, rely on the visual is very difficult to determine which group to answer. SCM system used to design Qiangda, bringing the above problems are resolved, even if the two groups Qiangda the difference in time a few microseconds, which can also be distinguished group of priority answer. Qiangda group of eight can within the arbitrary use of the system designed to be modular form of a ninepin plugs to connect the system working principle of the system used AT89S51 SCM as a core. Control system of the five modules are: MCU minimum system (six parallel digital display, 4 x 4 matrix keyboard), modules, display driver module, Qiangda switch modules, music, audio output module. Key words: SCM,modules, display driver module, Qiangda switch modules 徐州工程學(xué)院畢業(yè)設(shè)計 (論文 ) I 目 錄 1 緒論 ............................................................................................................. 錯誤 !未定義書簽。 課題研究背景及意義 ............................................................................................................ 1 需求分析 ................................................................................................................................ 1 ........................................................................................................................ 1 2 系統(tǒng)設(shè)計方案 .............................................................................................................................. 3 本數(shù)字搶答器的組成 ........................................................................................................... 3 八位搶答器的設(shè)計要求 ....................................................................................................... 3 ....................................................................................................... 3 件 介紹 ....................................................................................................................... 5 AT89C51 單片機簡介 .................................................................................................. 5 LED 數(shù)碼管 .................................................................................................................. 8 LCD 的特點 ................................................................................................................. 9 鎖存器 ............................................................................................................................. 9 3 系統(tǒng)硬件設(shè)計 ............................................................................................................................ 12 硬件電路的總體框圖 ......................................................................................................... 12 ..................................................................................................................... 12 ..................................................................................................................... 12 ............................................................................................................. 12 ............................................................................................................. 12 ................................................................................................. 13 ............................................................................................. 14 ............................................................................................................. 14 ................................................................................................................. 15 4 系統(tǒng)軟件設(shè)計 ............................................................................................................................ 16 部分軟件設(shè)計 ......................