CPU / main boards

ESP32-S2-DevKitM

Wi-Fi only, with native USB. For accessories that skip Bluetooth.

CPU / main boards Wi-Fi onlyNative USB ESP32-S2

01 Overview

The ESP32-S2-DevKitM is a development board based on the ESP32-S2, supporting Wi-Fi 4 only, with no Bluetooth. It provides a native USB interface, suitable for accessories or controllers that need USB connectivity but not Bluetooth.

The core problem it solves: when the product explicitly does not require phone BLE provisioning or near-field communication, dropping Bluetooth reduces RF complexity, power consumption, and certification costs.

Typical applications include USB gadgets, devices that only need LAN control, and IoT nodes that require wired or SoftAP provisioning.

It is not a general-purpose development board; it does not support Bluetooth, so it is unsuitable for projects requiring BLE communication or provisioning.

For scenarios requiring phone near-field provisioning or Bluetooth, choose ESP32-S3 or ESP32-C3.

02 Hardware

  • Chip: ESP32-S2, single-core Xtensa LX7, up to 240 MHz.
  • Radio: Wi-Fi 4 (802.11 b/g/n) only, no Bluetooth.
  • USB: Native USB 1.1 device/host, supporting USB-CDC and USB-OTG.
  • I/O: Compact DevKitM size, most GPIOs broken out, including SPI, I2C, UART, ADC, DAC.
  • Power: Powered via USB or 5V/3.3V pins, with onboard LDO regulator.
  • Watch: No GATT / BLE provisioning — use SoftAP or a cable.
  • Layout: Keep antenna area clear of metal to avoid Wi-Fi performance degradation.

03 Software flow

In ESP-IDF, select target chip ESP32-S2 and configure Flash and PSRAM options accordingly.

Flash and run the hello_world example to verify basic board functionality.

Run the Wi-Fi Station or SoftAP example to test Wi-Fi connectivity and provisioning flow.

Use native USB features, such as USB-CDC serial or USB-OTG peripherals.

Implement provisioning logic: use SoftAP or send Wi-Fi credentials over USB serial.

Note: Do not copy GATT init code from an ESP32 project, as S2 does not support Bluetooth.

Use this board's pinout and USB port for hardware connections, avoiding unexposed pins.

04 Core points

Pick S2 when you want Wi-Fi and USB and you truly do not want Bluetooth. For phone-side setup, use S3 or C3.

Do not copy Bluetooth-related code from ESP32 projects; S2 has no Bluetooth.

Design provisioning as SoftAP or wired, not BLE.

Watch for pin conflicts between USB and serial pins.

Keep the Wi-Fi antenna area clear to avoid signal issues.

中文

主控 / CPU

ESP32-S2-DevKitM

只有 Wi-Fi,带原生 USB。适合不做蓝牙的配件。

主控 / CPU 仅 Wi-Fi原生 USB ESP32-S2

01 项目概述

ESP32-S2-DevKitM 是一款基于 ESP32-S2 的开发板,仅支持 Wi-Fi 4,无蓝牙。它提供原生 USB 接口,适合需要 USB 连接但不需要蓝牙的配件或控制器。

该板解决的核心问题是:当产品明确不需要手机 BLE 配网或近场通信时,去掉蓝牙可以减少射频复杂度、功耗和认证成本。

典型应用包括 USB 小工具、仅需局域网控制的设备、以及需要有线或 SoftAP 配网的 IoT 节点。

它不是通用开发板,不支持蓝牙,因此不适合需要 BLE 通信或配网的项目。

对于需要手机近场配网或蓝牙功能的场景,应选择 ESP32-S3 或 ESP32-C3。

02 项目硬件描述

  • 芯片: ESP32-S2,单核 Xtensa LX7,主频最高 240 MHz。
  • 无线: 仅 Wi-Fi 4(802.11 b/g/n),无蓝牙。
  • USB: 原生 USB 1.1 设备/主机,支持 USB-CDC 和 USB-OTG。
  • 引出: 紧凑 DevKitM 尺寸,引出大部分 GPIO,包括 SPI、I2C、UART、ADC、DAC 等。
  • 电源: 通过 USB 或 5V/3.3V 引脚供电,板载 LDO 稳压。
  • 注意: 不能走 GATT / BLE 配网;配网要用 SoftAP 或有线。
  • 布局: 天线区域需净空,避免金属遮挡影响 Wi-Fi 性能。

03 项目软件流程描述

在 ESP-IDF 中选择目标芯片 ESP32-S2,并配置相应的 Flash 和 PSRAM 选项。

烧录并运行 hello_world 示例,验证开发板的基本功能。

运行 Wi-Fi Station 或 SoftAP 示例,测试 Wi-Fi 连接和配网流程。

使用原生 USB 功能,如 USB-CDC 串口或 USB-OTG 外设。

实现配网逻辑:使用 SoftAP 或通过 USB 串口发送 Wi-Fi 凭据。

注意:不要从 ESP32 工程中复制 GATT 初始化代码,因为 S2 不支持蓝牙。

根据本板的引脚定义和 USB 口进行硬件连接,避免使用未引出的引脚。

04 项目核心点

产品只要 Wi-Fi 和 USB、刻意不要蓝牙时选 S2。需要手机近场,换 S3 或 C3。

不要从 ESP32 工程中复制蓝牙相关代码,S2 没有蓝牙。

配网方式需设计为 SoftAP 或有线,不能依赖 BLE。

注意 USB 引脚和串口引脚的复用,避免冲突。

Wi-Fi 天线区域需净空,避免影响信号。