Public projects
Thirty Espressif examples. Use them to decide whether this architecture can become your ESP32 board and firmware.
- EDA-Piano: 12-Key Touch Piano (ESP8266 + SC12B) — A low-cost 12-key touch piano based on ESP8266 and SC12B, with chord support, OLED display, and WiFi control.
- BBTalkie: A Hands-Free Mini Walkie-Talkie Based on ESP32 — A portable ESP32-based walkie-talkie that uses an embedded neural network for voice activity detection and keyword spotting, enabling push-to-talk-free operation.
- Blink status LED — The first proof a board is alive. On a product this is the power or status lamp.
- Hello World UART heartbeat — Tells you in one page whether the toolchain, flash path and serial monitor work.
- Wi-Fi Station join — Join an existing router and get an IP. Almost every cloud product starts here.
- Wi-Fi SoftAP hotspot — The device hosts its own hotspot for phone-based provisioning or local control.
- Wi-Fi Scan — List nearby APs and RSSI. Used for channel choice and provisioning lists.
- Wi-Fi Power Save — Stay associated with less current. Required reading for battery products after Station.
- HTTP Server local page — Serve a page on the device to change settings. Common for small-batch debug.
- HTTP Client to the cloud — Device-side GET/POST. Fits REST backends.
- MQTT TCP telemetry — The usual channel for sensors and remote commands.
- SNTP time sync — Where time comes from when there is no RTC chip. Logs and TLS depend on it.
- BLE GATT Server — A phone finds and controls the device. Starting point for local setup.
- BLE GATT Client — The module reads someone else’s sensor or wearable.
- Deep Sleep — How a battery node sleeps and wakes. Wake pins must not float.
- Light Sleep — Faster wake than deep sleep, with more state kept.
- Native OTA — How firmware is updated after shipment. Partition tables start on board one.
- NVS persistent keys — SSID, calibration and serial belong here, not in RAM.
- SPIFFS small filesystem — Pages, tiny logs and cert files can live in flash.
- GPIO in and out — Buttons, relays, level detect. The I/O baseline.
- UART Echo — Starting point for meters, PLCs and modules. RS485 is only a level shift.
- I2C simple read/write — Humidity, IMU, display bridges — most sensors live here.
- SPI Master — Bus for displays, external flash and fast ADCs.
- ADC analog sample — Battery voltage and analog sensors. Attenuation and calibration matter.
- LEDC PWM — Dimming, fans, servos. Hardware PWM, not bit-bang.
- RMT LED strip — WS2812-class strips. RMT for timing; EMI for certification.
- TWAI / CAN — Industrial and automotive bus. The chip is a controller; you still need a transceiver.
- Modbus — The language existing industrial hosts already speak. Serial or TCP.
- SD card storage — Field logs for the customer. Design the slot for hot-plug.
- mDNS LAN discovery — Find the device on the LAN without memorising its IP.
- Wi-Fi Provisioning — How a production unit receives its SSID. Required to ship.
- Console factory CLI — The factory test port. Do not leave debug commands open for end users.
中文
公开项目
三十个乐鑫官方案例。用来判断这套架构能不能做成你的 ESP32 板和固件。
- EDA-Piano 简易电子琴(ESP8266 + SC12B) — 基于 ESP8266 和 SC12B 触摸芯片的 12 键电子琴,支持和弦、OLED 显示和 WiFi 控制。
- BBTalkie:基于 ESP32 的免按键迷你对讲机 — 一款基于 ESP32 的便携对讲机,内置嵌入式神经网络,自动检测人声并识别关键词,无需按键即可通话。
- Blink 指示灯 — 第一块板活没活,先看这颗灯。量产产品里它就是电源/状态指示。
- Hello World 串口心跳 — 工具链、烧录、串口监控是否通,这一页就能判断。
- Wi-Fi Station 入网 — 设备加入现有路由器并拿到 IP。上网产品几乎都从这里开始。
- Wi-Fi SoftAP 热点 — 设备自建热点,手机连接后用于配网或本地控制。
- Wi-Fi Scan 扫网 — 列出周围热点和信号,用来选信道、做配网列表。
- Wi-Fi Power Save 省电 — 连着路由器时如何少耗电。电池产品在 Station 之后必读。
- HTTP Server 本地网页 — 设备开网页改参数。小批量调试和本地控制常用。
- HTTP Client 请求云端 — 设备主动 GET/POST。对接 REST 云或自己的后台。
- MQTT TCP 上报 — 传感上报和远程命令最常见的通道。
- SNTP 对时 — 没有 RTC 芯片时,时间从网上来。日志和证书都靠它。
- BLE GATT Server — 手机发现并控制设备。近场配置和控灯/控锁的起点。
- BLE GATT Client — 模组去读别人的传感器或手环类设备。
- Deep Sleep 深度睡眠 — 电池节点怎么睡、怎么醒。唤醒脚不能浮空。
- Light Sleep 浅睡 — 要比深睡更快醒来时用。状态可保留得更多。
- Native OTA 远程升级 — 出货后固件怎么安全更新。分区表从第一块板就要定。
- NVS 掉电保存 — SSID、标定值、序列号要放这里,不能只放 RAM。
- SPIFFS 小文件系统 — 网页、小日志、证书文件可以放 Flash 文件系统。
- GPIO 通用输入输出 — 按键、继电器、电平检测。产品 IO 的基础课。
- UART Echo 串口 — 接电表、PLC、模组的起点。RS485 只是电平转换。
- I2C 简单读写 — 温湿度、加速度计、屏幕桥,大多数传感器走这里。
- SPI Master — 屏幕、外置 Flash、高速 ADC 的总线。
- ADC 模拟采集 — 电池电压、模拟传感器。注意衰减和校准。
- LEDC PWM — 调光、风扇、舵机。用硬件 PWM 而不是软件翻转。
- RMT 灯带 — WS2812 一类灯带。时序走 RMT,认证时要注意骚扰。
- TWAI / CAN — 工业与汽车总线。芯片是 TWAI 控制器,外面还要收发器。
- Modbus — 进现有工业主机的常用语言。串口或 TCP。
- SD 卡存储 — 现场日志、导出给客户。卡槽和电源要按热插拔想。
- mDNS 局域网发现 — 不用记 IP,电脑和手机在局域网里找到设备。
- Wi-Fi Provisioning 配网 — 量产设备第一次如何把 SSID 交给芯片。出货必做。
- Console 产测指令 — 工厂测试口。不要把调试命令留给最终用户乱开。