【正文】
alarm temperature, it is very convenient to use, with high precision, high sensitivity, small sizesuitable for low power consumption advantages in our daily life and work, the temperature measurement in the agricultural production, can also be used as the temperature processing module is embedded in other systems, and other auxiliary expansion. Key words: temperature detection。 structure and connection of the detection device hardware。 對(duì) 各部分的電路也一一進(jìn)行了介紹 ,該系統(tǒng)可以方便的實(shí)現(xiàn)溫度采集和顯示,并可根據(jù)需要任意設(shè)定上下限報(bào)警溫度,它使用起來(lái)相當(dāng)方便,具有精度高、靈敏度高、體積小、功耗低等優(yōu)點(diǎn),適合于我們?nèi)粘I詈凸?、農(nóng)業(yè)生產(chǎn)中的溫度測(cè)量,也可以當(dāng)作溫度處理模塊嵌入其它系統(tǒng)中,作為其他主系統(tǒng)的輔助擴(kuò)展。其次利用 AT89C51 單片機(jī)對(duì)多個(gè)檢測(cè)點(diǎn)進(jìn)行巡回檢測(cè),選用精度高,工作穩(wěn)定的數(shù)字傳感器 DS18B20 進(jìn)行溫度采集 。 本次畢業(yè)設(shè)計(jì)內(nèi)容就是配合系統(tǒng)檢測(cè)精度要求,選用相關(guān)控制微處理器;檢測(cè)裝置硬件的結(jié)構(gòu)及連接;檢測(cè)程序的編制;完成成品調(diào)試和演示。溫度檢測(cè)系統(tǒng)在人們的生產(chǎn)生 活中的應(yīng)用十分廣泛。 本科畢業(yè)設(shè)計(jì)論文 題目: 基于單片機(jī)多路溫度巡回檢測(cè)儀設(shè)計(jì) 完成時(shí)間 : 2021 年 6 月 10 日 學(xué)生姓名 xxxx 學(xué) 號(hào) xxxx 教學(xué)院系 電氣信息學(xué)院 專(zhuān)業(yè)年級(jí) 自動(dòng)化 2021 級(jí) 指導(dǎo)教師 xxxxx 單 位 xxxxxxx II Southwest Petroleum University Graduation Thesis Designed based on singlechip multichannel Temperature Data Loggers Grade: 2021 Name: Liu Weijian Speciality: Automation Instructor: Zhang Peizhi School of Electronics and Information Engineering June 10, 2021 III 摘要 隨著計(jì)算機(jī)技術(shù)和傳感器的發(fā)展,在生產(chǎn)和日常活動(dòng)中,人們對(duì)溫度模擬物理量的測(cè)量要求越來(lái)越高。工業(yè)、農(nóng)業(yè)自動(dòng)化水平也迅速提高,單片機(jī)的應(yīng)用也越來(lái)越廣泛,作用也越來(lái)越來(lái)顯著。本課題溫度檢測(cè)實(shí)際應(yīng)用為出發(fā)點(diǎn),結(jié)合單片機(jī)微處理器技術(shù),提出了基于單片機(jī)的多路溫度巡回檢測(cè)儀設(shè)計(jì)。首先分析和制定了檢測(cè)系統(tǒng)的整體設(shè)計(jì)思想和方案,確保了該檢測(cè)系統(tǒng)具備真正的自動(dòng)化檢測(cè)能力且結(jié)構(gòu)簡(jiǎn)單。 并用 MAX7219 驅(qū)動(dòng) LED顯示所測(cè)溫度及上下限。 關(guān)鍵詞 :溫度檢測(cè) ; AT89C51; MAX7219 ; DS18B20 IV Abstract With the development of puter technology and sensors, in production and daily activities, people increasingly high temperature analog physical quantity measurement requirements. Industry, agriculture level of automation, rapid increase in microcontroller applications are increasingly being used, the role bee more and more significant. Temperature detection system is widely used in the production life of the people. Practical application of the temperature detection of this topic as a starting point, bined with the singlechip microprocessor technology, the design of microcontrollerbased multichannel Temperature Data Loggers. The graduation project content with the system measurement accuracy requirements, selection of the relevant control microprocessor。 the preparation of the testing procedures。 AT89C51。 DS18B20 V 目錄 1 緒論 ......................................................................................................... 1 設(shè)計(jì)概述 ...................................................................................................................................................... 1 溫度檢測(cè)系統(tǒng)設(shè)計(jì)意義 ............................................................................................................................. 1 2 多路溫度巡回檢測(cè)儀設(shè)計(jì)內(nèi)容 .................................................................... 2 任務(wù)要求 ...................................................................................................................................................... 2 系統(tǒng)設(shè)計(jì)應(yīng)用要求 ..................................................................................................................................... 2 設(shè)計(jì)流程 ...................................................................................................................................................... 2 3 設(shè)計(jì)方案 ................................................................................................... 3 方案對(duì)比 ....................................................................................................................................................... 3 溫度傳感器選擇方案 .......................................................................................................................... 3 單片機(jī)選擇方案 ................................................................................................................................. 3 顯示電路的選擇方案 ........................................................................................................................ 3 總體方案 ...................................................................................................................................................... 4 4系統(tǒng)設(shè)計(jì) ................................................................................................... 4 硬件設(shè)計(jì) ...................................................................................................................................................... 4 溫度傳感器設(shè)計(jì) ................................................................................................................................. 4 ( 1) DS18B20 介紹 ....................................................................................................................................... 4 單片機(jī)最小系統(tǒng) ................................................................................................................................. 8 顯示電路設(shè)計(jì) ....................................................................................................................................10 按鍵電路 ............................................................................................................................................13 報(bào)警電路 ..............................................................................................................................................14 軟件設(shè)計(jì) ....................................................................................................................................................15 主程序 ..................................................................................................................................................15 顯示子程序 .......................................................................................................................17 按鍵 程序 ...............................................