Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

IoT Application Development with the ESP32 Using the ESP-IDF

Phát triển Ứng dụng IoT với ESP32 Sử Dụng ESP-IDF

Phát triển Ứng dụng IoT với ESP32 Sử Dụng ESP-IDF

Phát triển ứng dụng dựa trên WiFi cho ESP32 và Đăng ký/Gửi tin nhắn MQTT tới AWS IoT bằng ESP-IDF & FreeRTOS

4.6
(1,395 đánh giá)
10,453 học viên
Giảng viên
Embedded Insights
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 349.000đ -86%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
9.0 giờ video
56 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 14/08/2026

Bạn sẽ học được gì

Cách phát triển ứng dụng dựa trên WiFi cho ESP32 bằng ESP-IDF
Tích hợp Thư viện Linh kiện & Cảm biến, giúp dễ dàng kết nối cảm biến và các linh kiện khác vào dự án của bạn
Cấu hình ESP AWS IoT trên ESP32 để kết nối với đám mây AWS IoT
Gửi/nhận tin nhắn MQTT từ AWS IoT Core và kiểm tra bằng trình kiểm tra MQTT
Thiết lập dự án ESP-IDF (Espressif IoT Development Framework) nhanh chóng và dễ dàng bằng Espressif IDE dựa trên Eclipse
Phát triển ứng dụng mở rộng, theo module trên ESP32 bằng ESP-IDF
Phát triển ứng dụng với WiFi, máy chủ HTTP, Trang Web, Bộ nhớ Không Bay hơi, Cập nhật Firmware OTA, Đồng bộ Thời gian SNTP, LED RGB, Nút bấm với Ngắt
Sử dụng FreeRTOS để quản lý tác vụ và giao tiếp giữa các tác vụ
Cách xây dựng, ghi và giám sát ứng dụng ngay trong phiên bản Eclipse của IDF
Cách phát triển một trang web đơn giản để hiển thị dữ liệu, kết nối ESP32 với điểm truy cập, ngắt kết nối ESP32, tải firmware mới (cập nhật OTA) và hơn thế nữa
Bạn sẽ học cách sử dụng các công cụ cơ bản của FreeRTOS, như hàng đợi tin nhắn, nhóm sự kiện và semaphore
Học cách phát triển và mở rộng trang web bằng .HTML, JavaScript và CSS, đồng thời phát triển máy chủ HTTP để hỗ trợ chức năng trang web
Kết thúc khóa học, bạn sẽ tự tin phát triển một ứng dụng dựa trên WiFi có khả năng mở rộng bằng ESP-IDF

Yêu cầu

Bộ Phát triển ESP32
Cảm biến DHT22 nếu bạn muốn lấy dữ liệu nhiệt độ và độ ẩm
LED RGB nếu bạn muốn tạo màu trạng thái cho đèn LED
Dây nối và bảng mạch thử
Quen thuộc với ngôn ngữ lập trình C

Đối tượng phù hợp

Bất kỳ ai có chút kinh nghiệm với ngôn ngữ C và quan tâm đến việc phát triển ứng dụng trên ESP32
Chuyên gia quan tâm đến việc bắt đầu phát triển phần mềm nhúng trên ESP32
Người đam mê muốn nâng cao kỹ năng phát triển bằng cách chuyển từ lập trình ESP32 bằng Arduino sang sử dụng ESP-IDF

Nội dung khóa học

