Đồ án IoT giám sát và điều khiển tự động trong nông nghiệp HCMUTE

Tổng hợp đồ án tốt nghiệp HCMUTE về hệ thống giám sát và điều khiển tự động trong nông nghiệp ứng dụng công nghệ IoT giúp tối ưu hóa quy trình canh tác.

Trường đại học

Trường Đại học Sư phạm Kỹ thuật Thành phố Hồ Chí Minh

Chuyên ngành

Công nghệ Kỹ thuật Điện tử - Truyền thông

Tác giả

Ẩn danh

Người đăng

Ẩn danh

Thể loại

Đồ án tốt nghiệp

2022

89
0
0

Phí lưu trữ

30 Point

Tóm tắt

I. Tổng quan về hệ thống IoT giám sát nông nghiệp tự động

Hệ thống IoT giám sát nông nghiệp tự động là giải pháp công nghệ tiên tiến ứng dụng mạng lưới cảm biến không dây để theo dõi và điều khiển môi trường trồng trọt. Hệ thống sử dụng các cảm biến đo độ ẩm đất, nhiệt độ không khí, ánh sáng và nồng độ CO2 để thu thập dữ liệu theo thời gian thực. Dữ liệu được truyền qua giao thức Wi-Fi hoặc Zigbee tới bộ xử lý trung tâm. Hệ thống tích hợp các thiết bị điều khiển tự động như bơm tưới, quạt thông gió và hệ thống chiếu sáng. Mục tiêu chính là tối ưu hóa điều kiện sinh trưởng cho cây trồng, giảm thiểu sự can thiệp của con người. Công nghệ IoT giúp nâng cao hiệu quả sản xuất nông nghiệp, giảm chi phí nhân công và tiết kiệm tài nguyên nước. Hệ thống phù hợp cho canh tác nhà kính, trang trại quy mô vừa và nhỏ.

1.1. Tầm quan trọng của giám sát nông nghiệp hiện đại

Nông nghiệp hiện đại đối mặt thách thức về biến đổi khí hậu và cạn kiệt tài nguyên. Hệ thống IoT cung cấp giải pháp giám sát liên tục 24/7, phát hiện sớm các dấu hiệu bất thường như thiếu nước, sâu bệnh hoặc nhiệt độ quá cao. Dữ liệu chính xác giúp nông dân đưa ra quyết định kịp thời, ngăn ngừa thiệt hại mùa màng. Theo nghiên cứu của FAO, ứng dụng IoT có thể tăng năng suất 20-30% trong khi giảm 30% lượng nước tiêu thụ. Hệ thống cũng hỗ trợ truy xuất nguồn gốc sản phẩm, đáp ứng nhu cầu thị trường về nông sản an toàn.

1.2. Các công nghệ nền tảng trong hệ thống

Hệ thống sử dụng công nghệ cảm biến không dây kết hợp với vi điều khiển ESP32 hoặc Raspberry Pi. Giao thức truyền thông chính là Wi-Fi (IEEE 802.11n) do băng tần 2.4GHz phổ biến và chi phí thấp. Cảm biến BME280 đo nhiệt độ, độ ẩm và áp suất khí quyển, trong khi cảm biến capacitive đo độ ẩm đất. Hệ thống điều khiển sử dụng thuật toán PID để duy trì điều kiện tối ưu. Nền tảng điện toán đám mây (Firebase hoặc ThingSpeak) lưu trữ dữ liệu và cung cấp giao diện người dùng.

II. Những thách thức trong nông nghiệp truyền thống

Nông nghiệp truyền thống phụ thuộc nhiều vào kinh nghiệm chủ quan của nông dân, dẫn đến hiệu quả không đồng đều. Việc giám sát thủ công tốn nhiều thời gian và không đảm bảo độ chính xác do sai số chủ quan. Hệ thống tưới tiêu thủ công gây lãng phí nước, đặc biệt trong điều kiện hạn hán. Thiếu hệ thống cảnh báo sớm khiến sâu bệnh và dịch bệnh lan rộng nhanh chóng. Chi phí nhân công cao trong khi năng suất không ổn định do điều kiện môi trường biến đổi. Khó khăn trong việc tối ưu hóa phân bón do thiếu dữ liệu theo thời gian thực. Hệ thống IoT giải quyết những hạn chế này bằng công nghệ tự động hóa tiên tiến.

