Thiết Kế và Triển Khai Hệ Thống Nhà Thông Minh

Tài liệu nghiên cứu Design and implementation of smart home system, tổng hợp lý thuyết và thực hành, cung cấp kiến thức chuyên sâu về .

Người đăng

Ẩn danh

Thể loại

graduation project

2024

85
3
0

Phí lưu trữ

30 Point

Mục lục chi tiết

ACKNOWLEDGEMENTS

1. CHAPTER 1: INTRODUCTION

1.1. Object and Scope of the study

1.1.1. Object of the study

1.1.2. Scope of the study

1.2. Research Method

1.3. Research contents

1.3.1. Content 1: Analyze the challenges of the project

1.3.2. Content 2: Learn about the technical specifications, guiding thought and theoretical basis of the components of the hardware

1.3.3. Content 3: Propose the model and summarize the overall system. Design block diagram, principle diagram

1.3.4. Content 4: System configuration and design hardware

1.3.5. Content 5: Test run, check, evaluate and adjust

1.3.6. Content 6: Conduct report writing

1.3.7. Content 7: Thesis defense

1.4. Outline

2. CHAPTER 2: LITERATURE REVIEW

2.1. Internet of Thing

2.2. IoT systems structure

2.3. SPI operating principle

2.4. UART operating principle

2.5. DHT11 temperature and humidity sensor

2.6. MQ3 alcohol gas sensor module

2.7. Global System for Mobile communication

2.8. Short messaging Service

2.9. Introduces the SIM800L V2 module

2.10. RC522 Module RFID Reader

2.11. Energy Meter Module PZEM-004T

2.12. 20x4 Character LCD Display

2.13. Servo Motor SG90

2.14. DC-DC XL4015 5A power module

2.15. LDR Sensor Module

3. CHAPTER 3: SYSTEM DESIGN AND IMPLEMENTATION

3.1. System model of a smart home

3.2. Block diagram and functions of each block

3.3. Packaging and model construction

3.4. Smart Home control interface on Blynk App and Blynk Dashboard

4. CHAPTER 4: RESULTS, OBSERVATIONS, AND EVALUATIONS

5. CHAPTER 5: CONCLUSION AND FUTURE DEVELOPMENTS

LIST OF FIGURES

LIST OF TABLES

LIST OF ABBREVIATIONS

ABSTRACT

Tóm tắt

I. Tổng Quan Về Thiết Kế và Triển Khai Hệ Thống Nhà Thông Minh

Hệ thống nhà thông minh đang trở thành xu hướng phổ biến trong cuộc sống hiện đại. Việc áp dụng công nghệ IoT vào nhà ở không chỉ mang lại sự tiện nghi mà còn nâng cao an ninh và tiết kiệm năng lượng. Nghiên cứu này sẽ phân tích các khía cạnh quan trọng trong việc thiết kế và triển khai hệ thống nhà thông minh, từ các thành phần kỹ thuật đến ứng dụng thực tiễn.

1.1. Khái Niệm Về Nhà Thông Minh và Công Nghệ IoT

Nhà thông minh là một hệ thống tích hợp các thiết bị thông minh, cho phép người dùng điều khiển và giám sát từ xa. Công nghệ IoT đóng vai trò quan trọng trong việc kết nối các thiết bị này, tạo ra một môi trường sống thông minh và tiện nghi.

1.2. Lợi Ích Của Hệ Thống Nhà Thông Minh

Hệ thống nhà thông minh mang lại nhiều lợi ích như tiết kiệm năng lượng, tăng cường an ninh và cải thiện chất lượng cuộc sống. Các thiết bị thông minh có thể tự động hóa nhiều quy trình, giúp người dùng tiết kiệm thời gian và công sức.

II. Vấn Đề và Thách Thức Trong Thiết Kế Hệ Thống Nhà Thông Minh

Mặc dù hệ thống nhà thông minh mang lại nhiều lợi ích, nhưng cũng tồn tại nhiều thách thức cần giải quyết. Các vấn đề như tính tương thích giữa các thiết bị, bảo mật thông tin và độ tin cậy của hệ thống là những yếu tố quan trọng cần được xem xét.

2.1. Tính Tương Thích Giữa Các Thiết Bị

