Wemos LOLIN D32 pinout

WEMOS LOLIN D32, ESP32 (ESP32-D0WDQ6), 3.3 V logic, 25.4×57 mm, 32 pins

verified17.10.2026

Which Wemos LOLIN D32 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, GPIO36, GPIO39: input only, no output and no pull-ups.

Important

  • 3.3 V logic, don't put 5 V on the GPIO.
  • 34, 35, 36 (VP), 39 (VN) are input only, no pull-ups.
  • ADC2 (GPIO0, 2, 4, 12–15, 25–27) doesn't work with Wi-Fi on. With Wi-Fi, use ADC1: 32–39.
  • Battery voltage: GPIO35 through a 100k/100k divider (not broken out to the header): Vbat = analogRead × 2.
  • LED on GPIO5 (lights when LOW).
  • The EN pin is the regulator enable, not a reset. Reset is RST.
  • Strapping: 0, 2, 5, 12, 15. Keep GPIO12 low at power-up.
  • Silkscreen labels from the photo, nets from the Wemos schematic; rows are 0.9 inch apart, their position taken from the photo.
  • The ME6211 regulator is powered from USB or from the battery (through a P-MOSFET), whichever is higher. The regulator can be turned off with the EN pin.

Revisions and clones

  • LOLIN D32 Pro is a different board: WROVER (PSRAM on 16/17), microSD and TFT connector, a different header.

All pins

LabelNumberFunctionsLimitsCheck
3V3.3 Vpower inputpower outputverified
RSTCHIP_PU: ESP32 enable and reset (low = reset)onboard pull-uponboard buttonverified
VPGPIO36interruptADC1_CH0RTC_GPIO0SENSOR_VPinput onlynot 5 V tolerantverified
VNGPIO39interruptADC1_CH3RTC_GPIO3SENSOR_VNinput onlynot 5 V tolerantverified
34GPIO34interruptADC1_CH6RTC_GPIO4input onlynot 5 V tolerantverified
32GPIO32interruptPWM (LEDC)ADC1_CH4TOUCH9RTC_GPIO9XTAL_32K_P (32 kHz crystal)not 5 V tolerantverified
33GPIO33interruptPWM (LEDC)ADC1_CH5TOUCH8RTC_GPIO8XTAL_32K_N (32 kHz crystal)not 5 V tolerantverified
25GPIO25interruptPWM (LEDC)ADC2_CH8RTC_GPIO6DAC1ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
26GPIO26interruptPWM (LEDC)ADC2_CH9RTC_GPIO7DAC2ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
27GPIO27interruptPWM (LEDC)ADC2_CH7TOUCH7RTC_GPIO17ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
14GPIO14interruptPWM (LEDC)ADC2_CH6TOUCH6RTC_GPIO16HSPI SCKJTAG MTMSADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
12GPIO12interruptPWM (LEDC)ADC2_CH5TOUCH5RTC_GPIO15HSPI MISOJTAG MTDIaffects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
13GPIO13interruptPWM (LEDC)ADC2_CH4TOUCH4RTC_GPIO14HSPI MOSIJTAG MTCKADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
EN3.3 V regulator enable (low = off)onboard pull-upverified
USB5 Vpower outputverified
BAT3.7 Vpower inputpower outputverified
GNDGroundverified
23GPIO23interruptPWM (LEDC)VSPI MOSInot 5 V tolerantverified
22GPIO22interruptPWM (LEDC)I2C SCLnot 5 V tolerantverified
TXGPIO1interruptPWM (LEDC)UART0 TXoutputs a signal at bootnot 5 V tolerantverified
RXGPIO3interruptPWM (LEDC)UART0 RXnot 5 V tolerantverified
21GPIO21interruptPWM (LEDC)I2C SDAnot 5 V tolerantverified
19GPIO19interruptPWM (LEDC)VSPI MISOnot 5 V tolerantverified
18GPIO18interruptPWM (LEDC)VSPI SCKnot 5 V tolerantverified
5GPIO5interruptPWM (LEDC)VSPI CS (SS)affects boot (strapping)not 5 V tolerantonboard LEDverified
17GPIO17interruptPWM (LEDC)UART2 TXnot 5 V tolerantverified
16GPIO16interruptPWM (LEDC)UART2 RXnot 5 V tolerantverified
4GPIO4interruptPWM (LEDC)ADC2_CH0TOUCH0RTC_GPIO10ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
0GPIO0interruptPWM (LEDC)ADC2_CH1TOUCH1RTC_GPIO11affects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
2GPIO2interruptPWM (LEDC)ADC2_CH2TOUCH2RTC_GPIO12affects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
15GPIO15interruptPWM (LEDC)ADC2_CH3TOUCH3RTC_GPIO13HSPI CSJTAG MTDOaffects boot (strapping)ADC2 doesn't work with Wi-Fi onnot 5 V tolerantverified
GNDGroundverified