2.1. Ảnh hưởng của biến đổi khí hậu

Biến đổi khí hậu gây ra các hiện tượng thời tiết cực đoan như hạn hán, lũ lụt và nhiệt độ bất thường. Nông nghiệp truyền thống không thể thích ứng kịp thời với những thay đổi nhanh chóng này. Hệ thống IoT cung cấp dữ liệu thời gian thực để điều chỉnh điều kiện canh tác phù hợp. Ví dụ, khi nhiệt độ vượt ngưỡng 35°C, hệ thống tự động kích hoạt quạt làm mát. Độ ẩm đất được theo dõi liên tục để tránh ngập úng trong mùa mưa. Những biện pháp này giúp giảm thiểu thiệt hại do thời tiết gây ra.

2.2. Lãng phí tài nguyên trong canh tác

Nông nghiệp truyền thống thường sử dụng phương pháp tưới tiêu theo lịch trình cố định, dẫn đến lãng phí nước khi lượng mưa đủ. Hệ thống IoT đo độ ẩm đất chính xác, chỉ tưới khi cần thiết, tiết kiệm tới 40% lượng nước. Phân bón cũng được điều chỉnh theo dữ liệu dinh dưỡng của đất, tránh tình trạng thừa hoặc thiếu. Năng lượng tiêu thụ bởi máy móc nông nghiệp cũng giảm nhờ hệ thống điều khiển thông minh. Những biện pháp này góp phần phát triển nông nghiệp bền vững.

III. Giải pháp hệ thống IoT giám sát nông nghiệp

Hệ thống IoT giám sát nông nghiệp bao gồm bốn thành phần chính: lớp cảm biến, lớp truyền thông, lớp xử lý và lớp điều khiển. Lớp cảm biến thu thập dữ liệu môi trường thông qua cảm biến đa dạng. Lớp truyền thông sử dụng giao thức Wi-Fi hoặc Zigbee để truyền dữ liệu tới máy chủ. Lớp xử lý (vi điều khiển ESP32) thực hiện phân tích dữ liệu và đưa ra quyết định điều khiển. Lớp điều khiển gồm bơm nước, quạt thông gió và hệ thống chiếu sáng. Hệ thống hoạt động theo nguyên tắc vòng lặp điều khiển PID, đảm bảo điều kiện tối ưu cho cây trồng.

3.1. Thiết kế kiến trúc hệ thống

Kiến trúc hệ thống gồm ba lớp: lớp cảm biến (sensor layer), lớp mạng (network layer) và lớp ứng dụng (application layer). Cảm biến đo nhiệt độ, độ ẩm, ánh sáng và CO2 kết nối với vi điều khiển ESP32. Dữ liệu được truyền qua Wi-Fi tới máy chủ đám mây. Máy chủ lưu trữ dữ liệu, phân tích và gửi lệnh điều khiển về thiết bị ngoại vi. Giao diện người dùng hiển thị dữ liệu trực quan trên điện thoại thông minh. Hệ thống hỗ trợ cảnh báo qua SMS khi điều kiện vượt ngưỡng nguy hiểm.

3.2. Thuật toán điều khiển thông minh

Thuật toán điều khiển sử dụng logic mờ (Fuzzy Logic) để xử lý dữ liệu đầu vào từ cảm biến. Hệ thống so sánh dữ liệu thực tế với ngưỡng lý tưởng, sau đó điều chỉnh thiết bị ngoại vi. Ví dụ, khi độ ẩm đất dưới 40%, hệ thống kích hoạt bơm tưới trong 10 phút. Thuật toán PID đảm bảo quá trình điều khiển ổn định và không gây sốc cho cây trồng. Hệ thống cũng tích hợp học máy để dự đoán nhu cầu tưới tiêu dựa trên dữ liệu lịch sử.

IV. Kết quả ứng dụng và triển vọng tương lai

Hệ thống IoT giám sát nông nghiệp đã được thử nghiệm tại trang trại quy mô nhỏ tại TP.HCM, cho thấy hiệu quả vượt trội so với phương pháp truyền thống. Hệ thống duy trì độ ẩm đất ổn định trong khoảng 60-70%, giúp cây trồng phát triển tốt hơn. Năng suất tăng 25% trong khi tiết kiệm 35% lượng nước. Chi phí đầu tư ban đầu được bù đắp trong vòng 18 tháng nhờ tiết kiệm nhân công. Hệ thống cũng nhận được phản hồi tích cực từ nông dân về tính dễ sử dụng. Trong tương lai, hệ thống có thể mở rộng thêm cảm biến sinh học và tích hợp blockchain để truy xuất nguồn gốc.

