


摘? 要: 土壤濕度是植物生長周期中最重要的環(huán)境因素之一,以其作為研究對象,開發(fā)出一款基于STM32的智能灌溉系統(tǒng)。系統(tǒng)以水位傳感器和土壤濕度傳感器作為數(shù)據(jù)采集的端,可將采集到的數(shù)據(jù)由ESP8266 Wi-Fi模塊發(fā)送到遠程終端的串口觸摸屏中顯示。并將決策信息反饋給由微型水泵、繼電器以及電磁閥的執(zhí)行機構(gòu)。本系統(tǒng)通過多次測試,調(diào)整系統(tǒng)閾值,系統(tǒng)不但可以實時監(jiān)控植物的周圍環(huán)境參數(shù),進行適時調(diào)節(jié);還擁有成本低廉、安裝方便、用戶操作簡便等特點。
關(guān)鍵詞: STM32; ESP8266;智能灌溉;遠程監(jiān)控
中圖分類號: TP273+.5; S274.2 ???文獻標識碼: A??? DOI:10.3969/j.issn.1003-6970.2020.07.038
本文著錄格式:成家駿. 基于STM32的智能灌溉系統(tǒng)[J]. 軟件,2020,41(07):189-191
STM32 Based Terminal Controlled Intelligent Irrigation System
CHENG Jia-jun
(Software College of Shanxi Agricultural University, Jinzhong, Sanxi 030800, China)
【Abstract】: Soil moisture is one of the most important environmental factors in the growth cycle of plants. The system uses the water level sensor and the soil moisture sensor as the data acquisition end, and can send the collected data from the ESP8266 wi-fi module to the serial touch screen of the remote terminal for display.The decision-making information is fed back to the actuators of miniature pumps, relays and solenoid valves.This system through many tests, adjust the system threshold value, the system can not only real-time monitoring plant environmental parameters, timely adjustment.The equipment also has the advantages of low cost, easy installation and easy operation.
【Key words】: STM32; ESP8266; Intelligent irrigation; Remote monitoring
0? 引言
物聯(lián)網(wǎng)技術(shù)正以空前的速度應(yīng)用于社會、經(jīng)濟和生活的諸多領(lǐng)域,使人類社會步入了一個全新的高智能化時代,物聯(lián)網(wǎng)+農(nóng)業(yè)也逐漸進入人們的視野,成為新時代綠色農(nóng)業(yè),高效農(nóng)業(yè)的代名詞[1]。近年來,我國的傳統(tǒng)種植業(yè)迎來了與物聯(lián)網(wǎng)結(jié)合發(fā)展的黃金時期,但由于長期以來我國種植業(yè)一直采取溝灌和漫灌等灌溉方法,致使?jié)B漏和蒸發(fā)嚴重,灌溉水有效利用效率低,成為我國農(nóng)業(yè)從相對傳統(tǒng)的灌溉方式發(fā)展到智能農(nóng)業(yè)澆水系統(tǒng),生產(chǎn)重心由粗獷分散的小農(nóng)發(fā)展轉(zhuǎn)移到農(nóng)業(yè)精量控制澆水及自動化控制系統(tǒng)的科學(xué)管理轉(zhuǎn)變的過程中亟待解決的問題。為此,筆者設(shè)計了一款智能灌溉系統(tǒng),它不但可以讓人們擺脫傳統(tǒng)的灌溉技術(shù),緩解我用水資
源緊缺的現(xiàn)狀,而且它的推廣對于節(jié)約水資源、水資源的二次利用、綠色農(nóng)業(yè)等方面具有重要意義[2]。……