跳至内容
本页目录

ESP32-DevKitC

类型:板卡 · 厂商: espressif · 芯片: ESP32

乐鑫官方 ESP32 评估板。V4(现行)在双 19 针排针(J2/J3)上搭载 ESP32-WROOM-32E/32UE 或 ESP32-WROVER-E/IE 模组,单一 micro-USB 口经 USB 转 UART 桥供电通信,带 EN/Boot 按键与 5 V 上电 LED。本板没有用户可编程的板载 RGB LED。

ESP32-DevKitC 是乐鑫经典的 ESP32 评估板。当前 V4 在双 19 针排针(J2/J3)上装配 ESP32-WROOM-32E、-32UE、-WROVER-E 或 -WROVER-IE 模组,经 USB 转 UART 桥(最高 3 Mbps)提供唯一一个 micro-USB 口,配有 EN/Boot 按键与 5 V 上电 LED。本页渲染 MCUID 的板卡数据记录:修订、订购变体、完整排针映射,以及每个发布字段对应的固定官方来源。

开始开发

  • 上手——首烧指南逐步讲接口、线缆与第一次 blink。
  • 芯片能力与限制——ESP32 芯片页区分芯片提供什么与本板怎么接线。

本站回答的常见问题

亦称:esp32-devkitc, esp32-devkitc-v4, esp32 devkitc。

没有用户可编程的板载 LED

与带可寻址 RGB LED 的 ESP32-S3-DevKitC-1 不同,DevKitC V4 的元件清单里没有任何用户 LED——只有 5 V 上电 LED,且不可编程。需要闪烁灯的话,把一个 LED 接到空闲 GPIO。本板也只有一个 USB 口(UART 桥);经典 ESP32 在此板上没有原生 USB 连接器。

需要避开的引脚

两条互相独立的限制,均来自官方排针表脚注:

  • GPIO6–11(D0、D1、D2、D3、CMD、CLK)——在所有变体上都用于 ESP32 与 SPI flash 之间的内部通信。使用它们可能破坏 flash/SPI RAM 访问。它们在上方引脚图中显示为紫色。
  • GPIO16/17(J3 触点 11/12)——仅在装配 ESP32-WROOM(或 ESP32-SOLO-1)模组的板上可用。装配 ESP32-WROVER 模组的板上这两脚保留为内部使用:WROVER 的 PSRAM 接线占用了它们。使用前先确认你这块板的订购变体。

启动模式与供电

按住 BOOT 再按 EN 进入固件下载模式。供电恰好来自三条互斥路径之一——micro-USB(默认)、5V+GND 引脚或 3V3+GND 引脚;官方指南警告同时经两条路径反向供电可能损坏板卡和/或电源。

关于 C15(早期 V4 板卡)

较早批次的 V4 板上,元件 C15 可能导致误入下载模式启动与 GPIO0 时钟扰动。乐鑫文档给出的处置是移除该元件——固定来源见上方 V4 修订摘要。

订购变体速查

V4 订购变体的官方记法:ESP32-DevKitC-32E 与 ESP32-DevKitC-32UE(WROOM-32E/-32UE,4 MB flash,无 PSRAM)、ESP32-DevKitC-VE(WROVER-E,8 MB flash + 8 MB PSRAM)与 ESP32-DevKitC-VIE(WROVER-IE,8 MB + 8 MB,外置天线连接器)。变体决定 GPIO16/17 是否可用——见上文需要避开的引脚。完整变体表见订购变体。

ESP32-S3 兄弟板

找的是 S3 世代?见 ESP32-S3-DevKitC-1——它在 UART 桥之外还有原生 USB OTG 口,且 RGB LED 随修订变化(v1.0 在 GPIO48,v1.1 在 GPIO38)。

2D 引脚图

未选择修订——在上方选择修订即可读取其文档摘要。与修订无关的事实(含板载 LED GPIO,凡已发布者)无论是否选择都列在发布字段表中。

较早一代板卡,搭载 ESP32-WROOM-32 模组;官方指南将其标注为已淘汰并链接到 V4 指南。 · DevKitC V2 guide

现行板卡,搭载 ESP32-WROOM-32E(订购变体还有 32UE、WROVER-E、WROVER-IE)。关于 C15:早期 V4 板可能因元件 C15 进入 Download 模式或出现 GPIO0 时钟扰动;乐鑫文档给出的处理办法是移除该元件。 · DevKitC V4 guide