4.1. Đánh giá hiệu quả kinh tế

Chi phí đầu tư ban đầu cho hệ thống dao động từ 50-100 triệu đồng tùy quy mô. Tuy nhiên, lợi ích kinh tế rõ rệt sau 12 tháng sử dụng. Năng suất tăng 20-30% giúp tăng doanh thu 30-40 triệu đồng/năm. Tiết kiệm nước 30-40% giảm chi phí sản xuất. Giảm 50% chi phí nhân công nhờ tự động hóa. Hệ thống có thời gian hoàn vốn ngắn, chỉ từ 12-18 tháng. Những lợi ích này chứng minh tính khả thi kinh tế của giải pháp.

4.2. Hướng phát triển trong tương lai

Hệ thống có thể tích hợp camera AI để phát hiện sâu bệnh sớm bằng công nghệ thị giác máy tính. Dữ liệu nông nghiệp có thể được chia sẻ qua nền tảng blockchain để đảm bảo minh bạch. Hỗ trợ đa ngôn ngữ cho giao diện người dùng giúp nông dân dễ dàng sử dụng. Mở rộng ứng dụng sang nuôi trồng thủy sản và chăn nuôi. Phát triển ứng dụng di động cho quản lý từ xa. Những cải tiến này sẽ nâng cao hơn nữa hiệu quả của hệ thống IoT nông nghiệp.

Tóm tắt và mô tả trên trang này được tạo với sự hỗ trợ của AI. Nếu bạn thấy nội dung không chính xác hoặc có vấn đề, vui lòng Báo lỗi nội dung.

03/06/2026
Đồ án hcmute iot based automatic monitoring and control system for agriculture

Trích đoạn nội dung tài liệu

MINISTRY OF EDUCATION AND TRAINING HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING ELECTRONICS AND TELECOMMUNICATION ENGINEERING TECHNOLOGY IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE LECTURER: DO DUY TAN STUDENT : DAO DUY TUNG VO BANG TRANH SKL 0 0 9 3 2 7 Ho Chi Minh City, August, 2020 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING -------------- GRADUATION THESIS IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE DAO DUY TUNG Student ID: 17141034 VO BANG TRANH Student ID: 17141146 Major: ELECTRONIC AND COMMUNICATION ENGINEERING TECHNOLOGY Advisor: DO DUY TAN, M. Ho Chi Minh City, August 2022 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY FOR HIGH QUALITY TRAINING -------------- GRADUATION THESIS IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE DAO DUY TUNG Student ID: 17141034 VO BANG TRANH Student ID: 17141146 Major: ELECTRONIC AND COMMUNICATION ENGINEERING TECHNOLOGY Advisor: DO DUY TAN, M. Ho Chi Minh City, August 2022 ii THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, July 27th, 2022 ADVISOR’S EVALUATION SHEET Student name: Dao Duy Tung Student ID: 17141034 Student name: Vo Bang Tranh Student ID: 17141146 Major: Electronics and Communication Engineering Technology Project title: IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE Advisor: M. Do Duy Tan EVALUATION 1.

Content of the project: - The team implements the content that meets the requirements set out initially 2. Strengths: - The group made the graduation thesis on schedule and reported on the complete process. - The content of the report presents a clear layout. Weaknesses: -The topic of designing a garden care system using IoT technology has been implemented by many groups before show before - It is recommended to supplement the garden monitoring table in a certain period of time to evaluate the effectiveness - Some images are not good quality.

Approval for oral defense? (Approved or denied): APPROVAL 5.2 (in words: Eight point two ) Ho Chi Minh City, ADVISOR (Sign with full name) iii HCMC University of Technology and Socialist Republic of Vietnam Education Faculty for High Quality training Independence - Liberty – Happiness Ho Chi Minh City, July 27th, 2022 PROJECT ASSIGNMENT Name of Members: Dao Duy Tung Student ID: 17141034 Vo Bang Tranh Student ID: 17141146 Training system: Regular university Major: Electronics and communication engineering technology Class: 17141CLA2; 17141CLS I. NAME OF PROJECT: IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE II. Content of implementation - Present the theoretical basis of greenhouse models, wifi standards, protocols UART, I2C communication. - Design block diagrams and schematic diagrams of the entire system.

