【正文】
典等國技術(shù)領(lǐng)先,并且都生產(chǎn)出了一批商品化的性能優(yōu)異的溫度控制器及儀器儀表。其中,恒溫環(huán)境的自動化控制技術(shù)在工業(yè)生產(chǎn)、商業(yè)運營中是一個重要研究課題。關(guān)鍵字:水溫自動控制;A/D 轉(zhuǎn)換;DS18B20 ;LM1024畢業(yè)論文(設(shè)計)IIThe software designer ofConstant temperature water tank control system Abstract which based on SCMAbstractIn recent years, with the peration of puters in the social field, the application of the SCM is constantly deepening the same time promote the traditional control testing day by day benefits update. In realtime detection and automatic control of microputer application system, the microcontroller is often a core ponent to use only simple control by the SCM has been able to meet the market requirements, which requires a bination of hardware and software design more intelligent and humane.This design used the new type of singlechip STC12C5A60S2, the high sensitive of DS18B20 and liquid level sensor LM1042 to carry out the realtime measurement of the water tank’s temperature and liquid carried out the analog to digital conversion by the integrated 10 bit A / D of microcontroller. In order to achieve the functions of realtime monitoring, realtime control, realtime display and limit alarm. The system’s hardware posed by the host, power supplying, keypad ,displaying, temperature control implementation and serial munications parts. The software consisted of the main program, the temperature detection and conversion, temperature control system achieved the displaying and changing of the actual temperature and the setting temperature in the digital tube through the key switch. The experimental results showed that the system detected a high precision, fast response, and had a certain application value. Keywords: water temperature automatic controlA / D conversionthe DS18B20LM1024畢業(yè)論文(設(shè)計)III目錄第一章引言 .......................................................................................................................2第二章系統(tǒng)總體設(shè)計 .......................................................................................................2 設(shè)計目的和任務(wù) .....................................................................................................2 系統(tǒng)設(shè)計總體方案 ..................................................................................................2 軟件總體設(shè)計 ..........................................................................................................2第三章硬件系統(tǒng)介紹 .......................................................................................................2 單片機介紹 ..............................................................................................................2 STC12C5A60S2 主要性能和功能特性 ...........................................................2 基于 STC12C5A60S2 的最小應(yīng)用系統(tǒng) ..........................................................2 鍵盤設(shè)計 .................................................................................................................2 數(shù)碼管及指示燈顯示 .............................................................................................2 溫度檢測設(shè)計 .........................................................................................................2 液位檢測設(shè)計 .........................................................................................................2 報警電路設(shè)計 ..........................................................................................................2 繼電器控制設(shè)計 .....................................................................................................2第四章系統(tǒng)軟件設(shè)計 .......................................................................................................2 鍵盤程序設(shè)計 ..........................................................................................................2 數(shù)碼管及指示燈顯示程序設(shè)計 .............................................................................2 溫度檢測程序設(shè)計 ..................................................................................................2 DS18B20 指令 ..................................................................................................2 DS18B20 程序設(shè)計 ..........................................................................................2 液位檢測程序設(shè)計 .................................................................................................2 LM1042 檢測設(shè)計 ............................................................................................2 A/D 轉(zhuǎn)換設(shè)計 ...................................................................................................2 工作時序設(shè)計 ..................................................................................................2 流程圖及程序 ...................................................................................................2 報警程序設(shè)計 .........................................................................................................2第五章結(jié)論 .......................................................................................................................2畢業(yè)論文(設(shè)計)IV 系統(tǒng)設(shè)計總結(jié) .........................................................................................................2 系統(tǒng)改進方向 .........................................................................................................2致謝 ...................................................................................................................................2附錄 1 電路圖 ..................................................................................................................2附錄 2 程序 ......................................................................................................................2參考文獻 ...........................................................................................................................2畢業(yè)論文(設(shè)計)1第一章引言隨著計算機控制技術(shù)的發(fā)展,恒溫控制己在工業(yè)生產(chǎn)領(lǐng)域中得到了廣泛應(yīng)用,并取得了巨大的經(jīng)濟和社會效益。系