Một trong những thách thức lớn nhất là đảm bảo rằng các thiết bị từ nhiều nhà sản xuất khác nhau có thể hoạt động cùng nhau. Sự khác biệt về tiêu chuẩn và giao thức có thể gây khó khăn trong việc tích hợp.

2.2. Bảo Mật Thông Tin Trong Hệ Thống Nhà Thông Minh

Bảo mật là một vấn đề quan trọng trong hệ thống nhà thông minh. Việc bảo vệ thông tin cá nhân và ngăn chặn các cuộc tấn công mạng là điều cần thiết để đảm bảo an toàn cho người dùng.

III. Phương Pháp Thiết Kế Hệ Thống Nhà Thông Minh Hiệu Quả

Để thiết kế một hệ thống nhà thông minh hiệu quả, cần áp dụng các phương pháp và công nghệ tiên tiến. Việc lựa chọn các thiết bị phù hợp và xây dựng một kiến trúc hệ thống hợp lý là rất quan trọng.

3.1. Lựa Chọn Thiết Bị Thông Minh Phù Hợp

Việc lựa chọn thiết bị thông minh cần dựa trên nhu cầu sử dụng và khả năng tương thích với hệ thống. Các thiết bị như cảm biến, camera an ninh và bộ điều khiển cần được xem xét kỹ lưỡng.

3.2. Xây Dựng Kiến Trúc Hệ Thống

Kiến trúc hệ thống cần được thiết kế sao cho dễ dàng mở rộng và bảo trì. Việc sử dụng các giao thức giao tiếp tiêu chuẩn sẽ giúp tăng cường khả năng tương tác giữa các thiết bị.

IV. Ứng Dụng Thực Tiễn Của Hệ Thống Nhà Thông Minh

Hệ thống nhà thông minh đã được áp dụng rộng rãi trong nhiều lĩnh vực, từ quản lý năng lượng đến an ninh. Các ứng dụng này không chỉ cải thiện chất lượng cuộc sống mà còn giúp tiết kiệm chi phí.

4.1. Quản Lý Năng Lượng Hiệu Quả

Hệ thống nhà thông minh có thể giúp theo dõi và quản lý mức tiêu thụ năng lượng, từ đó giảm thiểu chi phí điện năng. Các thiết bị như bộ điều khiển ánh sáng và cảm biến nhiệt độ đóng vai trò quan trọng trong việc này.

4.2. Tăng Cường An Ninh Cho Ngôi Nhà

Các thiết bị an ninh thông minh như camera và cảm biến chuyển động giúp người dùng giám sát ngôi nhà từ xa. Điều này không chỉ tăng cường an ninh mà còn mang lại sự yên tâm cho người sử dụng.

V. Kết Luận và Tương Lai Của Hệ Thống Nhà Thông Minh

Hệ thống nhà thông minh đang phát triển mạnh mẽ và hứa hẹn sẽ mang lại nhiều cải tiến trong tương lai. Việc tiếp tục nghiên cứu và phát triển công nghệ sẽ giúp nâng cao hiệu quả và tính năng của các hệ thống này.

5.1. Xu Hướng Phát Triển Công Nghệ Nhà Thông Minh

Công nghệ nhà thông minh sẽ tiếp tục phát triển với sự xuất hiện của các thiết bị mới và cải tiến. Việc tích hợp trí tuệ nhân tạo và học máy sẽ giúp hệ thống trở nên thông minh hơn.

5.2. Tác Động Đến Cuộc Sống Hàng Ngày

Hệ thống nhà thông minh không chỉ cải thiện tiện nghi mà còn thay đổi cách con người tương tác với không gian sống. Điều này sẽ tạo ra một môi trường sống an toàn và hiệu quả hơn cho mọi người.