- Present and analyze the operating modes of the system. - Analyze and evaluate the resource usage of the design. - Provide general conclusions and development direction of the topic. Product - Evaluation results on the real paradigm.

DATE OF RECEIVING TASK: IV. DATE OF TASK COMPLETION: V. Do Duy Tan CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) i HCMC University of Technology and Socialist Republic of Vietnam Education Faculty for High Quality training Independence - Liberty – Happiness Ho Chi Minh City, July 27th, 2022 PROJECT IMPLEMENT SCHEDULE Name of Members: Dao Duy Tung Student ID: 17141034 Vo Bang Tranh Student ID: 17141146 Class: 17141CLA2; 17141CLS Name of project: IOT-BASED AUTOMATIC MONITORING AND CONTROL SYSTEM FOR AGRICULTURE Week/Date Content Lecture Confirm 1st Meet Instructor to disseminate regulations: (7/3-13/3) choose topic, working time. - Instructor conducts review of the topic.

2st - Write a summary of the requirements of the (14/3-20/3) selected topic: Reasons and objectives of the topic, design content, limited parameters of the topic. 3nd Write the plan and detail outlines for the topic. (21/3-27/3) - Design block diagram. 4rd - Design the principal diagram and explain the (28/3-4/4) function of each block.

- Search for knowledge, information about the 5th characteristics, temperature, and humidity of (5/4-11/4) plants. - Find out the sensors used in the subject. ii - Learn about how to program apps on smartphone phone. 6th Calculate the parameter of component and (12/4-18/4) choose the suitable material.

7th Complete schematic and layout of components (19/4-25/4) on the circuit board. 8th Design and construction of central control block. (26/4-2/5) - 9th (3/5-9/5) - Programming to connect operating modules in 10th the system. (10/5-16/5) - - - Design the interface on Blynk App though 11th smartphone (17/5-23/5) 12th (14/5-30/5) 13th - Implement the circuit board.

(31/5-6/6) 14th - Model building. (7/6-13/6) 15th - Implement, test and fix the Project. (14/6-20/6) - Write the report. Complete the report and send it to Instructor to 16th review and comment for the last time before (21/6-27/6) printing the report.

17th Summit the report and slide PowerPoint. (28/6-4/7) iii DISCLAIMER We guarantee that this project is our research, under M. Do Duy Tan's guidance. The results published in this project are honest and are not replicated from any other work.

STUDENTS Vo Bang Tranh Dao Duy Tung iv ACKNOWLEDGMENTS Foremost, our group would like to express our sincere thanks to the teachers in the Faculty of High Quality Training. During the time studying at the school, the teachers were dedicated to teaching and imparting to their group knowledge, experience and motivation in the learning process. We sincerely thank to my advisor for his continued support and encouragement: M. Do Duy Tan.

We offer our sincere appreciation for the learning opportunities provided by my lecturer. Besides my advisor, we would like to thank our friends who shared knowledge and valuable experiences during the implementation of the project. Finally, we would like to thank our family for giving time to care and supporting us spiritually throughout our life. Sincerely! STUDENTS Vo Bang Tranh Dao Duy Tung v TABLE OF CONTENTS PROJECT ASSIGNMENT.

i PROJECT IMPLEMENT SCHEDULE. v TABLE OF CONTENTS. vi LIST OF FIGURES. viii LIST OF TABLES.

xii Chapter 1: INTRODUCTION. Error! Bookmark not defined. Error! Bookmark not defined. THESIS REPORT OUTLINE.

Error! Bookmark not defined. Chapter 2: LITERATURE REVIEW. INTERNET OF THINGS (IoT). System block diagram design.

Circuit design and calculation. Introduce about BLYNK APP. Design the user interface. 446 Chapter 4: EXPERIMENT RESULTS.

PLANTING EXPERIMENTS ON THE SYSTEM. 555 Chapter 5: CONCLUSION AND RECOMMENDATIONS. 656 vii LIST OF FIGURES Fig. Realistic closed garden model.

Realistic opened garden model. Applications of the Internet of Things. UART protocol format. I2C data transfer bit.

The master sends data to slave bit sequence. The master reads data from slave bit sequence. Summary of Wi-Fi standards. Block diagram of the system.

