畢業(yè)論文 多路數(shù)字式溫度測量系統(tǒng).doc
約39頁DOC格式手機(jī)打開展開
畢業(yè)論文 多路數(shù)字式溫度測量系統(tǒng),論文標(biāo)準(zhǔn)word格式排版 共37頁 15848字摘 要本文結(jié)合實(shí)際使用需求,采用ds18b20數(shù)字溫度傳感器及單片機(jī)設(shè)計(jì)硬件連接電路,并給出了軟件流程圖及程序。系統(tǒng)由多個(gè)外接的溫度傳感器及顯示器、鍵盤電路、電子看門狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過通信接口交微處理器處理,最后...
內(nèi)容介紹
此文檔由會(huì)員 莎士比亞 發(fā)布
論文標(biāo)準(zhǔn)WORD格式排版 共37頁 15848字
摘 要
本文結(jié)合實(shí)際使用需求,采用DS18B20數(shù)字溫度傳感器及單片機(jī)設(shè)計(jì)硬件連接電路,并給出了軟件流程圖及程序。系統(tǒng)由多個(gè)外接的溫度傳感器及顯示器、鍵盤電路、電子看門狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過通信接口交微處理器處理,最后將溫度值顯示并存儲(chǔ)起來。通過鍵盤可以控制數(shù)據(jù)的回放,且可以通過接口與上位機(jī)進(jìn)行通信。系統(tǒng)具有超溫報(bào)警功能。
由于采用了智能溫度傳感器DS18B20,它的轉(zhuǎn)換速率極快,進(jìn)行讀、寫操作非常簡便。它具有數(shù)字化輸出,可測量遠(yuǎn)距離點(diǎn)溫度。系統(tǒng)具有微型化,微功耗,測量精度高,功能強(qiáng)大等特點(diǎn),同時(shí)可測量多路溫度參數(shù),報(bào)警的溫度值能方便地設(shè)置。由于有先進(jìn)的看門狗電路,加之DS18B20內(nèi)部的差錯(cuò)檢驗(yàn),所以它的抗干擾能力強(qiáng),性能可靠,結(jié)構(gòu)簡單。
系統(tǒng)由上位機(jī)和下位機(jī)兩大部分組成。下位機(jī)實(shí)現(xiàn)溫度的檢測并提供標(biāo)準(zhǔn)的通信接口,上位機(jī)部分使用了通用PC。該系統(tǒng)可應(yīng)用于倉庫測溫、樓宇空調(diào)控制和生產(chǎn)過程監(jiān)控等領(lǐng)域。
關(guān)鍵字:溫度測量;傳感器;單片機(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 國內(nèi)外研究現(xiàn)狀1
1.2 設(shè)計(jì)的目的及意義1
1.3 主要研究內(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看門狗電路10
3.3聲光報(bào)警電路11
3.4鍵盤電路12
3.4.1鍵盤電路原理12
3.4.2 開關(guān)狀態(tài)的可靠輸入12
3.4.3 對按鍵進(jìn)行編碼12
3.4.4 選擇鍵盤監(jiān)測方法13
3.5溫度顯示電路13
3.6溫度測試電路15
3.7 串口通訊電路17
第四章 軟件設(shè)計(jì)19
4.1 軟件設(shè)計(jì)概述19
4.2 主程序方案19
4.3中斷控制程序設(shè)計(jì)20
4.4溫度測試子程序設(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)場調(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è)外接的溫度傳感器及顯示器、鍵盤電路、電子看門狗電路、報(bào)警電路、單片機(jī)、通信接口及上位機(jī)組成。傳感器將溫度轉(zhuǎn)為電信號(hào)后,經(jīng)過通信接口交微處理器處理,最后將溫度值顯示并存儲(chǔ)起來。通過鍵盤可以控制數(shù)據(jù)的回放,且可以通過接口與上位機(jī)進(jìn)行通信。系統(tǒng)具有超溫報(bào)警功能。
由于采用了智能溫度傳感器DS18B20,它的轉(zhuǎn)換速率極快,進(jìn)行讀、寫操作非常簡便。它具有數(shù)字化輸出,可測量遠(yuǎn)距離點(diǎn)溫度。系統(tǒng)具有微型化,微功耗,測量精度高,功能強(qiáng)大等特點(diǎn),同時(shí)可測量多路溫度參數(shù),報(bào)警的溫度值能方便地設(shè)置。由于有先進(jìn)的看門狗電路,加之DS18B20內(nèi)部的差錯(cuò)檢驗(yàn),所以它的抗干擾能力強(qiáng),性能可靠,結(jié)構(gòu)簡單。
系統(tǒng)由上位機(jī)和下位機(jī)兩大部分組成。下位機(jī)實(shí)現(xiàn)溫度的檢測并提供標(biāo)準(zhǔn)的通信接口,上位機(jī)部分使用了通用PC。該系統(tǒng)可應(yīng)用于倉庫測溫、樓宇空調(diào)控制和生產(chǎn)過程監(jiān)控等領(lǐng)域。
關(guān)鍵字:溫度測量;傳感器;單片機(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 國內(nèi)外研究現(xiàn)狀1
1.2 設(shè)計(jì)的目的及意義1
1.3 主要研究內(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看門狗電路10
3.3聲光報(bào)警電路11
3.4鍵盤電路12
3.4.1鍵盤電路原理12
3.4.2 開關(guān)狀態(tài)的可靠輸入12
3.4.3 對按鍵進(jìn)行編碼12
3.4.4 選擇鍵盤監(jiān)測方法13
3.5溫度顯示電路13
3.6溫度測試電路15
3.7 串口通訊電路17
第四章 軟件設(shè)計(jì)19
4.1 軟件設(shè)計(jì)概述19
4.2 主程序方案19
4.3中斷控制程序設(shè)計(jì)20
4.4溫度測試子程序設(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)場調(diào)試25
第六章 結(jié)論與展望26
6.1 結(jié)論26
6.2展望26
參考文獻(xiàn)27
附錄1 程序清單28
致謝32
TA們正在看...
- 綜合性學(xué)習(xí):遨游漢字王國公開課導(dǎo)學(xué)案(五年級下冊).doc
- 03祖父的園子知識(shí)梳理試題練習(xí)題(部編版五年級下冊).doc
- 04草船借箭同步試題練習(xí)題(五年級下冊).doc
- 04草船借箭教學(xué)試題練習(xí)題(部編版).doc
- 04草船借箭知識(shí)梳理試題練習(xí)題(部編版五年級下冊).doc
- 05景陽岡同步試題練習(xí)題(五年級下冊).doc
- 05景陽岡教學(xué)試題練習(xí)題(部編版).doc
- 05景陽岡知識(shí)梳理試題練習(xí)題(部編版五年級下冊).doc
- 06猴王出世同步試題練習(xí)題(五年級下冊).doc
- 06猴王出世教學(xué)試題練習(xí)題(部編版).doc