19 phần • 56 bài giảng
1 Giới thiệu Chi tiết Khóa học
2 Yêu cầu Phần cứng & Phần mềm
3 Cấu trúc Khóa học
1 ESP32 DevKits
1 Cài đặt Eclipse (Espressif IDE)
2 Tổng quan về Hệ thống Build ESP-IDF & CMake
3 Thiết lập Mẫu Dự án Eclipse
1 Các Dự án Mẫu ESP-IDF
2 ESP-IDF FreeRTOS
3 Xử lý Lỗi trong ESP-IDF
4 Phong cách Lập trình Embedded C
1 Tổng quan về Thư viện Linh kiện & Cảm biến
2 Tích hợp Thư viện Linh kiện & Cảm biến và Ví dụ BME 680
1 Kho lưu trữ Git
1 Tổng quan Triển khai LED RGB
2 Lập trình LED RGB
1 Tổng quan Triển khai WiFi
2 Lập trình Ứng dụng WiFi Phần I
3 Lập trình Ứng dụng WiFi Phần II
4 Lập trình Ứng dụng WiFi Phần III
5 Kiểm tra Ứng dụng WiFi
1 Tổng quan Triển khai Máy chủ HTTP
2 Máy chủ HTTP Tăng kích thước Phân vùng (ESP-IDF phiên bản 5 trở lên)
3 Lập trình Máy chủ HTTP Phần I
4 Lập trình Máy chủ HTTP Phần II
5 Lập trình Máy chủ HTTP Phần III
6 Lập trình Máy chủ HTTP Phần IV
1 Tổng quan Triển khai Cập nhật Firmware OTA
2 Lập trình Cập nhật Firmware OTA Phần I
3 Lập trình Cập nhật Firmware OTA Phần II
4 Kiểm tra Cập nhật Firmware OTA
1 Tổng quan Triển khai Cảm biến DHT22
2 Lập trình Cảm biến DHT22 Phần I
3 Lập trình Cảm biến DHT22 Phần II
1 Tổng quan Triển khai Kết nối WiFi
2 Lập trình Kết nối WiFi Phần I
3 Lập trình Kết nối WiFi Phần II
4 Lập trình Kết nối WiFi Phần III
1 Hiển thị Thông tin Kết nối WiFi: Lập trình Trang Web
2 Hiển thị Thông tin Kết nối WiFi: Lập trình Máy chủ HTTP
1 Lập trình Nút Ngắt kết nối WiFi
1 Tổng quan Triển khai Bộ nhớ Không Bay hơi (NVS)
2 Lập trình Bộ nhớ Không Bay hơi (NVS) Phần I
3 Lập trình Bộ nhớ Không Bay hơi (NVS) Phần II
1 Tổng quan về Nút Đặt lại WiFi
2 Lập trình Nút Đặt lại WiFi
1 Tổng quan Đồng bộ Thời gian SNTP
2 Lập trình Đồng bộ Thời gian SNTP Phần I
3 Lập trình Đồng bộ Thời gian SNTP Phần II
4 Lập trình Đồng bộ Thời gian SNTP Phần III
1 Lập trình Hiển thị SSID Điểm Truy cập
1 Tổng quan Triển khai AWS IoT
2 Bổ sung Kỹ thuật AWS IoT: MQTT, mTLS, Bảo mật & Chính sách AWS, và JSON
3 Cấu hình AWS IoT & Ví dụ Đăng ký/Gửi MQTT
4 Xem xét & Cập nhật Mã Ví dụ Gửi/Nhận MQTT AWS IoT
5 AWS IoT Sử dụng Ví dụ MQTT SDK Đã Cập nhật

Giới thiệu khóa học

General Description & Background Information:

In this course, we'll develop a feature rich WiFi based application using the ESP-IDF (Espressif IoT Development Framework), Integrate an ESP-IDF Components & Sensors Library and configure the ESP32 to connect to AWS IoT and Publish/Subscribe messages via AWS IoT Core using the MQTT protocol.

WiFi is commonly incorporated into many IoT and Industrial IoT solutions and is the basis of the application developed in this course which enables AWS IoT cloud connectivity (or any compatible cloud framework that you choose).

The ESP32 is a series of low-cost, low-power, SoC (system on a chip) series of microcontrollers with integrated WiFi and dual-mode Bluetooth. The ESP-IDF is Espressif's official IoT Development Framework for the ESP32. It provides a self-sufficient SDK (software development kit) for any generic application development, using programming languages such as C and C++. ESP-IDF currently powers millions of devices in the field, and enables building a variety of network-connected products, ranging from simple light bulbs and toys, to big appliances and industrial devices.