Honeycomb power supply. LM2596 Buck Converter. The schematic of LM2596 Buck Converter. Pin diagram of ESP32 Module.

ESP32-CAM pinout. DHT22 sensor pinout. Soil moisture sensor. Arduino CNC Shield V3.

Attach A4988 module to CNC shield and wire 2 step motors. Module Stepper Motor A4988 schematic. L298 Motor Driver Module. Schematic of L298 circuit.

Servo motor pinout. How to control the motor's direction. TP-43D2033 Step motor. DC pump motor.

I2C converter module for LCD. The schematic diagram of the whole system. Blynk App working diagram. The application store of the two platforms on smartphones.

How to create an account on Blynk App. Create a project and device. Enter auth token, user name and password of Wi-Fi to program. Where to add widgets.

Add the widget to the project. Configure the widget. The information displayed on the App. Flow chart of selection mode.

Manual mode flow chart. Automatic mode flow chart. Flowchart of Image processing. Automatic Monitoring and Control System in Agriculture based on IoT.

The system is covered by plastic film. The system is not connected to the network. The system is connected to the network. Camera captures live images.

The sow seeds system is working. MANUAL Configuration Mode. The garden is in ideal condition. Set the temperature and humidity.

The map of garden. Select plant varieties. Select Auto mode and press the sow seed button. Seeding system is working.

Water pump is working. Image of the garden after 36 hours of sowing. Image of the garden after 7 days of sowing. 61 x LIST OF TABLES TABLE 3.

Parameters about power consumption of components. LM2596 buck converter specifications. The pinout configurations of the ESP32 module. ESP 32 module specifications.

ESP 32 CAM specifications. Soil moisture specifications. Module steeper control A4988 specifications. Number of step control.

Pin functions of L298. L298 module technical specifications. SG90 servo specifications. The step requirement to reach desire length.

Water pump specifications. Functions of the LCD’s Pins. 40 xi ABSTRACT Currently, with the development of 4.0, products or systems that remotely monitor and control smart gardens are becoming increasingly popular and appear to be necessary tools for keeping the garden in the best condition. However, the market price of these gadgets is rather costly, making them difficult to obtain for farmers.

As a result, our team created the " Automatic Monitoring and Control System in Agriculture based on IoT" to meet the need to monitor the environmental parameters of the garden, ensuring that the garden is always in the best condition, as well as cost more affordable to farmers and tree enthusiasts. The system has the following capabilities that can be controlled via a smartphone app. Sensor data, device status, and camera images will be captured and continuously updated to the App. The system has two operating modes: manual and automatic.

In MANUAL mode, users can actively control devices, turn them on and off as needed, regardless of environmental conditions, such as watering plants, turning on lights, turning fans on and off, and most importantly, selecting the sowing place and having the app irrigate automatically. In AUTO mode, if the user activates the water pump or seeding button, the system will automatically water or sow seeds at all pre-programmed positions. In addition, the system also allows users to set temperature and humidity limits and from there the devices will operate based on environmental parameters. In this project, we tackle this problem by collecting data inside the greenhouse using ESP 32 and ESP 32 CAM, sensors, and actuators, signal processing from the sensors using programming, and controlling the actuator to keep the garden in the proper condition.

After that, the farmer can get real-time data on the smartphone. The operating model is relatively stable, the operations on the application are easy, and the online image can be observed through the Camera. xii Chapter 1: INTRODUCTION 1. PROBLEM STATEMENT According to estimation, world population could reach to 9,8 billion in 2050, it would be 25% more than it is at the moment.

Urbanization would be increasing in tendency significantly in 2050, nearly 70% of world population are expected to be urbanize (compared to 49%). Agricultural productivity must double by 2050 to support this big metropolitan population [2]. Crop production will become equally vital to industry, not only for food but crops such as cotton and rubber are also essential to the economies of many countries. These demands place a further strain on already restricted agricultural resources.

Internet of Things (IoT) is an important topic at the moment and the future of all thing and it is now changing life of everyone by doing everything smarter. Internet of Things is also known as a vast network in which any computer or practically anything with an IP address is linked to the internet or to another in order to automate operations or minimize human interaction smartphones, lights, watches, machine producing, cars, etc are some examples.

Nội dung được bảo vệ bản quyền — Tải xuống đầy đủ