Sources

Every pin is verified against the manufacturer's documents.

  • WEMOS: D32 (documentation)user guide, checked 17.10.2026ESP32-WROOM-32, 4 MB, size 57×25.4 mm, LED_BUILTIN GPIO5, analog inputs VP, VN, 32–35, PH-2 2.0 connector, charging up to 500 mA, 3.3 V logic
  • WEMOS D32 V1.0.0 schematicschematic, checked 17.10.2026nets JP1 and JP2 (16 + 16): 3V3, RESET, VP, VN, 34, 32, 33, 25, 26, 27, 14, 12, 13, EN, VBUS, VBAT; GND, 23, 22, TXD0, RXD0, 21, 19, 18, 5, 17, 16, 4, 0, 2, 15, GND; ME6211 with EN through 100 kΩ, CH340C, TP4054, 100k/100k divider on IO35, IO5 LED to 3V3 through 2 kΩ
  • WEMOS D32 V1.0.0 dimensionsboard drawing, checked 17.10.202657.00×25.40 mm, 2.10 mm holes, 21.40 mm between them
  • arduino-esp32: variants/d32/pins_arduino.hArduino core, checked 17.10.2026LED_BUILTIN 5, battery voltage on GPIO35 (BAT_VOLT_PIN)
  • ESP32 Series Datasheet (Espressif)datasheet, checked 15.10.2026IO MUX and pin functions, ADC1/ADC2, touch, DAC, RTC GPIO, strapping (GPIO0, 2, 5, 12, 15), flash pins GPIO6–11, input-only GPIO34–39
  • ESP-IDF: GPIO & RTC GPIO (ESP32)user guide, checked 15.10.2026GPIO6–11 used by flash, GPIO34–39 input only with no pull-ups, strapping pins, GPIO1/3 UART0
  • ESP-IDF: ADC Oneshot Mode Driver (ESP32)user guide, checked 15.10.2026ADC2 can't be used while Wi-Fi is running
  • arduino-esp32: variants/esp32/pins_arduino.hArduino core, checked 15.10.2026defaults: TX 1, RX 3, SDA 21, SCL 22, SS 5, MOSI 23, MISO 19, SCK 18

Size: from the Wemos dimension drawing (57×25.4 mm, 2.1 mm holes 21.4 mm apart); row positions from the photo.

FAQ

Which Wemos LOLIN D32 pins are I2C, SPI and UART?
By default in arduino-esp32 (board "LOLIN D32"): I2C: SDA GPIO21, SCL GPIO22; SPI: MOSI GPIO23, MISO GPIO19, SCK GPIO18, SS GPIO5; UART: TX GPIO1, RX GPIO3.
Which pin is the Wemos LOLIN D32 LED on?
LED on GPIO5 (lights when LOW).
Are the Wemos LOLIN D32 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 LOLIN D32 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-34, GPIO36, 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