ESP32-DevKitCJ2 触点 1:3V3(P)——3.3 V power supply3V3J2 触点 2:EN(I)——CHIP_PU, ResetENJ2 触点 3:VP(I)——GPIO36, ADC1_CH0, S_VPVPJ2 触点 4:VN(I)——GPIO39, ADC1_CH3, S_VNVNJ2 触点 5:IO34(I)——GPIO34, ADC1_CH6, VDET_1IO34J2 触点 6:IO35(I)——GPIO35, ADC1_CH7, VDET_2IO35J2 触点 7:IO32(I/O)——GPIO32, ADC1_CH4, TOUCH_CH9, XTAL_32K_PIO32J2 触点 8:IO33(I/O)——GPIO33, ADC1_CH5, TOUCH_CH8, XTAL_32K_NIO33J2 触点 9:IO25(I/O)——GPIO25, ADC2_CH8, DAC_1IO25J2 触点 10:IO26(I/O)——GPIO26, ADC2_CH9, DAC_2IO26J2 触点 11:IO27(I/O)——GPIO27, ADC2_CH7, TOUCH_CH7IO27J2 触点 12:IO14(I/O)——GPIO14, ADC2_CH6, TOUCH_CH6, MTMSIO14J2 触点 13:IO12(I/O)——GPIO12, ADC2_CH5, TOUCH_CH5, MTDIIO12J2 触点 14:GND(G)——GroundGNDJ2 触点 15:IO13(I/O)——GPIO13, ADC2_CH4, TOUCH_CH4, MTCKIO13J2 触点 16:D2(I/O)——GPIO9, D2 (used internally for SPI flash communication)D2J2 触点 17:D3(I/O)——GPIO10, D3 (used internally for SPI flash communication)D3J2 触点 18:CMD(I/O)——GPIO11, CMD (used internally for SPI flash communication)CMDJ2 触点 19:5V(P)——5 V power supply5VJ2J3 触点 1:GND(G)——GroundGNDJ3 触点 2:IO23(I/O)——GPIO23IO23J3 触点 3:IO22(I/O)——GPIO22IO22J3 触点 4:TX(I/O)——GPIO1, U0TXDTXJ3 触点 5:RX(I/O)——GPIO3, U0RXDRXJ3 触点 6:IO21(I/O)——GPIO21IO21J3 触点 7:GND(G)——GroundGNDJ3 触点 8:IO19(I/O)——GPIO19IO19J3 触点 9:IO18(I/O)——GPIO18IO18J3 触点 10:IO5(I/O)——GPIO5IO5J3 触点 11:IO17(I/O)——GPIO17 (WROOM/SOLO-1 assemblies only; reserved for internal use on WROVER boards)IO17J3 触点 12:IO16(I/O)——GPIO16 (WROOM/SOLO-1 assemblies only; reserved for internal use on WROVER boards)IO16J3 触点 13:IO4(I/O)——GPIO4, ADC2_CH0, TOUCH_CH0IO4J3 触点 14:IO0(I/O)——GPIO0, ADC2_CH1, TOUCH_CH1, BootIO0J3 触点 15:IO2(I/O)——GPIO2, ADC2_CH2, TOUCH_CH2IO2J3 触点 16:IO15(I/O)——GPIO15, ADC2_CH3, TOUCH_CH3, MTDOIO15J3 触点 17:D1(I/O)——GPIO8, D1 (used internally for SPI flash communication)D1J3 触点 18:D0(I/O)——GPIO7, D0 (used internally for SPI flash communication)D0J3 触点 19:CLK(I/O)——GPIO6, CLK (used internally for SPI flash communication)CLKJ3

power · ground · GPIO / 信号 · 被内部 flash/PSRAM 占用的 GPIO——或因本板设计,或因部分兼容模组(确切条件见所链接字段)

