【正文】
erformance, easy to control function expansion, low power consum ption, price cheap and so on, so the single chip microputer wide prosp ect of design is through the singlechip microputer control, to realize the canopy temperature vegetables for automatic control. System based on single chip microputer AT89C52, through the digital and anal og temperature in acquisition and detection, through the screen shows the current temperature. When the collected temperature higher than system set ting, motors will drive the rotation of the fan to reduce the temperature in greenhouses, and realize the automatic control the temperature of the shelte r. Train of thought to design the overall circuit principle diagram, carries on the software design. This design implements the overall control of the greenhouse temperatu re, there are advantages but also have shortings, has certain extensibilit y. 【 Key words】 Temperature control software design temperature data collection Cooling process Ⅲ 目 錄 摘要 ............................................................................................................................... Ⅰ Abstract .......................................................................................................................... Ⅱ 第 1 章 緒 論 ............................................................................................................... 1 課題研究背景和意義 ........................................................................................... 1 國(guó)內(nèi)外溫度控制系統(tǒng)的發(fā)展 狀況 .......................................................................... 1 國(guó)外溫度控制系統(tǒng)的發(fā)展?fàn)顩r .................................................................... 1 國(guó)內(nèi)溫度控制系統(tǒng)的發(fā)展?fàn)顩r .................................................................... 2 課題研究的主 要內(nèi)容 ........................................................................................... 3 第 2 章 系統(tǒng)理論基礎(chǔ)及構(gòu)建 ............................................................................................ 4 AT89C52 的工作原理 ............................................................................................ 4 CPU 的結(jié)構(gòu) ................................................................................................ 4 CPU 的 I/O 口結(jié)構(gòu) ..................................................................................... 4 程序和數(shù)據(jù)存儲(chǔ)器 ..................................................................................... 5 定時(shí)器 ....................................................................................................... 5 中斷系統(tǒng) ................................................................................................... 5 DS18B20 檢測(cè)電路 ................................................................................................ 6 DS18B20 簡(jiǎn)單介紹 ...................................................................................... 6 DS18B20 的性能特點(diǎn) ................................................................................... 6 DS18B20 的測(cè)溫原理 ................................................................................... 7 LCD1602 液晶顯示器 ............................................................................................ 8 LCD1602 簡(jiǎn)介 ............................................................................................. 8 LCD1602 的指令說明及時(shí)序 ........................................................................ 8 直流馬達(dá) ............................................................................................................. 9 馬達(dá)工作的原理 ......................................................................................... 9 馬達(dá)的基本構(gòu)造 ....................................................................................... 10 第 3 章 系統(tǒng)軟件設(shè)計(jì) .................................................................................................... 11 系統(tǒng)電路原理圖 ................................................................................................ 11 主程序設(shè)計(jì) ....................................................................................................... 11 溫度檢測(cè) ........................................................................................................... 13 溫度采集系統(tǒng)設(shè)計(jì) ................................................................................... 13 溫度數(shù)據(jù)處理設(shè)計(jì) ................................................................................... 15 馬達(dá)的控制 ....................................................................................................... 17 液晶顯示器 LCD1602 顯示設(shè)計(jì) .......................................................................... 18 第 4 章 總結(jié) .................................................................................................................. 22 參考文獻(xiàn) ........................................................................................................................ 23 致謝 ............................................................................................................................... 24 1 第 1章 緒 論 我國(guó)南方溫度嚴(yán)熱而漫長(zhǎng),只有大力推廣大棚蔬菜的種植來滿足人們?nèi)粘I顚?duì)蔬菜的需要。 因此,要對(duì)大棚溫度進(jìn)行智能控制,以適應(yīng)生產(chǎn)需要。近些年來,研究現(xiàn)代化溫室技術(shù)已經(jīng)成為我國(guó)農(nóng)業(yè)工程技術(shù)人員的一個(gè)重要課題。 國(guó)內(nèi)外溫度控制 系統(tǒng)的發(fā)展?fàn)?