Wemos D1 R32 (ESP32 Uno) pinout

Wemos D1 R32 (ESP32 in the Arduino Uno form factor), ESP32, 3.3 V logic, 68.58×53.34 mm, 41 pins

partly verified20.10.2026

No GPIO tolerates 5 V, ADC2 doesn't work with Wi-Fi on, outlined: default in Arduino.

Top view, USB and DC jack on the left, ESP32 module with the antenna to the right, rotated 90° on the diagram.

CompareDownload PNG
Chip
ESP32, ESP32-WROOM-32
Logic
3.3 V
Power
Micro-USB 4.75-5.25 VVIN / DC jack 5-12 V5V
Defaults in Arduino (ESP32 core, WEMOS D1 R32 board)
I2C: SDA 21, SCL 22SPI: MOSI 23, MISO 19, SCK 18, SS 5UART: TX 1, RX 3LED: 2

Which Wemos D1 R32 (ESP32 Uno) pins are safe to use

Free to use

GPIO3, GPIO4, GPIO13, GPIO14, GPIO16-19, GPIO21-23, GPIO25-27, GPIO32, GPIO33

Use with care

  • GPIO0, GPIO2, GPIO5, GPIO12, GPIO15: strapping: the level at power-up selects the boot mode.
  • GPIO1: signal at boot.
  • GPIO34-36, GPIO39: input only, no output and no pull-ups.

Leave alone

  • GPIO6-11: flash and PSRAM memory.

Important

  • 3.3 V logic: do not apply 5 V to IO pins. 5 V Uno shields (with 5 V signals) will damage the ESP32 without a level shifter.
  • Pin numbers in the sketch are GPIO numbers, as on the silkscreen (IO18 is 18). The Uno core names D2, D13, A0 also work if you select the WEMOS D1 R32 board.
  • A4 and A5 here are IO36 and IO39: input only, I2C does not work on them. I2C is on the separate SDA (IO21) and SCL (IO22) pins.
  • IO34, IO35, IO36, IO39 are input only and have no pull-ups or pull-downs.
  • ADC2 (IO2, IO4, IO12-IO15, IO25-IO27) cannot read analog input while Wi-Fi is on. With Wi-Fi use IO32-IO39 for analogRead.
  • Strapping pins: IO0, IO2, IO5, IO12, IO15. IO12 HIGH at reset breaks boot (module with 3.3 V flash).
  • 5 V sits in the place of IOREF: a shield that takes its logic level from IOREF will run at 5 V. For 3.3 V shields check their documentation.
  • The six holes SD2, SD3, CMD, CLK, SD0, SD1 next to the digital header are flash lines (GPIO6-11): do not connect them.
  • The board runs at 3.3 V: IO pins are not 5 V tolerant. Connect 5 V Uno shields only through a level shifter.

Revisions and clones

  • Some boards have D-number labels instead of IO and a different regulator; the pin functions are the same (d1_uno32 variant).
  • Wemos D1 (without R32) and D1 R2: same form factor, but ESP8266 and different pins.

All pins

