ESP32-WROOM-32E

WROOM module · based on ESP32 (ESP32 (classic)) · Active

  • Xtensa LX6
  • 2× @ 240 MHz
  • Wi-Fi 4
  • BT Classic + BLE
  • 4 / 8 / 16 MB flash
  • 2 MB PSRAM
  • 26 GPIO
  • PCB antenna
Check price on AliExpress →

As an affiliate we may earn from qualifying purchases. Prices and availability are set by AliExpress.

Loading 3D model…

Interactive 3D model · drag to rotate

Every figure here is checked against Espressif’s official datasheets. We’ve taken every care to keep it accurate — but datasheets are dense and mistakes happen, so if something looks off, please report it.

The ESP32-WROOM-32E is a general-purpose Espressif module built on the ESP32 dual-core Xtensa LX6 SoC clocked up to 240 MHz. It pairs 2.4 GHz Wi-Fi 4 and Bluetooth Classic + LE with up to 16 MB flash and up to 2 MB PSRAM, routes the radio to a PCB antenna, and breaks out 26 GPIO; the module measures 18 × 25.5 × 3.1 mm.

The extra PSRAM gives headroom for framebuffers, audio buffers and richer touch GUIs. Secure boot and flash encryption are available for production security. Espressif lists target uses including Smart Home, Audio Devices, Industrial Automation, Generic Low-power IoT Sensor Hubs and Health Care.

Colour-coded by function · safe · ! use with care · reserved (flash/USB). Generated from the datasheet — not an official Espressif figure.
ESP32-WROOM-32E pinout diagram — pins colour-coded by function with safe and use-with-care badges
#NameTypeFunctions
1GNDP Ground
23V3P Power supply
3ENI Chip enable
4SENSOR_VPI GPIO36, ADC1_CH0, RTC_GPIO0
5SENSOR_VNI GPIO39, ADC1_CH3, RTC_GPIO3
6IO34I GPIO34, ADC1_CH6, RTC_GPIO4
7IO35I GPIO35, ADC1_CH7, RTC_GPIO5
8IO32I/O GPIO32, XTAL_32K_P (32.768 kHz crystal oscillator input), ADC1_CH4, TOUCH9, RTC_GPIO9
9IO33I/O GPIO33, XTAL_32K_N (32.768 kHz crystal oscillator output), ADC1_CH5, TOUCH8, RTC_GPIO8
10IO25I/O GPIO25, DAC_1, ADC2_CH8, RTC_GPIO6, EMAC_RXD0
11IO26I/O GPIO26, DAC_2, ADC2_CH9, RTC_GPIO7, EMAC_RXD1
12IO27I/O GPIO27, ADC2_CH7, TOUCH7, RTC_GPIO17, EMAC_RX_DV
13IO14I/O GPIO14, ADC2_CH6, TOUCH6, RTC_GPIO16, MTMS, HSPICLK, HS2_CLK, SD_CLK, EMAC_TXD2
14IO12I/O GPIO12, ADC2_CH5, TOUCH5, RTC_GPIO15, MTDI, HSPIQ, HS2_DATA2, SD_DATA2, EMAC_TXD3
15GNDP Ground
16IO13I/O GPIO13, ADC2_CH4, TOUCH4, RTC_GPIO14, MTCK, HSPID, HS2_DATA3, SD_DATA3, EMAC_RX_ER
17NC- See note 2
18NC- See note 2
19NC- See note 2
20NC- See note 2
21NC- See note 2
22NC- See note 2
23IO15I/O GPIO15, ADC2_CH3, TOUCH3, MTDO, HSPICS0, RTC_GPIO13, HS2_CMD, SD_CMD, EMAC_RXD3
24IO2I/O GPIO2, ADC2_CH2, TOUCH2, RTC_GPIO12, HSPIWP, HS2_DATA0, SD_DATA0
25IO0I/O GPIO0, ADC2_CH1, TOUCH1, RTC_GPIO11, CLK_OUT1, EMAC_TX_CLK
26IO4I/O GPIO4, ADC2_CH0, TOUCH0, RTC_GPIO10, HSPIHD, HS2_DATA1, SD_DATA1, EMAC_TX_ER
27IO16I/O GPIO16, HS1_DATA4, U2RXD, EMAC_CLK_OUT
28IO17I/O GPIO17, HS1_DATA5, U2TXD, EMAC_CLK_OUT_180
29IO5I/O GPIO5, VSPICS0, HS1_DATA6, EMAC_RX_CLK
30IO18I/O GPIO18, VSPICLK, HS1_DATA7
31IO19I/O GPIO19, VSPIQ, U0CTS, EMAC_TXD0
32NC- -
33IO21I/O GPIO21, VSPIHD, EMAC_TX_EN
34RXD0I/O GPIO3, U0RXD, CLK_OUT2
35TXD0I/O GPIO1, U0TXD, CLK_OUT3, EMAC_RXD2
36IO22I/O GPIO22, VSPIWP, U0RTS, EMAC_TXD1
37IO23I/O GPIO23, VSPID, HS1_STROBE
38GNDP Ground
Official datasheet pin-layout figure
ESP32-WROOM-32E datasheet pin layout (top view)