10/07/2025

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 GRADUATION PROJECT COMPUTER ENGINEERING TECHNOLOGY DESIGN AND IMPLEMENTATION OF SMART HOME SYSTEM LECTURER: PHAN VAN CA STUDENT: LE BA MINH DAT NGUYEN VAN QUANG HUY SKL012538 Ho Chi Minh City, January 2024 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION GRADUATION PROJECT DESIGN AND IMPLEMENTATION OF SMART HOME SYSTEM LÊ BÁ MINH ĐẠT Student ID: 19119040 NGUYỄN VĂN QUANG HUY Student ID: 19119030 Major: COMPUTER ENGINEERING TECHNOLOGY Advisor: PHAN VĂN CA, Associate Professor Ph.D Ho Chi Minh City, January 2024 THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 9, 2024 GRADUATION PROJECT ASSIGNMENT Student name: Lê Bá Minh Đạt Student ID: 19119040 Student name: Nguyễn Văn Quang Huy Student ID: 19119030 Major: Computer Engineering Technology Class: 19119CLA Advisor: Assoc.D Phan Văn Ca Phone number: 0902994358 Date of assignment: September 3rd, 2023 Date of submission: January 8th, 2024 1. Project title: Design and implementation of smart home system. Initial materials provided by the advisor: Documents such as paper about application of smart home IoT. Content of the project: ▪ Analyze the challenges of the project.

Learn about the technical specifications, guiding thought and theoretical basis of the components of the hardware. ▪ Propose the model and summarize the overall system. Design block diagram, principle diagram. System configuration and design hardware.

▪ Test run, check, evaluate and adjust. ▪ Conduct report writing. Final product: Smart home model, device control and monitoring box, system control software, final report, demo video. CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) Phan Văn Ca i THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 9, 2024 ADVISOR’S EVALUATION SHEET Student name: Lê Bá Minh Đạt Student ID: 19119040 Student name: Nguyễn Văn Quang Huy Student ID: 19119030 Major: Computer Engineering Technology Project title: Design and implementation of smart home system Advisor: Assoc.D Phan Văn Ca EVALUATION 1.

Content of the project: ▪ Analyze the challenges of the project. Learn about the technical specifications, guiding thought and theoretical basis of the components of the hardware. ▪ Propose the model and summarize the overall system. Design block diagram, principle diagram.

System configuration and design hardware. ▪ Test run, check, evaluate and adjust. ▪ Conduct report writing 2. Strengths: The system model proposed in the thesis makes sense.

Although the prototype implemented is rather basic, it still illustrates the characteristics of the platform framework: connectivity and communication between entities in a smart home. Weaknesses: The weakness of the thesis is the design and implementation methodology. Many similar works exist in the literature. The thesis is not well organized and written.

Approval for oral defense? (Approved or denied) Approved 5. Overall evaluation: (Excellent, Good, Fair, Poor) Good 6. Eight dot Zero) Ho Chi Minh City, January 09, 2024 ADVISOR (Sign with full name) Phan Văn Ca ii THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 9, 2023 PRE-DEFENSE EVALUATION SHEET Student name: Lê Bá Minh Đạt Student ID: 19119040 Student name: Nguyễn Văn Quang Huy Student ID: 19119030 Major: Computer Engineering Technology Project title: Design and implementation of smart home system Name of Reviewer: Assoc.D Phan Văn Ca EVALUATION 1. Content and workload of the project ▪ Analyze the challenges of the project.

Learn about the technical specifications, guiding thought and theoretical basis of the components of the hardware. ▪ Propose the model and summarize the overall system. Design block diagram, principle diagram. System configuration and design hardware.

▪ Test run, check, evaluate and adjust. ▪ Conduct report writing. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, January…, 2024 REVIEWER (Sign with full name) iii THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 9, 2023 EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student name: Lê Bá Minh Đạt Student ID: 19119040 Student name: Nguyễn Văn Quang Huy Student ID: 19119030 Major:Computer Engineering Technology Project title: Design and implementation of smart home system Advisor: Assoc.D Phan Văn Ca EVALUATION 1. Content and workload of the project ▪ Analyze the challenges of the project.

Learn about the technical specifications, guiding thought and theoretical basis of the components of the hardware. ▪ Propose the model and summarize the overall system. Design block diagram, principle diagram. System configuration and design hardware.

▪ Test run, check, evaluate and adjust. ▪ Conduct report writing.) Ho Chi Minh City, January…, 2024 COMMITTEE MEMBER (Sign with full name) iv DISCLAIMER This is the final report, "Design and implementation of a smart home system," we proclaim. The study findings are accurate, and they were completed totally under the supervision of the teacher, Assoc.D PHAN VAN CA. The report also does not replicate any other sources.

