【正文】
of agricultural production and the continuous development of global shortage of water resources, countries in the world are actively exploring effective ways and measures for water conservation. Intelligent irrigation control system in order to solve the problem of water resources,improve the efficiency of irrigation and developed. This paper studies theintelligent irrigation control system, temperature and humidity in the soil was monitored in real time, refer to the actual temperature value setting and humidity limit appropriate value, according to the set humidity value for the corresponding irrigation.The intelligent irrigation control system based on STC89C52 single chip microputer as the core, mainly by the temperature and humidity sensor DHT11 module, key input module, display module, pump module。該系統(tǒng)的功能是:根據(jù)土壤濕度傳感器檢測到的土壤濕度,若檢測到的土壤濕度值低于系統(tǒng)所設定的最低濕度值,系統(tǒng)則自動啟動系統(tǒng),進行灌溉。本文研究的單片機智能灌溉控制系統(tǒng),是對土壤的溫濕度進行實時監(jiān)控,參考實際溫度值設定適宜的濕度下限值,并按照設定的濕度值進行相應的灌溉。I基于單片機的模擬智能灌溉控制系統(tǒng)摘 要隨著農(nóng)業(yè)生產(chǎn)水平的不斷發(fā)展以及全球水資源的日趨緊張,世界各國都在積極探索行之有效的節(jié)水途徑和措施。智能灌溉控制系統(tǒng)就是為了解決水資源不足、提高灌溉效率而發(fā)展起來的。 該智能灌溉控制系統(tǒng)以 STC89C52 單片機為核心,主要由溫濕度傳感器DHT11 模塊、按鍵輸入模塊、顯示模塊、水泵模塊等組成;軟件選用 C 語言編程。通過對硬件實物的測試,系統(tǒng)能夠比較成功的實現(xiàn)目標功能。 softwareused C language programming. The function of this system is: according to thesoil moisture, soil moisture sensor to detect soil humidity, if the detected valueis lower than the lowest humidity system setting, automatic starting system,irrigation. By physical testing, system can realize the function of relatively successful.【Key words】 Singlechip Microputer;Sensor ;LED Display;Water Pump; LrrigationIII目錄1 緒論 .............................................................1 課題研究背景 .................................................1 課題研究的目的和意義 .........................................1 國內(nèi)外現(xiàn)狀 ..................................................2 國內(nèi)研究現(xiàn)狀 ...........................................2 國外研究現(xiàn)狀 ...........................................2 本文主要工作 ................................................32 系統(tǒng)總體設計 .....................................................4 系統(tǒng)功能要求 .................................................4 系統(tǒng)總體設計方案 .............................................43 系統(tǒng)硬件設計 .....................................................5 硬件電路總原理圖 ............................................5 STC89C51 單片機的硬件結(jié)構(gòu) ...................................5 單片機的結(jié)構(gòu)及信號引腳 .................................6 電源供電模塊 ................................................7 單片機控制模塊 ..............................................8 單片機的最小系統(tǒng) .......................................8 單片機控制的電路設計 ..................................8 濕度采集模塊 .................................................9 溫濕度傳感器 DHT11 的原理 ...............................9 液晶顯示模塊 ...............................................10 LCD1602 液晶模塊簡介 .................................10 LCD1602 的引腳及電路設計 .............................11 按鍵輸入模塊 ...............................................12 水泵增濕模塊 ...............................................124 系統(tǒng)軟件設計 ....................................................13IV 程序設計 ....................................................13 主程序流程及相關說明 ..................................13 主程序代碼 ..................................................145 測試結(jié)果與分析 ..................................................17 測試環(huán)境 ...................................................17 測試結(jié)果 ...................................................176 調(diào)試與使用說明 .................................................207 結(jié)論 ..........................................