每个引脚块都是链接:点击或 Tab + Enter 跳到下方对应行;LED 引脚指向按修订区分的字段及其固定来源。所选修订与最近引脚可从 URL 哈希恢复(如 #rev=v1.1/pin=J3-10);未知修订值会被报告,绝不静默回退。

J2 触点表

Name, Type and Function columns are transcribed from the official V4 header-block table. Type legend: P = power supply, I = input, O = output, G = ground. · 来源: DevKitC V4 guide

编号名称类型GPIO功能(官方)
13V3P—3.3 V power supply
2ENI—CHIP_PU, Reset
3VPI36GPIO36, ADC1_CH0, S_VP
4VNI39GPIO39, ADC1_CH3, S_VN
5IO34I34GPIO34, ADC1_CH6, VDET_1
6IO35I35GPIO35, ADC1_CH7, VDET_2
7IO32I/O32GPIO32, ADC1_CH4, TOUCH_CH9, XTAL_32K_P
8IO33I/O33GPIO33, ADC1_CH5, TOUCH_CH8, XTAL_32K_N
9IO25I/O25GPIO25, ADC2_CH8, DAC_1
10IO26I/O26GPIO26, ADC2_CH9, DAC_2
11IO27I/O27GPIO27, ADC2_CH7, TOUCH_CH7
12IO14I/O14GPIO14, ADC2_CH6, TOUCH_CH6, MTMS
13IO12I/O12GPIO12, ADC2_CH5, TOUCH_CH5, MTDI
14GNDG—Ground
15IO13I/O13GPIO13, ADC2_CH4, TOUCH_CH4, MTCK
16D2I/O9GPIO9, D2 (used internally for SPI flash communication)
17D3I/O10GPIO10, D3 (used internally for SPI flash communication)
18CMDI/O11GPIO11, CMD (used internally for SPI flash communication)
195VP—5 V power supply

J3 触点表

Same table as J2. IO16/IO17 (contacts 11-12) are usable only on boards assembled with ESP32-WROOM or ESP32-SOLO-1 modules; boards with ESP32-WROVER modules have the pins reserved for internal use (PSRAM) - see the gpio.occupied_by_internal_storage claim on the WROVER module entries. · 来源: DevKitC V4 guide

编号名称类型GPIO功能(官方)
1GNDG—Ground
2IO23I/O23GPIO23
3IO22I/O22GPIO22
4TXI/O1GPIO1, U0TXD
5RXI/O3GPIO3, U0RXD
6IO21I/O21GPIO21
7GNDG—Ground
8IO19I/O19GPIO19
9IO18I/O18GPIO18
10IO5I/O5GPIO5
11IO17I/O17GPIO17 (WROOM/SOLO-1 assemblies only; reserved for internal use on WROVER boards)
12IO16I/O16GPIO16 (WROOM/SOLO-1 assemblies only; reserved for internal use on WROVER boards)
13IO4I/O4GPIO4, ADC2_CH0, TOUCH_CH0
14IO0I/O0GPIO0, ADC2_CH1, TOUCH_CH1, Boot
15IO2I/O2GPIO2, ADC2_CH2, TOUCH_CH2
16IO15I/O15GPIO15, ADC2_CH3, TOUCH_CH3, MTDO
17D1I/O8GPIO8, D1 (used internally for SPI flash communication)
18D0I/O7GPIO7, D0 (used internally for SPI flash communication)
19CLKI/O6GPIO6, CLK (used internally for SPI flash communication)

订购变体

订购型号模组FlashPSRAM天线状态
ESP32-DevKitC-32EESP32-WROOM-32E4 MB—pcbactive
ESP32-DevKitC-32UEESP32-WROOM-32UE4 MB—external-connectoractive
ESP32-DevKitC-VEESP32-WROVER-E8 MB8 MBpcbactive
ESP32-DevKitC-VIEESP32-WROVER-IE8 MB8 MBexternal-connectoractive

全部行的来源:DevKitC V4 guide (EOL 标记以该文档为准)。

发布字段

字段值适用范围状态来源注记
power_supply.optionsmicro_usb_port, 5v_and_gnd_pins, 3v3_and_gnd_pins全部修订verified · cc40 · 2026-11-08DevKitC V4 guideThree mutually exclusive supply paths; official warning: the board must be powered by exactly one option at a time, otherwise the board and/or the supply source can be damaged.
usb_uart.max_baud3 Mbps全部修订verified · cc40 · 2026-11-08DevKitC V4 guideV4 components table: 'USB-to-UART Bridge: Single USB-to-UART bridge chip, providing transfer rates up to 3 Mbps.' Single micro-USB port for both power and communication (unlike ESP32-S3-DevKitC-1, there is no native-USB connector).
boot_mode.buttonshold BOOT, then press EN全部修订verified · cc40 · 2026-11-08DevKitC V4 guideBoot button description: holding Boot and then pressing EN initiates Firmware Download mode for downloading firmware through the serial port.
power_led5 V Power On LED, not user-programmable全部修订verified · cc40 · 2026-11-08DevKitC V4 guideTurns on when USB or an external 5 V supply is connected. The V4 component list contains no user LED of any kind, so unlike ESP32-S3-DevKitC-1 there is no onboard blink LED.
gpio.flash_occupied6, 7, 8, 9, 10, 11全部修订verified · cc40 · 2026-11-08DevKitC V4 guideGuide footnote: D0, D1, D2, D3, CMD and CLK (GPIO6-11) are used internally for communication between ESP32 and the SPI flash memory; avoid using them as it may disrupt access to the SPI flash memory/SPI RAM.

兼容模组

  • ESP32-WROOM-32E — Wi-Fi + Bluetooth + BLE module built around the ESP32 series SoC (ESP32-D0WD-V3 / D0WDR2-V3, Xtensa dual-core LX6 up to 240 MHz) with on-board PCB antenna and integrated SPI flash (4/8/16 MB options per the module datasheet).
  • ESP32-WROOM-32UE — Same platform as ESP32-WROOM-32E but with an external antenna connector instead of the on-board PCB antenna.
  • ESP32-WROVER-E — Wi-Fi + Bluetooth + BLE module on a PCB antenna with integrated SPI flash and PSRAM (module family offers N4R8, N8R8, N16R8, plus EOL N4R2 per the module datasheet).
  • ESP32-WROVER-IE — Same platform as ESP32-WROVER-E but with an external antenna connector instead of the on-board PCB antenna.