畢業(yè)論文 多路數(shù)字式溫度測(cè)量系統(tǒng).doc
約39頁(yè)DOC格式手機(jī)打開(kāi)展開(kāi)
畢業(yè)論文 多路數(shù)字式溫度測(cè)量系統(tǒng),論文標(biāo)準(zhǔn)word格式排版 共37頁(yè) 15848字摘 要本文結(jié)合實(shí)際使用需求,采用ds18b20數(shù)字溫度傳感器及單片機(jī)設(shè)計(jì)硬件連接電路,并給出了軟件流程圖及程序。系統(tǒng)由多個(gè)外接的溫度傳感器及顯示器、鍵盤(pán)電路、電子看門(mén)狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過(guò)通信接口交微處理器處理,最后...
內(nèi)容介紹
此文檔由會(huì)員 莎士比亞 發(fā)布
論文標(biāo)準(zhǔn)WORD格式排版 共37頁(yè) 15848字
摘 要
本文結(jié)合實(shí)際使用需求,采用DS18B20數(shù)字溫度傳感器及單片機(jī)設(shè)計(jì)硬件連接電路,并給出了軟件流程圖及程序。系統(tǒng)由多個(gè)外接的溫度傳感器及顯示器、鍵盤(pán)電路、電子看門(mén)狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過(guò)通信接口交微處理器處理,最后將溫度值顯示并存儲(chǔ)起來(lái)。通過(guò)鍵盤(pán)可以控制數(shù)據(jù)的回放,且可以通過(guò)接口與上位機(jī)進(jìn)行通信。系統(tǒng)具有超溫報(bào)警功能。
由于采用了智能溫度傳感器DS18B20,它的轉(zhuǎn)換速率極快,進(jìn)行讀、寫(xiě)操作非常簡(jiǎn)便。它具有數(shù)字化輸出,可測(cè)量遠(yuǎn)距離點(diǎn)溫度。系統(tǒng)具有微型化,微功耗,測(cè)量精度高,功能強(qiáng)大等特點(diǎn),同時(shí)可測(cè)量多路溫度參數(shù),報(bào)警的溫度值能方便地設(shè)置。由于有先進(jìn)的看門(mén)狗電路,加之DS18B20內(nèi)部的差錯(cuò)檢驗(yàn),所以它的抗干擾能力強(qiáng),性能可靠,結(jié)構(gòu)簡(jiǎn)單。
系統(tǒng)由上位機(jī)和下位機(jī)兩大部分組成。下位機(jī)實(shí)現(xiàn)溫度的檢測(cè)并提供標(biāo)準(zhǔn)的通信接口,上位機(jī)部分使用了通用PC。該系統(tǒng)可應(yīng)用于倉(cāng)庫(kù)測(cè)溫、樓宇空調(diào)控制和生產(chǎn)過(guò)程監(jiān)控等領(lǐng)域。
關(guān)鍵字:溫度測(cè)量;傳感器;單片機(jī);集成電路
Abstract
Based on the actual experience and needs ,this thesis mainly designs the
hardware connecting circuit by using DS18B20 and MCU. Meanwhile ,it shows the flowchart of software systems and procedures.This system consists of several external temperature sensors and displays,keyboard circuit,electronic watchdog circuit,alarm circuit, microprocessor,communications interface and the host computer. The temperature sensor turns temperature into signals and then through the disposal of the microprocess or interface, the temperature is showed and storaged finally . The data can be controlled by the keyboard intervals, and can communicate with the host computer through the interface. This system has the over –temperature alarm system function.
Because the DS18B20 intelligent temperature sensor system is used ,it has fast rate of change and it is very convenient to read and write . It has digital output ,and can measure the remote temperature.This system has the chatacteristics of microminiaturization, low power ,and high accuracy. It can measure the multi-channel temperature parameters at the same time and the alarm temperature can be easily installed. Because of the advanced watchdog circuit and the internal error testing of DS18B20 ,its anti-interference capability becomes better ,its function more reliable and its stracture simpler.
This system is made up of the upper and lower crew of two main components. The lower component measures the temperature and provides a standard communication interface .Parts of the upper components use the general PC .This system can be used for measuring the temperature , controlling and monitoring the process of the air condition in the buildings.
Key Words:temperature measure; Sensor; single-chip microcomputer; integrate circuit
目錄
第一章 緒論1
1.1 國(guó)內(nèi)外研究現(xiàn)狀1
1.2 設(shè)計(jì)的目的及意義1
1.3 主要研究?jī)?nèi)容2
第二章 系統(tǒng)總體結(jié)構(gòu)設(shè)計(jì)與性能指標(biāo)3
2.1 傳感器的選擇3
2.1.1 模擬式傳感器3
2.1.2數(shù)字式傳感器3
2.1.3 DS18B20的選用4
2.2 系統(tǒng)性能指標(biāo)要求6
2.3系統(tǒng)總體結(jié)構(gòu)設(shè)計(jì)方案6
第三章 硬件電路設(shè)計(jì)8
3.1高精度穩(wěn)壓電源8
3.1.1高精度穩(wěn)壓電源的組成8
3.1.2高精度穩(wěn)壓電源設(shè)計(jì)8
3.2看門(mén)狗電路10
3.3聲光報(bào)警電路11
3.4鍵盤(pán)電路12
3.4.1鍵盤(pán)電路原理12
3.4.2 開(kāi)關(guān)狀態(tài)的可靠輸入12
3.4.3 對(duì)按鍵進(jìn)行編碼12
3.4.4 選擇鍵盤(pán)監(jiān)測(cè)方法13
3.5溫度顯示電路13
3.6溫度測(cè)試電路15
3.7 串口通訊電路17
第四章 軟件設(shè)計(jì)19
4.1 軟件設(shè)計(jì)概述19
4.2 主程序方案19
4.3中斷控制程序設(shè)計(jì)20
4.4溫度測(cè)試子程序設(shè)計(jì)20
4.5串口通信程序設(shè)計(jì)21
第五章 系統(tǒng)調(diào)試24
5.1硬件調(diào)試24
5.2軟件調(diào)試24
5.3系統(tǒng)聯(lián)調(diào)25
5.4現(xiàn)場(chǎng)調(diào)試25
第六章 結(jié)論與展望26
6.1 結(jié)論26
6.2展望26
參考文獻(xiàn)27
附錄1 程序清單28
致謝32
摘 要
本文結(jié)合實(shí)際使用需求,采用DS18B20數(shù)字溫度傳感器及單片機(jī)設(shè)計(jì)硬件連接電路,并給出了軟件流程圖及程序。系統(tǒng)由多個(gè)外接的溫度傳感器及顯示器、鍵盤(pán)電路、電子看門(mén)狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過(guò)通信接口交微處理器處理,最后將溫度值顯示并存儲(chǔ)起來(lái)。通過(guò)鍵盤(pán)可以控制數(shù)據(jù)的回放,且可以通過(guò)接口與上位機(jī)進(jìn)行通信。系統(tǒng)具有超溫報(bào)警功能。
由于采用了智能溫度傳感器DS18B20,它的轉(zhuǎn)換速率極快,進(jìn)行讀、寫(xiě)操作非常簡(jiǎn)便。它具有數(shù)字化輸出,可測(cè)量遠(yuǎn)距離點(diǎn)溫度。系統(tǒng)具有微型化,微功耗,測(cè)量精度高,功能強(qiáng)大等特點(diǎn),同時(shí)可測(cè)量多路溫度參數(shù),報(bào)警的溫度值能方便地設(shè)置。由于有先進(jìn)的看門(mén)狗電路,加之DS18B20內(nèi)部的差錯(cuò)檢驗(yàn),所以它的抗干擾能力強(qiáng),性能可靠,結(jié)構(gòu)簡(jiǎn)單。
系統(tǒng)由上位機(jī)和下位機(jī)兩大部分組成。下位機(jī)實(shí)現(xiàn)溫度的檢測(cè)并提供標(biāo)準(zhǔn)的通信接口,上位機(jī)部分使用了通用PC。該系統(tǒng)可應(yīng)用于倉(cāng)庫(kù)測(cè)溫、樓宇空調(diào)控制和生產(chǎn)過(guò)程監(jiān)控等領(lǐng)域。
關(guān)鍵字:溫度測(cè)量;傳感器;單片機(jī);集成電路
Abstract
Based on the actual experience and needs ,this thesis mainly designs the
hardware connecting circuit by using DS18B20 and MCU. Meanwhile ,it shows the flowchart of software systems and procedures.This system consists of several external temperature sensors and displays,keyboard circuit,electronic watchdog circuit,alarm circuit, microprocessor,communications interface and the host computer. The temperature sensor turns temperature into signals and then through the disposal of the microprocess or interface, the temperature is showed and storaged finally . The data can be controlled by the keyboard intervals, and can communicate with the host computer through the interface. This system has the over –temperature alarm system function.
Because the DS18B20 intelligent temperature sensor system is used ,it has fast rate of change and it is very convenient to read and write . It has digital output ,and can measure the remote temperature.This system has the chatacteristics of microminiaturization, low power ,and high accuracy. It can measure the multi-channel temperature parameters at the same time and the alarm temperature can be easily installed. Because of the advanced watchdog circuit and the internal error testing of DS18B20 ,its anti-interference capability becomes better ,its function more reliable and its stracture simpler.
This system is made up of the upper and lower crew of two main components. The lower component measures the temperature and provides a standard communication interface .Parts of the upper components use the general PC .This system can be used for measuring the temperature , controlling and monitoring the process of the air condition in the buildings.
Key Words:temperature measure; Sensor; single-chip microcomputer; integrate circuit
目錄
第一章 緒論1
1.1 國(guó)內(nèi)外研究現(xiàn)狀1
1.2 設(shè)計(jì)的目的及意義1
1.3 主要研究?jī)?nèi)容2
第二章 系統(tǒng)總體結(jié)構(gòu)設(shè)計(jì)與性能指標(biāo)3
2.1 傳感器的選擇3
2.1.1 模擬式傳感器3
2.1.2數(shù)字式傳感器3
2.1.3 DS18B20的選用4
2.2 系統(tǒng)性能指標(biāo)要求6
2.3系統(tǒng)總體結(jié)構(gòu)設(shè)計(jì)方案6
第三章 硬件電路設(shè)計(jì)8
3.1高精度穩(wěn)壓電源8
3.1.1高精度穩(wěn)壓電源的組成8
3.1.2高精度穩(wěn)壓電源設(shè)計(jì)8
3.2看門(mén)狗電路10
3.3聲光報(bào)警電路11
3.4鍵盤(pán)電路12
3.4.1鍵盤(pán)電路原理12
3.4.2 開(kāi)關(guān)狀態(tài)的可靠輸入12
3.4.3 對(duì)按鍵進(jìn)行編碼12
3.4.4 選擇鍵盤(pán)監(jiān)測(cè)方法13
3.5溫度顯示電路13
3.6溫度測(cè)試電路15
3.7 串口通訊電路17
第四章 軟件設(shè)計(jì)19
4.1 軟件設(shè)計(jì)概述19
4.2 主程序方案19
4.3中斷控制程序設(shè)計(jì)20
4.4溫度測(cè)試子程序設(shè)計(jì)20
4.5串口通信程序設(shè)計(jì)21
第五章 系統(tǒng)調(diào)試24
5.1硬件調(diào)試24
5.2軟件調(diào)試24
5.3系統(tǒng)聯(lián)調(diào)25
5.4現(xiàn)場(chǎng)調(diào)試25
第六章 結(jié)論與展望26
6.1 結(jié)論26
6.2展望26
參考文獻(xiàn)27
附錄1 程序清單28
致謝32
TA們正在看...
- 品牌地理學(xué).doc
- 淺談電影雙面情人.doc
- 音樂(lè)基礎(chǔ)理論小論文.doc
- 園林藝術(shù)課件.ppt
- db33-2711-2005無(wú)公害黃花梨第1部分苗木.doc
- db33-3182-2006無(wú)公害志棠白蓮第2部分種藕.doc
- db33-3333-2006無(wú)公害竹筍第3部分質(zhì)量安全要求.doc
- db33-3403-2006無(wú)公害香榧第3部分質(zhì)量安全要求.doc
- db33-3733-2006無(wú)公害青梅第3部分:質(zhì)量安全要求.doc
- db33-377-2005地理標(biāo)志保護(hù)產(chǎn)品安吉白茶.doc