Find a pin by function

Pick a capability to see which GPIOs provide it on the ESP32.

Freely usable, no special role.

GPIO4general-purpose! ADC2 — unusable while Wi-Fi is on
GPIO16general-purpose
GPIO17general-purpose
GPIO18general-purpose
GPIO19general-purpose
GPIO21general-purpose
GPIO22general-purpose
GPIO23general-purpose
GPIO25general-purpose! ADC2 — unusable while Wi-Fi is on
GPIO26general-purpose! ADC2 — unusable while Wi-Fi is on
GPIO27general-purpose! ADC2 — unusable while Wi-Fi is on
GPIO32general-purpose
GPIO33general-purpose

! Usable for general IO, but one function has a condition (e.g. ADC2 can’t be read while Wi-Fi is on) — see the note.

UART, I²C, SPI (master), I²S, PWM/LEDC and most digital peripherals route through the GPIO matrix — assign them to any pin from “Safe GPIO”. The categories above are the pins tied to a fixed function (analog, USB, crystal…) or that need care.

Strapping pins

⚑ flag an error

GPIOs sampled at reset — avoid driving these at power-up.

PinDefaultBitFunction
GPIO0pull-up1boot_mode
GPIO2pull-down0boot
MTDIpull-down0flash_voltage
MTDOpull-up1rom_log
GPIO5pull-up1sdio_timing

GPIO pin warnings

⚑ flag an error

On the ESP32, almost any peripheral can be routed to almost any GPIO through the IO MUX, so most pins are free to use. These are the exceptions — pins with a fixed role or a boot-time behaviour to design around.

PinWhy it needs care
GPIO0strapping pin (affects boot)
GPIO1UART0 console (boot log)
GPIO2strapping pin (affects boot)
GPIO3UART0 console (boot log)
GPIO5strapping pin (affects boot)
GPIO12strapping pin (affects boot); JTAG
GPIO13JTAG
GPIO14JTAG
GPIO15strapping pin (affects boot); JTAG
GPIO34input-only (no output/pull-up)
GPIO35input-only (no output/pull-up)
GPIO36input-only (no output/pull-up)
GPIO39input-only (no output/pull-up)
  • The ADC2 channels share hardware with the Wi-Fi radio, so ADC2 readings are unavailable while Wi-Fi is active — but those GPIOs are still free for any digital function. Use the ADC1 channels for analog input alongside Wi-Fi.

Compute & memory

⚑ flag an error
CPUXtensa LX6, 2-core
Max clock240 MHz
SRAM520 KB
ROM448 KB
Flash options4 / 8 / 16 MB
PSRAM2 MB (quad)
Co-processorULP-FSM
Wi-FiWi-Fi 4
Wi-Fi bands2.4GHz
BluetoothBT Classic + BLE
802.15.4 (Thread/Zigbee)No
AntennaPCB

