Thiết kế và Triển khai Hệ thống Nhà Thông Minh Sử dụng IoT

Tài liệu nghiên cứu Design and implementation for smart home using iot 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

104
5
0

Phí lưu trữ

35 Point

Mục lục chi tiết

ACKNOWLEDGMENTS

ABSTRACT

TABLE OF CONTENTS

LIST OF FIGURES

LIST OF TABLES

LIST OF ABBREVIATIONS

1. CHAPTER 1: Overview

1.1. Objectives

1.2. Limitation

1.3. Research Method

1.4. Study object

1.5. Scope of object

1.6. Research content

1.7. Outline

Tóm tắt

I. Tổng quan về Thiết kế và Triển khai Hệ thống Nhà Thông Minh Sử dụng IoT

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. Với sự phát triển của công nghệ IoT, việc thiết kế và triển khai các hệ thống này không chỉ mang lại sự tiện lợi mà còn nâng cao chất lượng cuộc sống. Hệ thống nhà thông minh cho phép người dùng quản lý và điều khiển các thiết bị trong nhà từ xa thông qua điện thoại thông minh hoặc máy tính. Điều này không chỉ giúp tiết kiệm thời gian mà còn đảm bảo an toàn cho người sử dụng.

1.1. Khái niệm về Hệ thống Nhà Thông Minh và IoT

Hệ thống nhà thông minh là một mạng lưới các thiết bị được kết nối với nhau thông qua Internet, cho phép người dùng điều khiển và giám sát từ xa. IoT, hay Internet of Things, là công nghệ cho phép các thiết bị giao tiếp và trao đổi dữ liệu với nhau.

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 sự tiện nghi trong cuộc sống hàng ngày. Người dùng có thể dễ dàng điều chỉnh nhiệt độ, ánh sáng và các thiết bị khác chỉ bằng một cú chạm trên điện thoại.

II. Thách thức trong Thiết kế Hệ thống Nhà Thông Minh Sử dụng IoT

Mặc dù có nhiều lợi ích, việc thiết kế và triển khai hệ thống nhà thông minh cũng gặp phải nhiều thách thức. Các vấn đề như độ tin cậy của kết nối Internet, bảo mật thông tin và khả năng tương thích giữa các thiết bị là những yếu tố cần được xem xét kỹ lưỡng.

2.1. Vấn đề về Bảo mật trong Hệ thống IoT

Bảo mật là một trong những thách thức lớn nhất trong hệ thống nhà thông minh. Các thiết bị IoT thường dễ bị tấn công, do đó cần có các biện pháp bảo vệ mạnh mẽ để đảm bảo an toàn cho người dùng.

2.2. Khả năng Tương thích giữa Các Thiết bị

Khả năng tương thích giữa các thiết bị khác nhau trong hệ thống nhà thông minh là rất quan trọng. Việc sử dụng các giao thức và tiêu chuẩn khác nhau có thể gây ra khó khăn trong việc tích hợp và vận hành hệ thống.

III. Phương pháp Thiết kế Hệ thống Nhà Thông Minh Sử dụng IoT

Để 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 cảm biến, vi điều khiển và phần mềm phù hợp là rất quan trọng để đảm bảo hệ thống hoạt động ổn định và hiệu quả.

3.1. Lựa chọn Cảm biến và Thiết bị IoT

Việc lựa chọn cảm biến phù hợp như cảm biến nhiệt độ, độ ẩm, và cảm biến chuyển động là rất quan trọng. Các thiết bị này cần phải có độ chính xác cao và khả năng kết nối tốt với hệ thống.

3.2. Thiết kế Giao diện Người Dùng

Giao diện người dùng cần phải thân thiện và dễ sử dụng. Việc thiết kế ứng dụng di động và trang web điều khiển hệ thống cần phải đảm bảo tính trực quan và dễ dàng thao tác cho người dùng.

IV. Ứng dụng Thực tiễn của Hệ thống Nhà Thông Minh Sử dụng IoT

Hệ thống nhà thông minh đã được ứng 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ỉ giúp tiết kiệm chi phí mà còn nâng cao chất lượng cuộc sống cho người sử dụng.

4.1. Quản lý Năng lượng Thông minh

Hệ thống nhà thông minh có thể giúp người dùng theo dõi và quản lý mức tiêu thụ năng lượng, từ đó tối ưu hóa chi phí điện năng hàng tháng.

4.2. An ninh và Giám sát

Các thiết bị an ninh như camera và cảm biến chuyển động có thể được tích hợp vào hệ thống nhà thông minh, giúp người dùng giám sát an ninh ngôi nhà từ xa.

V. Kết luận và Tương lai của Hệ thống Nhà Thông Minh Sử dụng IoT

