|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/esp32-wifi-lessons/
课程评论:没有评论
课程名称:ESP32 WIFI 教程 课程概述:本课程专注于基于 ESP32 的 WIFI 通信,涵盖了 TCP、UDP、Http、WebSocket 和 MQTT 等协议。所有代码都经过在 ESP32_idf_sdk_ver4.4.1 上测试。视频中,我们使用命令行编译环境来编译和测试代码。 (1) TCP部分:讨论 ESP32 lwIP 套接字 TCP 服务器端和客户端的工作流程,并演示如何使用计算机的 TCP 服务器软件或 TCP 客户端软件与 ESP32 设备进行通信。 (2) UDP部分:阐述 TCP 和 UDP 之间的区别,并比较二者的工作流程,同时编程 ESP32 设备以实现 UDP 代码,并演示如何与计算机的 UDP 软件进行沟通。 (3) HTTP部分:深入探讨 HTTP 协议的每一个细节,包括 HTTP GET、POST、PUT 请求方法,并演示如何在 ESP32 开发板上通过不同方法从互联网获取网页数据。 (4) WebSocket部分:讨论使用 WebSocket 的必要性及其数据格式,并演示 WebSocket 服务器、脚本以及客户端的工作机制。 (5) MQTT部分:介绍 MQTT 协议,演示如何在 ESP32 上从客户端和服务器端实现 MQTT 的工作。 (6) ESPNow部分:解释 ESPNow 协议、数据格式,并演示如何使用 ESPNow 发送、接收和广播数据。 本课程适合希望深入学习 ESP32 WIFI 通信的学生及开发者,具备基础的编程知识将有助于更好地理解课程内容。
This course focus on ESP32 WIFI communication based on the following protocols: TCP, UDP, Http, WebSocket and MQTT. All the code has been tested on ESP32_idf_sdk_ver4.4.1. In the videos, we use the command line compile environment to compile and test the code.(1) For TCP, we discuss the ESP32 lwIP socket TCP work stand flow from both the server side and the client side. And demo how to communicate ESP32 device with the computer TCP server software or the computer TCP Client software.(2) For UDP, we discuss the difference between the TCP and UDP, and compare the work flow of UDP with TCP work flow, and also we program the ESP32 device with UDP code, demo it how to communicate with PC UDP software.(3) For Http, we discuss every detail about the Http protocol, including http get, post, put, request methods, and demo how we run the code on ESP32 board to get web page data through the different methods from internet.(4) For WebSocket, we discuss why we need the websocket and the websocket data format, and demo how the websocket work from the websocket server, the websocket script and the websocket client.(5) For Mqtt, we discuss the Mqtt protocol, and demo how the Mqtt works on ESP32 from the client and server side. (5) For ESPNow, we discuss the espnow protocol, data format and demo how to send, receive and broadcast data by using espnow.