The ESP-IDF runs FreeRTOS, which is widely used in embedded systems, so the techniques and knowledge you gain while developing IDF-based applications for the ESP32 will translate well should you use other MCUs running FreeRTOS. Additionally, the FreeRTOS kernel of the ESP-IDF is modified for multicore support and we will utilize both cores of the ESP32 in this course.

If you are interested in working with the ESP32 and are serious about improving your embedded software development skills while getting to know this incredible SoC, then harnessing the capabilities of the ESP-IDF directly, is an excellent way to go.

The IDF is well designed, and once you get going, implementing new features becomes a breeze. Further, any new updates, bugfixes, or changes to the ESP-IDF can be immediately available to you in a flexible way without having to wait for the Arduino port to be written.

About the Course:

For many, the best way to learn is to start with a project, which is why in this course, I have created a robust WiFi based application that is able to connect to a cloud framework (AWS IoT in this case), as a learning tool - as opposed to demonstrating tiny examples that you could easily find online.

The intended outcome of this course, is that you become comfortable developing applications using the ESP-IDF, gain insight from the application code, inspiration for your own projects and ultimately, save you time in learning to use various components of the ESP-IDF.

By working through this project, programming step-by-step through each lesson, I'm confident that you will feel comfortable developing an extensible WiFi based application and integrating a cloud framework using the ESP-IDF, or any application using the ESP-IDF, as it will become apparent how to create a plan of action when using Espressif's IoT Development Framework -> utilizing the Espressif documentation, looking up the API reference and relevant functions, and applying what makes sense to accomplish your goals.

Furthermore, in this course we will not focus on theory as this is a practical application programming course where you learn by doing. However, I will briefly present background information about the ESP-IDF application programming interface that applies to each section and a brief overview of the application requirements for each section. These overviews will describe what will be accomplished and how we are going to accomplish it using the ESP-IDF.

Lastly, I have chosen to develop this project utilizing the ESP-IDF Eclipse Plugin (or Espressif IDE), which is available for Windows, MacOS, and Linux, and provides an all-in-one installation that includes the Eclipse IDE, and all prerequisites required for ESP32 development; enabling us to get started with programming, flashing and monitoring the ESP32 directly after installing. The setup process is quite easy and efficient, especially for Windows users... 

Other Noteworthy Highlights:

Modular programming style used.

Utilize both cores of the ESP32 and create tasks using xTaskCreatePinnedToCore.

Use FreeRTOS message queues for inter-task communication.

And, FreeRTOS binary semaphore for signalization from an interrupt service routine (ISR).

State machine in WiFi application allows for future growth and customization.

Use Non-Volatile storage for saving and loading WiFi credentials for connecting the ESP32.

Learn an efficient workflow for developing an HTTP server and web page.

Learn how to implement an OTA (over the air) firmware update over the WLAN by sending the update file via a web page to the ESP32.

Learn how to integrate a cloud framework - we will integrate the ESP AWS IoT framework to enable communication with AWS IoT Core.

Learn how to publish data (e.g., temperature, humidity and WiFi  RSSI) from the ESP32 to AWS IoT using the MQTT protocol.

Learn how to subscribe & publish data to and from the AWS Dashboard.

Learn how to integrate an ESP-IDF Components & Sensors Library.

Hardware:

- ESP32 DevKit

- RGB LED and Resistors

- DHT22 Sensor or any sensor(s) from the ESP-IDF Components & Sensors Library

- Jumper Wires

- Breadboard

Software:

- ESP-IDF Eclipse (Espressif IDE)

We'll use Google Chrome for testing the web page functionality

Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học C Programming
Hiển thị tất cả khoá học Embedded Systems
Hiển thị tất cả khoá học Iot Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