【正文】
要求。隨著時(shí)代的進(jìn)步,科技的發(fā)展,各行各業(yè)對于溫度采集系統(tǒng)的要求也在不斷提高以達(dá)到設(shè)備環(huán)境、生產(chǎn)流程的安全要求,也越來越成為溫度采集系統(tǒng)的幾個(gè)重要指標(biāo)。本課題構(gòu)成的多路溫度系統(tǒng)具有結(jié)構(gòu)簡單、價(jià)格低廉、測量精度高、量程寬的特點(diǎn),在很 多場合具有一定的適用性??捎冒存I查看某一路的溫度值,查看時(shí)數(shù)據(jù)采集不中斷。 實(shí)驗(yàn)證明:該信號采集系統(tǒng)性能穩(wěn)定,采集精度高,具有極高的性價(jià)比。 本設(shè)計(jì)利用 AT89S52 單片機(jī)為處理器,結(jié)合溫度采集電路、鍵盤電路、顯示電路、報(bào)警電路等實(shí)現(xiàn)對多路溫度的實(shí)時(shí)檢測與顯示。單片機(jī)由于其微小的體積和極低的成本, 而 廣泛的應(yīng)用于家用電器、工業(yè)控制等領(lǐng)域中。 本人畢業(yè)設(shè)計(jì)(論文)與資料若有不實(shí),愿意承擔(dān)一切相關(guān)的法律責(zé)任。盡我所知,除文中已經(jīng)注明引用的內(nèi)容外,本論文不包含任何其他個(gè)人或集體已經(jīng)公開發(fā)表或撰寫過的研究成果 。 分類號 TP274 單位代碼 11395 密 級 公開 學(xué) 號 0805270103 學(xué)生畢業(yè)設(shè)計(jì)(論文) 題 目 基于單片機(jī)的多路溫度采集系統(tǒng)設(shè)計(jì) 作 者 張京 院 (系 ) 能源工程學(xué)院 專 業(yè) 測控技術(shù)與儀器 指導(dǎo)教師 趙鵬 答辯日期 2021年 5月 27日 II 榆 林 學(xué) 院 畢業(yè)設(shè)計(jì)(論文) 誠信責(zé)任書 本人鄭重聲明:所呈交的畢業(yè)設(shè)計(jì)(論文),是本人在導(dǎo)師的指導(dǎo)下獨(dú)立進(jìn)行研究所取得的成果。畢業(yè)設(shè)計(jì)(論文)中凡引用他人已經(jīng)發(fā)表或未發(fā)表的成果、數(shù)據(jù)、觀點(diǎn)等,均已明確注明出處。對本文的研究做出重要貢獻(xiàn)的個(gè)人和集體,均已在文中以明確方式標(biāo)明。 論 文 作者簽名 : 年 月 日榆林學(xué)院本科畢業(yè)設(shè)計(jì)(論文) I 摘 要 單片機(jī)是一種集 CPU、 RAM、 ROM、 I/O 接口和中斷系統(tǒng)等部分于一體的器件,只需要外加電源和晶振就可實(shí)現(xiàn)對數(shù)字信息的處理和控制。多路溫度采集系統(tǒng)是利用 溫度傳感器 DS18B20 檢測溫度,并由單片機(jī)處理顯示。通過設(shè)計(jì)實(shí)物并調(diào)試,對系統(tǒng)存在的問題進(jìn)行了分析和總結(jié),并提出了改進(jìn)措施。 關(guān)鍵詞 :單片機(jī) ; DS18B20;溫度采集 基于單片機(jī)的多路溫度采集系統(tǒng)設(shè)計(jì) II Design of Multichannel Temperature Acquisition System Based on AT89S52 MCU ABSTRACT Singlechip is a device which consists of a set of CPU, RAM, ROM, I/O interface, interrupt system and other parts. You only need external power supply and clock then the digital information processing and control can be achieved on. Because of the small scale, low price and high efficiency of MCU, it is widely used in home appliances and industrial control. Multichannel temperature acquisition system is used temperature thermometer DS18B20 to detect the temperature, process and display by the singlechip. This design uses AT89S52 as microprocessor to realize design goal this design including temperature gathering circuit, keyboard circuit, display circuit, alarm circuit etc. to achieve the temperature detection and the display. To introduce the problems during the debugging are analyzed and summarized, some measure about the system improvement are proposed. The result of experiments indicated that signal sampling system has good performance, high precision, and has a very high pertormancetoprice ration. Key words: MCU; DS18B20; temperature acquisition 榆林學(xué)院本科畢業(yè)設(shè)計(jì)(論文) III 目 錄 摘 要 ...............................................................................................................................I ABSTRACT .........................................................................................................................II 1 緒論 ...............................................................................................................................1 選題背景 ..............................................................................................................1 本設(shè)計(jì)國內(nèi)外狀況 ..............................................................................................1 本設(shè)計(jì)的任務(wù)和主要內(nèi)容 ..................................................................................2 2 系統(tǒng)總體設(shè)計(jì) ...............................................................................................................3 系統(tǒng)概述 ..............................................................................................................3 系統(tǒng)工作原理分析 ..............................................................................................3 3 系統(tǒng)的硬件設(shè)計(jì) ...........................................................................................................4 溫度采集系統(tǒng)的開發(fā)過程 .................................................................................4 單片機(jī)的最小 系統(tǒng)設(shè)計(jì) .....................................................................................4 單片機(jī)的選型 ...........................................................................................4 AT89S52 的性能及應(yīng)用 .........................................................................5 時(shí)鐘電路設(shè)計(jì) ...........................................................................................7 復(fù)位電路設(shè)計(jì) ...........................................................................................7 溫度采集接口電路設(shè)計(jì) ......................................................................................8 DS18B20 簡介 ...........................................................................................8 DS18B20 與單片機(jī)的接口設(shè)計(jì) .............................................................12 顯示器與鍵盤電路的設(shè)計(jì) ................................................................................13 顯示電路設(shè)計(jì) .........................................................................................13 鍵盤電路設(shè)計(jì) .........................................................................................14 報(bào)警電路設(shè)計(jì) ...................................................................................................15 4 多路溫度采集系統(tǒng)的軟件設(shè)計(jì) .................................................................................16 主程序流程設(shè)計(jì) ...............................................................................................16 程序設(shè)計(jì)及巡檢子程序設(shè)計(jì) ...........................................................................17 巡檢鍵盤及數(shù)碼管多通道顯示 ........................................................................19 溫度報(bào)警程序設(shè)計(jì) ...........................................................................................22 5 系統(tǒng)仿真 .....................................................................................................................23 6 總 結(jié) .........................................................................................