【正文】
學(xué) 士 學(xué) 位 論 文 基于單片機(jī)的語(yǔ)音溫度計(jì)的設(shè)計(jì) 系 別: 計(jì)算機(jī)科學(xué)與技術(shù)系 學(xué)科專業(yè): 計(jì)算機(jī)科學(xué)與技術(shù) 姓 名: 王 磊 指導(dǎo)教師: 朱 銘 琳 運(yùn) 城 學(xué) 院 2022 年 6 月 語(yǔ)音溫度計(jì)的設(shè)計(jì) 摘 要 隨著人們生活水平的提高,各電子產(chǎn)品突飛猛進(jìn)的發(fā)展,電子測(cè)量?jī)x也逐漸豐富起來(lái),原來(lái)的模擬產(chǎn)品逐步向數(shù) 字化綜合化轉(zhuǎn)化,并且不斷走向人性化。該設(shè)計(jì)的實(shí)現(xiàn)在工農(nóng)業(yè)生產(chǎn)以及科學(xué)實(shí)驗(yàn)中起到不可忽視的作用,發(fā)揮了它靈活輕巧使用方便的特點(diǎn)。 該設(shè)計(jì)語(yǔ)音播報(bào)系統(tǒng)能夠充分發(fā)揮人性化的性質(zhì),利用 AT89S51作為單片機(jī)的主芯片,配合 DS18B20溫度傳感器,實(shí)現(xiàn)帶語(yǔ)音播報(bào)功能的溫度測(cè)試儀。并且在實(shí)現(xiàn)語(yǔ)音播報(bào)當(dāng)前溫度的同時(shí),也實(shí)現(xiàn)了數(shù)字液晶顯示的功能,功能更形象使用更方便智能。 本設(shè)計(jì)所介紹的語(yǔ)音溫度計(jì)與傳統(tǒng)的溫度計(jì)相比,具有讀數(shù)方便,測(cè)溫范圍廣,測(cè)溫準(zhǔn)確,其輸出溫度采用數(shù)字顯示,主要用于對(duì)測(cè)溫比較準(zhǔn)確的場(chǎng)所,或科研實(shí) 驗(yàn)室使用,該設(shè)計(jì)控制器使用單片機(jī) AT89S51,測(cè)溫傳感器使用 DS18B20,用 3 位共陽(yáng)極 LED 數(shù)碼管以串口傳送數(shù)據(jù) ,實(shí)現(xiàn)溫度顯示 ,能準(zhǔn)確達(dá)到以上要求。 關(guān)鍵詞 單 片機(jī); 溫度計(jì) ; 溫度傳感器 ; 設(shè)計(jì) Thermometer of Design Abstract Along with the time progress and the development, the monolithic integrated circuit technology already popularized to us lives, the work, the scientific research, each domain, will already bee one kind of quite mature technology, this article introduced one kind the digital thermometer which controlled based on the monolithic integrated design introduced the digital thermometer and the traditional thermometer pares, has the reading to be convenient, measured the warm scope is broad, measured warm accurate, its output temperature uses the numeral to demonstrate, mainly uses in to measured the warm quite accurate place, or the scientific research laboratory use, this design controller use monolithic integrated circuit AT89S51, measured the warm sensor uses DS18B20, this thermometer may adjust the demonstration date, the time, may establish, the maximum temperature lowly reports to the police the survey temperature surpasses the hypothesis the temperature bound, starts the buzzer and the indicating lamp reports to the police. The temperature demonstration is stable. The realization temperature demonstrated that, can above achieve accurately requests. Keywords SCM。thermometer。temperature。sensor。Design 目 錄 引 言 .............................................................................................................................................................. 1 第 1 章 緒論 ........................................................................................................................................................ 2 課題背景 ........................................................... 2 語(yǔ)音溫度計(jì)的國(guó)內(nèi)外狀況 ............................................. 2 溫度參數(shù)、語(yǔ)音播報(bào) ................................................. 3 溫度參數(shù) ................................................................................................................................ 3 語(yǔ)音播報(bào) ................................................................................................................................ 3 第 2 章 硬件設(shè)計(jì) ................................................................................................................................................ 4 方案論證和比較 ..................................................... 4 設(shè)計(jì)原理 ........................................................... 4 主控制器 ................................................................................................................................ 4 溫度傳感器 ............................................................................................................................ 5 DS18B20 溫度傳感器與單片機(jī)的接口電路 ......................................................................... 6 主板電路 ................................................................................................................................ 6 . 語(yǔ)音溫度計(jì) 顯示模塊 ............................................................................................................ 7 設(shè)計(jì)過(guò)程 ........................................................... 7 總體設(shè)計(jì) ................................................................................................................................ 7 各模塊設(shè)計(jì) .......................................................................................................................... 12 單片機(jī)的簡(jiǎn)介和發(fā)展趨勢(shì) ............................................ 14 單片機(jī)的特點(diǎn) ...................................................................................................................... 14 單片機(jī)的應(yīng)用領(lǐng)域和發(fā)展趨勢(shì) .......................................................................................... 15 第 3 章 軟件設(shè)計(jì) .............................................................................................................................................. 16 設(shè)計(jì)思路 .......................................................... 16 語(yǔ)音溫度計(jì)設(shè)計(jì)的基本原理 .............................................................................................. 16 讀出溫度子程序 .................................................................................................................. 16 顯示數(shù)據(jù)刷新子程序 .......................................................................................................... 18 軟件結(jié)構(gòu)設(shè)計(jì) ...................................................................................................................... 18 程序設(shè)計(jì) .......................................................... 19 程序總設(shè)計(jì) .......................................................................................................................... 19 LED 顯示程序模塊 ............................................................................................................... 19 第 4 章 系統(tǒng)調(diào)試 .............................................................................................................................................. 20 硬件調(diào)試 .......................................................... 20 硬件靜態(tài)的調(diào)試 .................................................................................................................. 20 系統(tǒng)硬件調(diào)試 ........................