In addition, the document provides a number of referenced and labeled reference resources. I would want to completely assume responsibility for this pledge in front of the department, teachers, and school. Student LE BA MINH DAT NGUYEN VAN QUANG HUY v ACKNOWLEDGEMENTS First, we would like to express our heartfelt appreciation to the School Board of the Ho Chi Minh City University of Technology and Education, as well as the Faculty for High Quality Training, for creating ideal circumstances for me to pursue our project. Furthermore, we would like to express our heartfelt gratitude to the Assoc.

Phan Van Ca, who constantly monitors the learning environment and supports and develops growth chances for each generation of students. However, while having limited time and skills to accomplish this graduation project, the group still had several flaws when learning and presenting the project. Students want professors to provide comments so that the group's project may be finished and enhanced in the future. The contributions of the professors will assist the group obtain more information in their future studies and research.

Finally, the project implementation team wishes the instructors good health, as well as continued success in their noble vocations. Many thanks for all your help and regards. Student LE BA MINH DAT NGUYEN VAN QUANG HUY vi TABLE OF CONTENTS GRADUATION PROJECT ASSIGNMENT .i ADVISOR’S EVALUATION SHEET .ii PRE-DEFENSE EVALUATION SHEET. iii EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER .vi TABLE OF CONTENTS .vii LIST OF FIGURES.

x LIST OF TABLES.xii LIST OF ABBREVIATIONS. xiv CHAPTER 1: INTRODUCTION. Object and Scope of the study. Object of the study.

Scope of the study. 3 CHAPTER 2: LITERATURE REVIEW. Internet of Thing. IoT systems structure.

SPI operating principle. UART operating principle. DHT11 temperature and humidity sensor. MQ3 alcohol gas sensor module.

Global System for Mobile communication. Short messaging Service. Introduces the SIM800L V2 module. RC522 Module RFID Reader.

Energy Meter Module PZEM-004T. 20x4 Character LCD Display. Servo Motor SG90. DC-DC XL4015 5A power module.

LDR Sensor Module. 24 CHAPTER 3: SYSTEM DESIGN AND IMPLEMENTATION. System model of a smart home. Block diagram and functions of each block.

Packaging and model construction. Smart Home control interface on Blynk App and Blynk Dashboard. 53 CHAPTER 4: RESULTS, OBSERVATIONS, AND EVALUATIONS. 55 CHAPTER 5: CONCLUSION AND FUTURE DEVELOPMENTS.

65 ix LIST OF FIGURES Figure 2. Internet of Things. IoT System Structure. The SPI communication model.

The clock diagrams for SPI with CPHA=0 and CPHA=1. UART communication standard. Transmitted in the form of packets of I2C. ESP-WROOM-32 microchip.

DHT11 temperature and humidity sensor module. MQ3 alcohol gas sensor module. Global System for mobile (GSM) network. SIM800L V2 5V Wireless GSM GPRS module.

RC522 RFID Reader with Cards Kit. Energy Meter Module PZEM-004T. 20x4 Character LCD Display. Servo Motor Pinout (Wires).

XL4015 DC-DC Voltage Regulator. LDR Sensor Module (Light Dependent Resistor). The overall scheme of the Smart Home system. Block diagram of Smart Home system.

Principle diagram of the system model. Printed circuit board of hardware. 3D simulation printed circuit. Arduino IDE Interface.

Operating model of Blynk IOT. Secondary microcontroller algorithm flow chart. Algorithm flow chart of subroutine "read RFID tag". Algorithm flow chart of transmit and receive SIM.

Algorithm flow chart of Primary microcontroller. Algorithm flow chart of subroutine “read input sensors”. Algorithm flow chart of subroutine “monitor air conditioner operation”. Blynk App & Blynk Dashboard.

The device control box. Outside lights operate in auto mode. Scan RFID card. Displays parameters on LCD.

Control the device via SIM module. Graph of electricity consumption over time. 59 xi LIST OF TABLES Table 3. Environmental Parameters Measured: Humidity, Temperature, Gas Levels.

Evaluating and choosing devices for primary microcontroller. Evaluating and choosing devices for display unit. Evaluating and choosing devices for relay. Evaluating and choosing devices for power supply.

Evaluating and choosing devices for module sim. Evaluating and choosing devices for temperature & humidity sensor. Evaluating and choosing devices for gas sensor. Evaluating and choosing devices for secondary microcontroller.

