百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
E

ESP32-OTA

> 编程语言
开源

ESP32 OTA Over-The-Air (OTA) 更新模板,适用于 ESP32。视频教程: https://www.youtube.com/watch?v=1pwqSNUG7Q ⚠️ 重要提示: 设置 OTA 更新时,请确保您的设备已连接到 WiFi 网络。

181 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

ESP32 OTA Over-The-Air (OTA) 更新模板,适用于 ESP32。视频教程: https://www.youtube.com/watch?v=1pwqSNUG7Q ⚠️ 重要提示: 设置 OTA 更新时,请确保您的设备已连接到 WiFi 网络。

ESP32 OTA

Over-The-Air (OTA) update template for ESP32.

Video Tutorial: https://www.youtube.com/watch?v=1pwqS_NUG7Q

⚠️ Important

The setupOTA() function replaces WiFi.begin() - do not call both! The setupOTA() function handles WiFi connection internally.

cpp
// ❌ Wrong - don't do this
WiFi.begin(ssid, password);
setupOTA("DeviceName", ssid, password);

// ✅ Correct - setupOTA handles WiFi
setupOTA("DeviceName", ssid, password);

⚙️ Configuration

WiFi Credentials

Create a credentials.h file in the sketch folder:

cpp
#pragma once
const char* mySSID = "your-wifi-name";
const char* myPASSWORD = "your-wifi-password";

Or comment out #include and define credentials directly in the sketch.

Examples

Folder Description
0TA_Template_Sketch/ Basic OTA template
0TA_Template_Sketch_TelnetStream/ OTA with Telnet debugging

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言