Hệ thống nhà thông minh sử dụng IoT đang ngày càng trở nên phổ biến và có tiềm năng phát triển mạnh mẽ trong tương lai. Với sự tiến bộ của công nghệ, các giải pháp mới sẽ được phát triển để cải thiện tính năng và hiệu quả của hệ thống.

5.1. Xu hướng Phát triển trong Tương lai

Trong tương lai, các hệ thống nhà thông minh sẽ ngày càng thông minh hơn với khả năng tự học và tự điều chỉnh theo thói quen của người dùng.

5.2. Tích hợp Công nghệ Mới

Việc tích hợp các công nghệ mới như trí tuệ nhân tạo và máy học vào hệ thống nhà thông minh sẽ mở ra nhiều cơ hội mới cho việc cải thiện trải nghiệm người dùng.

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 GRADUATION PROJECT OF COMPUTER ENGINEERING TECHNOLOGY DESIGN AND IMPLEMENTATION FOR SMART HOME USING LOT SYSTEM INSTRUCTOR: DR.TRUONG QUANG PHUC STUDENT: BUI TUAN DAT TRAN PHAN BAO KHANG SKL012543 Ho Chi Minh City, JANUARY, 2024 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION GRADUATION PROJECT DESIGN AND IMPLEMENTATION FOR SMART HOME USING LOT SYSTEM BÙI TUẤN ĐẠT Student ID: 19119039 TRẦN PHAN BẢO KHANG Student ID: 19119059 Major: COMPUTER ENGINEERING TECHNOLOGY Advisor: TRƯƠNG QUANG PHÚC, M.ENG Ho Chi Minh City, January 2024 HO CHI MINH CITY UNIVERSITY OF TECHNOLOGY AND EDUCATION FACULTY OF INTERNATIONAL EDUCATION GRADUATION PROJECT DESIGN AND IMPLEMENTATION FOR SMART HOME USING IOT SYSTEM BÙI TUẤN ĐẠT Student ID: 19119039 TRẦN PHAN BẢO KHANG Student ID: 19119059 Major: COMPUTER ENGINEERING TECHNOLOGY Advisor: TRƯƠNG QUANG PHÚC, M.ENG Ho Chi Minh City, January 2024 Faculty of International Education – HCMC University of Technology and Education THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 6, 2024 GRADUATION PROJECT ASSIGNMENT Student name: Bùi Tuấn Đạt Student ID: 19119039 Student name: Trần Phan Bảo Khang Student ID: 19119059 Major: Computer Engineering Technology Class: 19119CLA Advisor: Trương Quang Phúc, MEng Phone number: _________________ Date of assignment: _____________________ Date of submission: _____________ 1. Project title: Design and implementation for smart home using IoT system 2. Initial materials provided by the advisor: Referring to IoT projects and courses completed by previous colleagues. Content of the project: Execute this project including contents: designed the system, constructed circuits using Proteus software, implemented hardware models and system control interface, and finally, documented the project in a report 4.

Final product: Final product: IoT system model for smart homes CHAIR OF THE PROGRAM ADVISOR (Sign with full name) (Sign with full name) Trương Quang Phúc Faculty of International Education – HCMC University of Technology and Education THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 6, 2024 ADVISOR’S EVALUATION SHEET Student name: Bùi Tuấn Đạt Student ID: 19119039 Student name: Trần Phan Bảo Khang Student ID: 19119059 Major: Computer Engineering Technology Project title: Design and implementation for smart home using IoT system. Advisor: Trương Quang Phúc, MEng EVALUATION 1. Content of the project:. Approval for oral defense? (Approved or denied) Approved 5.

Overall evaluation: (Excellent, Good, Fair, Poor) Fair 6.) Ho Chi Minh City, January 6, 2024 ADVISOR (Sign with full name) Trương Quang Phúc Faculty of International Education – HCMC University of Technology and Education THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 20, 2024 PRE-DEFENSE EVALUATION SHEET Student name: Bùi Tuấn Đạt Student ID: 19119039 Student name: Trần Phan Bảo Khang Student ID: 19119059 Major: Computer Engineering Technology Project title: Design and implementation for smart home using IoT system. Name of Reviewer:. Content and workload of the project. Approval for oral defense? (Approved or denied) .) Ho Chi Minh City, … …, … REVIEWER (Sign with full name) Faculty of International Education – HCMC University of Technology and Education THE SOCIALIST REPUBLIC OF VIETNAM Independence – Freedom– Happiness -------- Ho Chi Minh City, January 20, 2024 EVALUATION SHEET OF DEFENSE COMMITTEE MEMBER Student name: Bùi Tuấn Đạt Student ID: 19119039 Student name: Trần Phan Bảo Khang Student ID: 19119059 Major: Computer Engineering Technology Project title: Design and implementation for smart home using IoT system.