Evaluating and choosing devices for security. Evaluating and choosing devices for servo motor. Evaluating and choosing devices for device activity monitoring. Total current used in the circuit (ESP32).

Total current used in the circuit (Arduino Uno R3). List the components used. 59 xii LIST OF ABBREVIATIONS ABBREVIATIONS MEANING 1 IoT Internet of Things 2 GPIO General Purpose Input/Output 3 HTTP Hypertext Transfer Protocol 4 I2C Inter-Integrated Circuit 5 ID Identification 6 IT Information Technology 7 LCD Liquid Crystal Display 8 LED Light Emitting Diode 9 MISO Master In Slave Out 10 MOSI Master Out Slave In 11 IC Integrated Circuit 12 MCU Micro Controller Unit 13 WSN Wireless sensor network 14 WAN Wide-area network 15 SF Spreading Factor 16 BW Bandwidth 17 CR Coding Rate 18 DC Direct Current 19 AC Alternating Current 20 RFID Radio-Frequency Identification 21 RX Receive 22 SCK Serial Clock 23 SCL Serial Clock 24 SDA Serial Data 25 SPI Serial Peripheral Interface 26 TX Transmit 27 UART Universal Asynchronous Receiver/Transmitter 28 IDE Integrated Development Environment xiii ABSTRACT The incorporation of intelligent systems into homes has emerged as a clear trend in the contemporary era, as technology progressively becomes a fundamental aspect of our lives. Research on Smart Home IoT not only explores the potential for offering clever and convenient solutions for daily life but also prompts thought-provoking inquiries about human-machine interaction, safety, and the trajectory of smart living in the future.

Our project aims to create and implement a smart home system. This not only unlocks possibilities for intelligent and pragmatic solutions in daily living but also prompts engaging considerations about human-machine interaction, security, and the future of smart living. Moreover, the project serves as an opportunity to cultivate and enhance diverse skills, ranging from programming to data management and IoT devices. Therefore, it is a journey that not only supports personal growth but also makes a positive contribution to the increasingly innovative and diverse field of information technology.

xiv CHAPTER 1: INTRODUCTION The first chapter explains the project overview, the project's research object, the project methodology, and the project goals in addition to the basic goal behind smart home system. In addition, the layout of the entire report is presented below. Introduction Applying information and communication technology to the house is becoming more and more of a trend in today's environment of ever-more-modern living, as well as a full answer to the demands of comfortable and secure living [1]. However, a lot of problems need to be fixed in order to maximize this smart living area.

Integrating security and performance in an Internet of Things (IoT)-based smart home system is one of the main problems.

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

Tài liệu "Thiết Kế và Triển Khai Hệ Thống Nhà Thông Minh" cung cấp cái nhìn tổng quan về quy trình thiết kế và triển khai các hệ thống tự động hóa trong ngôi nhà hiện đại. Nó nhấn mạnh tầm quan trọng của công nghệ IoT (Internet of Things) trong việc tạo ra một môi trường sống tiện nghi, an toàn và tiết kiệm năng lượng. Độc giả sẽ tìm thấy những lợi ích rõ ràng từ việc áp dụng các giải pháp thông minh, như khả năng điều khiển từ xa, giám sát an ninh và tối ưu hóa tiêu thụ năng lượng.

Để mở rộng kiến thức về các ứng dụng công nghệ tương tự, bạn có thể tham khảo tài liệu Iot based automatic monitoring and control system for agriculture, nơi trình bày cách IoT được áp dụng trong nông nghiệp. Ngoài ra, tài liệu Thiết kế hệ thống scada cho quản lý vận hành công trình thủy lợi cũng sẽ giúp bạn hiểu rõ hơn về việc quản lý và giám sát các hệ thống tự động trong lĩnh vực thủy lợi. Cuối cùng, tài liệu Khóa luận tốt nghiệp hệ thống thông tin thiết kế và xây dựng hệ thống quản lý bất động sản sẽ cung cấp thêm thông tin về việc ứng dụng công nghệ trong quản lý bất động sản, một lĩnh vực có nhiều điểm tương đồng với hệ thống nhà thông minh.

Những tài liệu này không chỉ mở rộng kiến thức của bạn mà còn giúp bạn khám phá sâu hơn về các ứng dụng công nghệ trong cuộc sống hàng ngày.