【正文】
接觸,經過充分攪拌達到熱平衡后調節(jié)系統(tǒng),(標定0℃);利用氣壓計讀出當時當?shù)氐拇髿鈮簭?,并根?jù)大氣壓強和當?shù)刂亓铀俣扔嬎愠霎敃r的實際壓強;根據(jù)沸點與壓強的關系查出沸點溫度。把溫度傳感器放入沸水中,待顯示讀數(shù)穩(wěn)定后重新調節(jié),使顯示器顯示讀數(shù)等于當?shù)禺敃r沸點溫度后工作結束。該溫度計的量程為0℃~100℃,℃,實際使用一般在0℃~100℃。采用0℃~50℃和50℃~100℃的精密水銀溫度計作檢驗標準,對設計的溫度計進行測試,其結果表明能達到該精度要求。設置溫度上限為37度,溫度下限為10度。此時溫度時43度,超出上限溫度,黃燈亮,實現(xiàn)報警。圖53 仿真1。此時溫度為5度,低于下限溫度,綠燈亮,實現(xiàn)報警。圖54 仿真2。此時溫度為20度,在所設范圍內,兩燈都沒亮,說明溫度正常。圖55 仿真3本章對基于單片機的數(shù)字溫度控制系統(tǒng)的軟件程序進行了簡要介紹,介紹了主程序設計及DS18B20的初始化,并給出設計流程圖,更直觀的把軟件設計呈現(xiàn)出來作出了設計的仿真,設置上線限溫度,并作3種情況分析。驗證了設計的正確性。通過本章的介紹了解軟件設計流程,熟悉51單片機的編程。結論本文介紹了基于80C51單片機的數(shù)字溫度計控制系統(tǒng)的設計,對整個硬件電路和軟件程序設計做了分析,文中介紹了數(shù)字溫度計的現(xiàn)狀及發(fā)展,介紹了仿真軟件proteus及keil的基本知識,學習了proteus的仿真方法和步驟,介紹了數(shù)字溫度計的設計方案選擇及原理介紹,加深了51單片機的知識了解,介紹51單片機的結構、特點等。并學習了數(shù)字溫度傳感器DS18B20,設計軟件仿真,更直觀的反應設計的正確性。本文對其中的一些基本原理也做了簡要的概述。其實寫完了本篇論文,也僅僅是對數(shù)字溫度計控制系統(tǒng)做出了一個簡單的設計方案,數(shù)字溫度計科利用在很多領域,在一些人不能直接進入的場所,利用單片機控制的數(shù)字溫度計,可以設置并控制其中的溫度,數(shù)字溫度計還可以利用在溫室中,這樣就可以方便的控制溫室中的溫度,當溫度超過所要求的溫度時,可發(fā)生報警??傊當?shù)字溫度計利用在很多領域。本課題只是單片機控制數(shù)字溫度計系統(tǒng)得一種設計方法。致謝通過這一階段的努力,我的畢業(yè)論文《基于單片機的數(shù)字溫度計》終于完成了,這意味著大學生活即將結束。在大學階段,我在學習上和思想上都受益非淺,這除了自身的努力外,與各位老師、同學和朋友的關心、支持和鼓勵是分不開的。在我寫本論文的過程中,馬建為老師給我提供了許多資料,并對實踐中出現(xiàn)的問題給予耐心的解答,完稿之后在百忙之中仔細閱讀,給出修改意見,在此對他表示感謝。參考文獻1 (第二版) .北京:高等教育出版社,2006.2 (第五版) .北京:高等教育出版社,2006.3 李全利,仲偉峰,:清華大學社,2006.4 何立民著.單片機高級教程.北京:北京航空航天大學出版社,2000.5 楊路明著.C語言程序設計教程(第2版) .北京:北京郵電大學出版社,2005.6 馬忠梅,籍順心,(第4版) .北京:北京航天航空大學出版社,2007.7 白駒珩,雷曉平著.單片計算機及其應用.成都:電子科技大學出版社,1997.8 譚浩強著.程序設計與開發(fā)技術.北京:清華大學出版社,1991.9 :人民郵電出版,2007.10 于永,戴佳,:電子工業(yè)出版社,2007.11 梁翎著.:上海科普出版社,1998.12 Li Weidi,Guo Qiang. Application technology of LCD Publishing House of Electronics Industry, 2000.13 Su Kai,Liu Qingguo, Chen Guoping. Principle and design of MCS51 Singlechip Industry Press, 2003.14 Lou Jian’an Liang Xiaolin Feng Changjiang etc. A Missile Storage Battery Charging Instrument based on 80C196KC Single Chip 5th International Symposium on Test and Measurement. Shenzhen, Guangdong . 15. omas Architecture and Logic Design[J].McGrawHill Inc. 15 G Jiang M Zhang, X Xie, S on temperature control of DS18B2[J].Control Engineering of China, 2003附錄A 外文文獻The SCM and 181。Vision2一、Principle of MCUSinglechip is an integrated on a single chip a plete puter system. Even though most of his features in a small chip, but it has a need to plete the majority of puter ponents: CPU, memory, internal and external bus system, most will have the Core. At the same time, such as integrated munication interfaces, timers, realtime clock and other peripheral equipment. And now the most powerful singlechip microputer system can even voice, image, networking, input and output plex system integration on a single chip. Also known as singlechip MCU (Microcontroller), because it was first used in the field of industrial control. Only by the singlechip CPU chip developed from the dedicated processor. The design concept is the first by a large number of peripherals and CPU in a single chip, the puter system so that smaller, more easily integrated into the plex and demanding on the volume control devices. INTEL the Z80 is one of the first design in accordance with the idea of the processor, From then on, the MCU and the development of a dedicated processor parted ways. Early singlechip 8bit or all of the four. One of the most successful is INTEL39。s 8031, because the performance of a simple and reliable access to a lot of good praise. Since then in 8031 to develop a singlechip microputer system MCS51 series. Based on singlechip microputer system of the system is still widely used until now. As the field of industrial control requirements increase in the beginning of a 16bit singlechip, but not ideal because the price has not been very widely used. After the 9039。s with the big consumer electronics product development, singlechip technology is a huge improvement. INTEL i960 Series with subsequent ARM in particular, a broad range of applications, quickly replaced by 32bit singlechip 16bit singlechip highend status, and enter the mainstream market. Traditional 8bit singlechip performance has been the rapid increase in processing power pared to the 8039。s to raise a few hundred times. At present, the highend 32bit singlechip frequency over 300MHz, the performance of the mid9039。s close on the heels of a special processor, while the ordinary price of the model dropped to one . dollars, the most highend models, only 10 . dollars. Contemporary singlechip microputer system is no longer only the baremetal environment in the development and use of a large number of dedicated embedded operating system is widely used in the full range of singlechip microputer. In PDAs and cell phones as the core processing of highend singlechip or even a dedicated direct access to Windows and Linux operating systems. More than a dedicated singlechip processor suitable for embedded systems, so it was up to the application. In fact the number of singlechip is the world39。s largest puter. Modern human life used in almost every piece of electronic and mechanical products will have a singlechip integration. Phone, telephone, calculator, home appliances, electronic toys, handheld puters and puter accessories such as a mouse in the Department are equipped with 12 single chip. And personal puters also have a large number of singlechip microputer in the workplace. Vehicles equipped with more than 40 Department of the general singlechip, plex industrial control systems and even singlechip may have hundreds of work at the same time! SCM is not only far exceeds the number of PC and other integrated puting, even more than the number of human beings.Hardwave introductionThe 8051 family of micro controllers is based on an architecture which is highly optimized for embedded control systems. It is used in a wide variety of applications from military equipment to automobiles to the keyboard on your PC. Second only to the Motorola 68HC11 in eight bit processors sales, the 8051 family of microcontrollers is available in a wide array of variations from man