摘要: | 隨著物聯網技術的興起,智慧農業已成為當前重要的農業發 展技術。從感測數據的分析,無線網路的資料傳輸,結合雲端服 務的幫助,打造一套完整的智慧農業自動化灌溉系統,讓使用者 可以隨時掌握環境狀況,並減少人力及相關的成本。 本論文提出了自動化灌溉系統,結合了以無伺服器運算(AWS Lambda)及 AWS IoT Core 為開發核心的雲架構,利用 MQTT 通訊 協定方式傳輸感測到的環境資料,同時將資料傳輸到雲端系統, 並連接外部的微服務,當雲計算完畢後,將結果傳送給其他微服 務,如:Line、Gmail、MongoDB 等等,讓使用者可以即時掌握環 境狀況,並在系統中導入了模糊理論(Fuzzy Logic),讓系統可以根 據環境狀況自動調整灌溉時間。此外,使用者可以透過 Line 應用 程式發佈命令,訊息傳送到雲端平台計算完畢後,同樣藉由 MQTT 的方式發送消息到設定好的主題並進行灌溉,使用者可以 從 Line、Gmail 等應用程式得知系統目前是否正在執行灌溉。 ;With the rise of the Internet of Things technology, smart agriculture has become an important agricultural development technology. From the analysis of sensor data, wireless network data transmission, combined with the help of cloud services, we create a complete intelligent agricultural automatic irrigation system, allowing users to keep track of environmental conditions, and reduce manpower and related costs. This thesis proposed an automated irrigation system, which combines a cloud architecture with serverless computing (AWS Lambda) and AWS IoT Core as the development core, and uses the MQTT communication protocol to transmit the sensed environmental data and at the same time transmit the data to the cloud system, which connects to external microservices. After the cloud computing is completed, the results will be sent to other microservices, such as: Line, Gmail, MongoDB, etc., so that users can instantly grasp the environmental conditions, we also introduce fuzzy theory into the system (Fuzzy Logic), so that the system can automatically adjust the irrigation time according to environmental conditions. In addition, users can issue commands through the Line application. After the message is sent to the cloud platform for calculation, the message is also sent to the set theme and irrigated by MQTT. The user can learn from the Line, Gmail and other applications where the system is currently performing irrigation. |