Name of Defense Committee Member:. Content and workload of the project .) Ho Chi Minh City, … …, … COMMITTEE MEMBER (Sign with full name) Faculty of International Education – HCMC University of Technology and Education ACKNOWLEDGMENTS Throughout the four years of studying and training at the Ho Chi Minh City University of Technology and Education's Faculty of International Education, under the dedicated guidance of the faculty members, especially the professors and lecturers in the Computer Engineering department, we have been allowed to learn and apply valuable and practical knowledge. We would like to express our deepest gratitude to our esteemed professors for their diligent efforts in imparting valuable knowledge and precious experiences to us. Their commitment has enabled us to apply these leanings in our future endeavors.

We would like to express sincere and profound gratitude to Mr. Truong Quang Phuc, M., for his dedicated guidance, valuable suggestions, and sharing of experiences. His support and facilitation played a crucial role in the research efforts and successful completion of this graduation project. We also extend our gratitude to all members of the class 19119CLA for sharing their knowledge and relevant experiences related to the project.

Despite our best efforts, we acknowledge that this thesis has inevitable defects. Therefore, we hope to receive advice, constructive feedback, and corrections from the Defense Council, teachers, and our classmates, with an understanding of our still- developing skills and experiences. Thank you very much! i Faculty of International Education – HCMC University of Technology and Education ABSTRACT In today's rapidly evolving world across various fields, human aspirations for lifestyle have undergone significant changes. The concept of a home has transformed from being a simple living space to a smart and convenient environment.

Smart homes have become a popular trend, representing a desire to surpass the limitations of traditional housing. The amenities and advanced technologies integrated into smart homes provide safety, convenience, and energy optimization, transforming our daily lives. Recognizing the increasing demand for smart home systems, we have decided to undertake the project "Design and Implementation for Smart Home using IoT system". The project "Design and Implementation for Smart Home using IoT system" aims to create an advanced smart home system where users can easily manage and control devices within the home through mobile phones and a website.

Additionally, in our design, we have structured the house with three rooms, each equipped with an independent control node. Each node includes an ESP32 for data collection purposes and is equipped with sensors to collect data from the surrounding environment. This data will be provided to MQTT Cloud for use in monitoring and control, ensuring user safety. ii Faculty of International Education – HCMC University of Technology and Education TABLE OF CONTENTS ACKNOWLEDGMENTS.

ii TABLE OF CONTENTS. iii LIST OF FIGURES .vi LIST OF TABLES .ix LIST OF ABBREVIATIONS. Scope of object. IoT Model Application in Smart Home.

Communication standards in IoT. Wireless Communication Standards. Wired Communication Standards. Data Transmission Protocols.

ESP32-WROOM-32 Microcontroller. LM2596 DC Voltage Regulator Step-Down Buck Converter Module. RFID RC522 NFC 13.19 iii Faculty of International Education – HCMC University of Technology and Education 2. Infrared Obstacle Sensor.

LCD to I2C communication conversion circuit. DHT11 temperature and humidity sensor module. Gas sensor MQ-2. LED Bar SAMSUNG.

Overview of HTML, CSS, and JavaScript. DESIGN AND IMPLEMENTATION. Living room design block. Bedroom design block.

Kitchen design block. Detail hardware designs. Power supply design. Living room design.

Bedroom design block. Detail software designs. Host IoT design. Mobile application design.59 iv Faculty of International Education – HCMC University of Technology and Education 3.

Android mobile application. Summary of testing result and evaluate model. CONCLUSIONS AND FUTURE WORK. Develop new features to serve daily usage requirements.

Develop application and website interfaces to improve technical features. Apply specialized equipment to the system. Handle the problem of losing Wi-Fi connection and losing power during operation. 84 v Faculty of International Education – HCMC University of Technology and Education LIST OF FIGURES Figure 2.

IoT model applied in Smart Home. I2C Master-Slave communication diagram. Frame transfer in I2C protocol. UART communication connection diagram.

UART data transmission frame. SPI communication in case of multiple Slave pins. SPI communication in case there is 1 Slave pin. ESP32-WROOM-32 Microcontroller.

ESP-WROOM-32 pinout. Schematic Diagram of the LM2596 DC Voltage Regulator Module. Pin Functions of the SIM800L Module. Infrared Obstacle Sensor.

Green 16×2 LCD screen. I2C Interface Conversion Circuit for LCD. DHT11 temperature and humidity sensor module. Gas sensor MQ-2.

LED Bar Samsung. MQTT Cloud Logo. Block diagram for the smart home system design. Block diagram for the living room design.