Peripherals & I/O

⚑ flag an error
Usable GPIO26
ADC18× 12-bit
USBUSB-Serial(external)
UART / SPI / I²C / I²S3 / 2 / 2 / 2
TWAI (CAN)Yes
SD/MMCYes
Ethernet MACYes
Touch10
Operating voltage3.0-3.6 V
Deep sleep10 µA
Dimensions18 × 25.5 × 3.1 mm
Pin count38
Temp range-40 to 85 °C
MountingSMD castellated
LifecycleActive
Secure bootYes
Flash encryptionYes
CryptoAES, SHA, RSA, RNG
Digital signatureNo
TRNGYes

Ordering codes

⚑ flag an error

The orderable part numbers and what each ships with — decoded from the suffix. Confirm against the latest datasheet before ordering.

Part numberFlashPSRAMTemp
ESP32-WROOM-32E-N4 4 MB −40 to 85 °C
ESP32-WROOM-32E-N8 8 MB −40 to 85 °C
ESP32-WROOM-32E-N16 16 MB −40 to 85 °C
ESP32-WROOM-32E-H4 4 MB −40 to 105 °C
ESP32-WROOM-32E-H8 8 MB −40 to 105 °C
ESP32-WROOM-32E-N4R2 4 MB 2 MB (quad) −40 to 85 °C
ESP32-WROOM-32E-N8R2 8 MB 2 MB (quad) −40 to 85 °C
ESP32-WROOM-32E-N16R2 16 MB 2 MB (quad) −40 to 85 °C

Schematics

ESP32-WROOM-32E module reference-design schematic
Module reference design
ESP32-WROOM-32E peripheral / application schematic showing how to wire the module
Peripheral / application circuit — how to wire it up

Mechanical & CAD

ESP32-WROOM-32E physical dimensions drawing
Physical dimensions
ESP32-WROOM-32E recommended PCB land pattern
Recommended PCB land pattern

Getting started

Frameworks: Arduino-ESP32 core — fully supported · ESP-IDF 3.0+ (Espressif's official SDK) · MicroPython.

ESP-IDF target: idf.py set-target esp32.

Programming uses UART — most dev boards include a USB-to-UART bridge; for the bare module add your own (e.g. CP2102/CH340).

Open-source projects using this module

Public GitHub projects whose KiCad design files reference the ESP32-WROOM-32E.

+ Add your project

Frequently asked questions

Does the ESP32-WROOM-32E have Wi-Fi and Bluetooth?

It provides 2.4 GHz Wi-Fi 4 and Bluetooth Classic + LE.

How much memory does the ESP32-WROOM-32E have?

It comes with 4, 8, 16 MB flash options, up to 2 MB of PSRAM, and the ESP32 has 520 KB of on-chip SRAM.

How many GPIO pins does the ESP32-WROOM-32E have?

The module breaks out 26 GPIO, with up to 18 12-bit ADC channels. See the full pinout above.

Can I use the ESP32-WROOM-32E with the Arduino IDE?

Yes — install the Arduino-ESP32 core and pick an ESP32-based board. You can also use ESP-IDF 3.0 or MicroPython.

How do I flash the ESP32-WROOM-32E?

Programming uses UART — most dev boards include a USB-to-UART bridge; for the bare module add your own (e.g. CP2102/CH340).

Is the ESP32-WROOM-32E 5 V tolerant?

No. It runs at 3.0-3.6 V and its GPIO are not 5 V tolerant — level-shift any 5 V signals.

Can I use an external antenna with the ESP32-WROOM-32E?

Most Espressif modules are also offered in a "-U" / "-1U" variant that swaps the on-board PCB antenna for a U.FL/IPEX connector for an external antenna — otherwise identical. Check this part's datasheet for the exact variant name.

Further reading