LabelNumberFunctionsLimitsCheck
SCLGPIO22interruptPWM (LEDC)I2C SCLnot 5 V tolerantnot from manufacturer
SDAGPIO21interruptPWM (LEDC)I2C SDAnot 5 V tolerantnot from manufacturer
RSTEN: ESP32 reset (low = reset)onboard pull-upnot from manufacturer
GNDGroundnot from manufacturer
IO18GPIO18, Arduino 13interruptPWM (LEDC)VSPI SCKnot 5 V tolerantnot from manufacturer
IO19GPIO19, Arduino 12interruptPWM (LEDC)VSPI MISOnot 5 V tolerantnot from manufacturer
IO23GPIO23, Arduino 11interruptPWM (LEDC)VSPI MOSInot 5 V tolerantnot from manufacturer
IO5GPIO5, Arduino 10interruptPWM (LEDC)VSPI CS (SS)affects boot (strapping)not 5 V tolerantnot from manufacturer
IO13GPIO13, Arduino 9interruptPWM (LEDC)ADC2_CH4TOUCH4RTC_GPIO14HSPI MOSIJTAG MTCKADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO12GPIO12, Arduino 8interruptPWM (LEDC)ADC2_CH5TOUCH5RTC_GPIO15HSPI MISOJTAG MTDIaffects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO14GPIO14, Arduino 7interruptPWM (LEDC)ADC2_CH6TOUCH6RTC_GPIO16HSPI SCKJTAG MTMSADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO27GPIO27, Arduino 6interruptPWM (LEDC)ADC2_CH7TOUCH7RTC_GPIO17ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO16GPIO16, Arduino 5interruptPWM (LEDC)UART2 RXnot 5 V tolerantnot from manufacturer
IO17GPIO17, Arduino 4interruptPWM (LEDC)UART2 TXnot 5 V tolerantnot from manufacturer
IO25GPIO25, Arduino 3interruptPWM (LEDC)ADC2_CH8RTC_GPIO6DAC1ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO26GPIO26, Arduino 2interruptPWM (LEDC)ADC2_CH9RTC_GPIO7DAC2ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
TX0GPIO1, Arduino 1interruptPWM (LEDC)UART0 TXoutputs a signal at bootnot 5 V tolerantnot from manufacturer
RX0GPIO3, Arduino 0interruptPWM (LEDC)UART0 RXnot 5 V tolerantnot from manufacturer
IO0GPIO0interruptPWM (LEDC)ADC2_CH1TOUCH1RTC_GPIO11affects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
5V5 Vpower outputnot from manufacturer
RSTEN: ESP32 reset (low = reset)onboard pull-uponboard buttonnot from manufacturer
3V33.3 Vpower inputpower outputnot from manufacturer
5V5 Vpower inputpower outputnot from manufacturer
GNDGroundnot from manufacturer
GNDGroundnot from manufacturer
VIN9 Vpower inputnot from manufacturer
IO2GPIO2, Arduino A0interruptPWM (LEDC)ADC2_CH2TOUCH2RTC_GPIO12affects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO4GPIO4, Arduino A1interruptPWM (LEDC)ADC2_CH0TOUCH0RTC_GPIO10ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO35GPIO35, Arduino A2interruptADC1_CH7RTC_GPIO5input onlynot 5 V tolerantnot from manufacturer
IO34GPIO34, Arduino A3interruptADC1_CH6RTC_GPIO4input onlynot 5 V tolerantnot from manufacturer
IO36GPIO36, Arduino A4interruptADC1_CH0RTC_GPIO0SENSOR_VPinput onlynot 5 V tolerantnot from manufacturer
IO39GPIO39, Arduino A5interruptADC1_CH3RTC_GPIO3SENSOR_VNinput onlynot 5 V tolerantnot from manufacturer
IO15GPIO15interruptPWM (LEDC)ADC2_CH3TOUCH3RTC_GPIO13HSPI CSJTAG MTDOaffects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantnot from manufacturer
IO33GPIO33interruptPWM (LEDC)ADC1_CH5TOUCH8RTC_GPIO8XTAL_32K_N (32 kHz crystal)not 5 V tolerantnot from manufacturer
IO32GPIO32interruptPWM (LEDC)ADC1_CH4TOUCH9RTC_GPIO9XTAL_32K_P (32 kHz crystal)not 5 V tolerantnot from manufacturer
SD2GPIO9SPI flash D2 (HD)used by flash, do not usenot 5 V tolerantnot from manufacturer
SD3GPIO10SPI flash D3 (WP)used by flash, do not usenot 5 V tolerantnot from manufacturer
CMDGPIO11SPI flash CMD (CS)used by flash, do not usenot 5 V tolerantnot from manufacturer
CLKGPIO6SPI flash CLKused by flash, do not usenot 5 V tolerantnot from manufacturer
SD0GPIO7SPI flash D0 (SDO)used by flash, do not usenot 5 V tolerantnot from manufacturer
SD1GPIO8SPI flash D1 (SDI)used by flash, do not usenot 5 V tolerantnot from manufacturer

Sources

Not verified against the manufacturer: 41 of 41 pins. The pin card says what confirms each one and where sources disagree.

Size: outline and headers as on the Uno R3; module, USB and small parts from the seller's drawing.

FAQ

Which Wemos D1 R32 (ESP32 Uno) pins are I2C, SPI and UART?
By default in Arduino (ESP32 core, WEMOS D1 R32 board): I2C: SDA GPIO21, SCL GPIO22; SPI: MOSI GPIO23, MISO GPIO19, SCK GPIO18, SS GPIO5; UART: TX GPIO1, RX GPIO3.
Which pin is the Wemos D1 R32 (ESP32 Uno) LED on?
LED on IO2 (LED_BUILTIN = 2 in the core).
Are the Wemos D1 R32 (ESP32 Uno) pins 5 V tolerant?
No. The logic is 3.3 V and the pins are not 5 V tolerant: use a divider or a level shifter for 5 V signals.
Does ADC2 on the Wemos D1 R32 (ESP32 Uno) work with Wi-Fi on?
No. ADC2 pins (GPIO0, GPIO2, GPIO4, GPIO12-15, GPIO25-27) can't read analog while Wi-Fi is on. With Wi-Fi, use GPIO32-36, GPIO39 for the ADC.

You might also need

Similar boards

Next

Need firmware or a device built on ESP32? I'll build it to order