33 vi Faculty of International Education – HCMC University of Technology and Education Figure 3. Block diagram for the bedroom design. Block diagram for the kitchen design. Power supply block design.

The schematic for living room design. Flowchart for the living room MCU program. Schematic for power supply circuit. Schematic for DHT11 connection.

Schematic for connection between Infrared Obstacle Sensor and living room’s MCU. Schematic for connection between RFID RC522 and living room's MCU. Schematic for connection between button block and living room' MCU. Schematic for connection between warning block and living room's MCU 44 Figure 3.

Schematic for connection between device block and living room's MCU. Schematic for connection between LCD using I2C module and living room’s MCU. Schematic for bedroom design. Flowchart for bedroom MCU program.

Schematic for connect between power supply block and bedroom’s MCU. Schematic for connection between button block and bedroom’s MCU. Schematic for connection between device block and bedroom’s MCU. Schematic for connect between LCD using I2C module and bedroom ‘s MCU.

Schematic for kitchen design. Flowchart for kitchen MCU program. Schematic for connection between power supply block and kitchen’s MCU. Schematic for connection between sensor block and kitchen’s MCU.

Schematic for connection between button block and kitchen's MCU. Schematic for connection between warning block and kitchen’s MCU. MQTT Cloud Interface of the IoT Host. IoT Mobile App Interface.

59 vii Faculty of International Education – HCMC University of Technology and Education Figure 3. Flowchart for IoT mobile app script. Main Interface of the IoT Website. Flowchart for the IoT website Java Script.

Result of Top-Down view of Smart Home System. Layout of PCB Circuit and Living Room Component Connections. Result of living room implementation. Layout of PCB Circuit and Bedroom Component Connections.

Result of bedroom implementation. Layout of PCB Circuit and Kitchen Component Connections. Result of kitchen implementation. Result of IoT Website implementation.

IoT mobile app Icon. Result of IoT mobile app User Interface. Result of changing value when connect with website. Result of change values when connect with mobile app.

Result of system control by IoT mobile app. Result of system control by IoT Website. Comparison values between mobile app and living room LCD. Result of a correctly accessed card.

Result of an incorrect access card. Result of an access warning. Result of add access card mode. Result of adding a new member card.

Result of deleting access card mode. Result on Kitchen LCD when ESP32 detects a fire or gas leakage. Result on the host when the ESP detects a fire or gas leakage. Result of the fire warning message.

Result of the access warning message. 78 viii Faculty of International Education – HCMC University of Technology and Education LIST OF TABLES Table 2-1. General command of Sim800l module. Call command of Sim800l module.

Message command of Sim800l module. Connection table of esp32. Connection interface between the DHT11 sensor and ESP32. Connection interface between RFID RC522 module and ESP32.

Connection interface between LCD I2C module and ESP32. Connection table of ESP32 in bedroom design. Connection interface between DHT11 and ESP32 in bedroom design. Connection interface between LCD I2C module and ESP32 in bedroom design.

Connection table of ESP32 in kitchen. Summary of testing result table .

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 Sử dụng IoT" cung cấp cái nhìn tổng quan về việc ứng dụng công nghệ Internet of Things (IoT) trong việc xây dựng và quản lý các hệ thống nhà thông minh. Tài liệu này nêu bật các lợi ích của việc tự động hóa trong nhà, bao gồm việc tiết kiệm năng lượng, tăng cường an ninh và cải thiện sự tiện nghi cho người sử dụng. Đặc biệt, nó cũng đề cập đến các công nghệ và thiết bị cần thiết để triển khai hệ thống, giúp người đọc hiểu rõ hơn về quy trình thiết kế và thực hiện.

Nếu bạn muốn mở rộng kiến thức về các ứng dụng IoT khác, hãy tham khảo tài liệu Luận văn thạc sĩ thiết kế bộ thiết bị iot nhỏ gọn dán ngực theo dõi nhịp tim và cảm biến té ngã có tích hợp ai để phân tích và cảnh báo sớm tình trạng bất thường sức khỏe tim mạch, nơi bạn sẽ tìm thấy thông tin về thiết bị IoT trong lĩnh vực y tế. Ngoài ra, tài liệu Đồ án đề tài thiết kế hệ thống giao tiếp quản lý và điều khiển nhà thông minh qua internet sẽ giúp bạn hiểu rõ hơn về cách thức quản lý và điều khiển các thiết bị trong nhà thông minh. Cuối cùng, tài liệu Luận văn điều khiển và giám sát thiết bị điện qua mạng internet sẽ cung cấp thêm thông tin về việc giám sát và điều khiển thiết bị điện trong môi trường IoT. Những tài liệu này sẽ là cơ hội tuyệt vời để bạn khám phá sâu hơn về các ứng dụng và công nghệ liên quan đến IoT.