【正文】
糧庫(kù)溫度自動(dòng)檢測(cè)系統(tǒng)的設(shè)計(jì) 摘 要 本設(shè)計(jì)以 AT89S51 單片機(jī)為核心的溫度控制系統(tǒng)的工作原理和設(shè)計(jì)方法。溫度信號(hào)由溫度芯片 DS18B20 采集,并以數(shù)字信號(hào)的方式傳送給單片機(jī)。文中介紹了該控制系統(tǒng)的硬件部分,包括:溫度檢測(cè)電路、溫度控制電路、 PC 機(jī) 與 單片機(jī)串口通訊 電路和一些接口電路 。單片機(jī)通過(guò)對(duì)信號(hào)進(jìn)行相應(yīng)處理,從而實(shí)現(xiàn)溫度控制的目的。文中還著重介紹了軟件設(shè)計(jì)部分,在這里采用模塊化結(jié)構(gòu),主要模塊有:數(shù)碼管顯示程序、鍵盤(pán)掃描及按鍵處理程序、溫度信號(hào)處理程序、繼電器控制程序、超溫報(bào)警程序 。 關(guān)鍵詞 : AT89S51 單片機(jī) DS18B20 溫度芯片 溫度控制 DESIGN OF GRAIN DEPOT TEMPERATURE AUTOMATIC TEST SYSTEM Abstract This design take at89S51 monolithic integrated circuit as core temperature control system39。s principle of work and design method. The temperature signal by the temperature chip DS18B20 gathering, and transmits by digital signal39。s way for the monolithic integrated circuit. In the article introduced this control system39。s hardware part, including: Temperature examination electric circuit, temperaturecontrol circuit, PC machine and monolithic integrated circuit serial port munication channel and some interface circuit. The monolithic integrated circuit through carries on corresponding processing to the signal, thus realizes the temperature control goal. In the article also emphatically introduced the software design part, uses the modular structure in here, the main module includes: Nixietube display sequence, keyboard scanning and pressed key disposal procedure, temperature signal processing procedure, blackwhite control procedure, excess temperature warning procedure. Keywords : AT89S51 Monolithic Integrated Circuit ; DS18B20 Temperature Chip; Temperature Control; 目 錄 第一張 緒論 ..........................................................................................................................5 背景 .................................................................................................................................5 國(guó)內(nèi)外研究狀況和相關(guān)領(lǐng)域研究成果 .........................................................................5 糧倉(cāng)溫濕度檢測(cè)發(fā)展?fàn)顩r .......................................................................................5 單片機(jī)歷史 ...............................................................................................................6 研究?jī)?nèi)容和研究方法 .......................................................................................................7 第二章 系統(tǒng)的總體設(shè)計(jì) ...................................................................................................8 系統(tǒng)的組成 .....................................................................................................................8 系統(tǒng)工作流程 .................................................................................................................8 系統(tǒng)的功能介紹 .............................................................................................................9 第三章 系統(tǒng)的硬件設(shè)計(jì) .......................................................................................................9 AT89C51 單片機(jī)功能介紹 ...............................................................................................9 芯片簡(jiǎn)介 ...................................................................................................................9 AT89C51各引腳在設(shè)計(jì)中的定義 ...........................................................................9 .................................................................................................. 11 ..................................................................................................................12 模數(shù)轉(zhuǎn)換器 ...................................................................................................................12 模數(shù)轉(zhuǎn)換器的選擇 .................................................................................................12 AD轉(zhuǎn)換器 ICL7109的特點(diǎn) .................................................................................13 I CL7109芯片引腳說(shuō)明及外部連接 ....................................................................13 ICL7109與 89C51單片機(jī)的硬件接口設(shè)計(jì) .........................................................16 溫度采集系統(tǒng) ...............................................................................................................18 集成溫度傳感器的選擇 .........................................................................................18 AD590的性能特點(diǎn) .................................................................................................18 溫度采集電路 .........................................................................................................19 濕度檢測(cè) ....................................................