【正文】
本 科 生 畢 業(yè) 設(shè) 計(jì)(論 文)論文題目:基于單片機(jī)的智能溫度報(bào)警系統(tǒng)姓名:張靖學(xué)號(hào):09022210班級(jí):090222年級(jí):2009級(jí)專業(yè):測(cè)控技術(shù)與儀器學(xué)院:核工程與地球物理學(xué)院指導(dǎo)教師:饒利民 (講師)完成時(shí)間:2013年6月5日作 者 聲 明本人以信譽(yù)鄭重聲明:所呈交的學(xué)位畢業(yè)設(shè)計(jì)(論文),是本人在指導(dǎo)教師指導(dǎo)下由本人獨(dú)立撰寫完成的,沒有剽竊、抄襲、造假等違反道德、學(xué)術(shù)規(guī)范和其他侵權(quán)行為。文中引用他人的文獻(xiàn)、數(shù)據(jù)、圖件、資料均已明確標(biāo)注出,不包含他人成果及為獲得東華理工大學(xué)或其他教育機(jī)構(gòu)的學(xué)位或證書而使用過的材料。對(duì)本設(shè)計(jì)(論文)的研究做出重要貢獻(xiàn)的個(gè)人和集體,均已在文中以明確方式標(biāo)明。本畢業(yè)設(shè)計(jì)(論文)引起的法律結(jié)果完全由本人承擔(dān)。本畢業(yè)設(shè)計(jì)(論文)成果歸東華理工大學(xué)所有。特此聲明。畢業(yè)設(shè)計(jì)(論文)作者(簽字): 簽字日期: 年 月 日 本人聲明:該學(xué)位論文是本人指導(dǎo)學(xué)生完成的研究成果,已經(jīng)審閱過論文的全部內(nèi)容,并能夠保證題目、關(guān)鍵詞、摘要部分中英文內(nèi)容的一致性和準(zhǔn)確性。 學(xué)位論文指導(dǎo)教師簽名: 年 月 日基于單片機(jī)的智能溫度報(bào)警系統(tǒng)張靖Based on single chip microputer intelligent temperature alarm systemZhang, Jing2013年6月5日 摘 要本論文介紹了一種以STC89C52RC單片機(jī)為核心的智能溫度報(bào)警系統(tǒng)。以STC89C52單片機(jī)為主控制單元,以DS18B20為溫度傳感器的溫度控制系統(tǒng)。該控制系統(tǒng)可以實(shí)時(shí)存儲(chǔ)相關(guān)的溫度數(shù)據(jù)。系統(tǒng)設(shè)計(jì)了相關(guān)的硬件電路和相關(guān)應(yīng)用程序。硬件電路主要包括STC89C52單片機(jī)最小系統(tǒng),測(cè)溫電路、按鍵處理電路、數(shù)碼管顯示電路以及狀態(tài)顯示電路等。系統(tǒng)程序主要包括主程序,讀出溫度子程序,計(jì)算溫度子程序、按鍵處理程序、數(shù)碼管顯示程序以及數(shù)據(jù)存儲(chǔ)程序等。STC89C52RC單片機(jī)可以在寬范圍的性能要求下實(shí)現(xiàn)高度集成,低成本的解決方案。而且該系統(tǒng)可由用戶通過鍵盤自行設(shè)置所需要的溫度,并由數(shù)碼管顯示電路實(shí)時(shí)顯示被控溫度及設(shè)定溫度,使系統(tǒng)應(yīng)用更加方便、直觀。關(guān)鍵詞:STC89C52單片機(jī); DS18B20; 顯示電路Abstract Along with the puter measurement and control technology of the rapid development and wide application, based on singlechip temperature gathering and control system development and application greatly improve the production of temperature in life level of control. This design STC89C52 describes a kind of mainly by MCU control unit, for temperature sensor DS18B20 temperature control system. The control system can realtime storage temperature data and record related to the current time. System design related hardware circuit and related applications. STC89C52 microcontroller hardware circuit include temperature detection circuit smallest system, and key processing circuit, digital tube display circuit and state display circuit etc. System programming mainly include main program, read temperature subroutine, the calculation of temperature subroutines, key processing procedures, Segment display procedures and data storage procedures, etc. STC89C52RC singlechip microputer can be realized in a wide range of performance requirements under the highly integrated, low cost solution. And the system could be used by the user through the keyboard to set the required temperature, and the digital tube display circuit realtime display was charged with temperature and set temperature, make system more convenient and intuitive.Key words: STC89C52 singlechip microputer。 DS18B20。 Display circuit東華理工學(xué)院畢業(yè)設(shè)計(jì)(論文) 目錄目 錄緒論 11.1 課題研究的背景 11.2 本課題所研究的內(nèi)容 1第二章 系統(tǒng)硬件設(shè)計(jì) 32.1設(shè)計(jì)方案: 32.1.1方案列舉 32.1.2方案論證: 42.2 STC89C52RC單片機(jī)簡介 42.3 STC89C52RC芯片的特性 52.4 基于STC89C52RC的溫度控制系統(tǒng)的總體設(shè)計(jì) 62.4.1 系統(tǒng)硬件基本結(jié)構(gòu) 62.4.2 STC89C52的復(fù)位電路 72.4.3鍵盤電路 82.4.4 溫度傳感器電路 92.4.5 系統(tǒng)電源電路的設(shè)計(jì) 102. 4. 6報(bào)警電路 112.4.7 電路狀態(tài)顯示電路 122.4.8數(shù)碼管顯示電路 122.4.9 設(shè)計(jì)總電路 13第三章 系統(tǒng)軟件設(shè)計(jì) 143.1應(yīng)用程序模塊整體設(shè)計(jì) 14 系統(tǒng)資源分配 14 主程序及循環(huán) 15 溫度讀取子程序 153.3 按鍵與溫度處理 163.3.1 按鍵處理子程序 16 計(jì)算溫度子