Skip to content
Board reference

Wemos D1 R32

An ESP32 in the Uno form factor

Wemos D1 R32 · ESP32-WROOM-32 in the Uno form factor

An ESP32 on an Arduino Uno-shaped board: the headers sit where an Uno's do, but every pin is a 3.3 V ESP32 GPIO, A0/A1 are on ADC2 (no readings with Wi-Fi on), and A2–A5 are input-only.

Tested in the SolderHub Simulator. Opens a ready-wired circuit that runs in your browser.

Chip
ESP32
Header GPIO
22
Logic
3 V
Form factor
Uno R3

Every header pin at a glance

  • 7 safe I/O
  • 13 use with care
  • 2 avoid
  • 0 not available
  • 9 power, ground & other

01Pinout

Every pin, live

Pins are labelled with their ESP32 GPIO (IO numbers); the Uno names (D0–D13, A0–A5) are in the detail card.

31 of 31 pins match

IOREFRESET3.3V5VGNDGNDVINIO2IO4IO35IO34IO36IO39IO22IO21AREFGNDIO18IO19IO23IO5IO13IO12IO14IO27IO16IO17IO25IO26IO1IO3

Hover or tap any pin on the board

DIGITAL header · pin 1

IO22

IO22

Safe to use

I2C SCL (Wire).

Nothing else on the board depends on this pin. A good first choice for sensors, LEDs and buttons.

Can be used as

  • PWM out
  • I2C

Signals on this pad

  • GPIO22
  • SCL
Full header tables (POWER + ANALOG, DIGITAL)

POWER + ANALOG · left side

No.PinSignalsStatus
1IOREFShield logic-level reference pin (Uno position).
2RESETPull LOW to reset the ESP32.
33.3V3.3 V output.
45V5 V rail.
5GNDGround
6GNDGround
7VINExternal supply input.
8IO2A0, LED_BUILTIN, ADC2_CH2Avoid
9IO4A1, ADC2_CH0Caution
10IO35A2, ADC1_CH7Caution
11IO34A3, ADC1_CH6Caution
12IO36A4, ADC1_CH0Caution
13IO39A5, ADC1_CH3Caution

DIGITAL · right side

No.PinSignalsStatus
1IO22SCLOK
2IO21SDAOK
3AREFUno AREF position. The d1_uno32 pin map gives it no ESP32 function.
4GNDGround
5IO18D13, SCKOK
6IO19D12, MISOOK
7IO23D11, MOSIOK
8IO5D10, SSCaution
9IO13D9, ADC2_CH4Caution
10IO12D8, ADC2_CH5Avoid
11IO14D7, ADC2_CH6Caution
12IO27D6, ADC2_CH7Caution
13IO16D5OK
14IO17D4OK
15IO25D3, ADC2_CH8Caution
16IO26D2, ADC2_CH9Caution
17IO1D1, TXCaution
18IO3D0, RXCaution

02Safety

Pins to avoid, and why

Input-only analog pins, ADC2 pins that stop working with Wi-Fi, and strapping pins.

Avoid

2 pins

Wiring here can stop the board starting or uploading.

  • IO2Boot mode. Sampled with GPIO0 at reset to pick the boot mode. Defaults low; a shield that pulls it high at reset can block flashing.
  • IO12Strapping pin (MTDI). Read at reset to set the flash supply voltage. Defaults low; a shield that pulls D8 high at boot can stop the board starting.

Use with care

13 pins

Usable, but shared with something on the board.

  • IO1Serial console. UART0, wired to the USB-to-UART bridge. Using it for something else clashes with the serial monitor and with flashing over USB.
  • IO3Serial console. UART0, wired to the USB-to-UART bridge. Using it for something else clashes with the serial monitor and with flashing over USB.
  • IO4ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO5Strapping pin. Read at reset, with GPIO15, for SDIO slave timing. Defaults high; keep it from being pulled low at boot.
  • IO13ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO14ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO25ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO26ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO27ADC2 shared with Wi-Fi. This pin's analog input is on ADC2, which the Wi-Fi driver also uses. For analog readings in a Wi-Fi sketch, use the ADC1 pins (GPIO32–39). Digital use is unaffected.
  • IO34Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • IO35Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • IO36Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.
  • IO39Input only. GPIO34–39 can't drive an output and have no internal pull-up or pull-down resistors, so a button needs an external resistor.

03Specs

Full specifications

Chip

SoC
ESP32 (WROOM-32 module)Wi-Fi + Bluetooth.
LED
GPIO2 (also A0)

Analog

A0, A1
ADC2 (GPIO2, GPIO4)Unavailable while Wi-Fi is on.
A2–A5
ADC1 (GPIO35, 34, 36, 39)Input only.

Power

Logic level
3.3 V
Inputs
USB, DC jack or VIN

04Buses

Where each bus lives

I2C (Wire)

SDA GPIO21, SCL GPIO22, on the Uno SDA/SCL pins.

SPI

SS D10 (GPIO5), MOSI D11 (GPIO23), MISO D12 (GPIO19), SCK D13 (GPIO18).

UART

D0/RX (GPIO3) and D1/TX (GPIO1), shared with USB.

Analog

Use A2–A5 (ADC1) when Wi-Fi is on; A0/A1 are ADC2.

05Power & start

Power it up and get connected

Power options

  • USB5 V in, uploads and Serial.
  • DC jack / VINExternal supply input.
  • 3.3V3.3 V output.
  1. 1

    Install ESP32 support

    Tools → Board → esp32 → WEMOS D1 R32

    Then pick the new port.

  2. 2

    Blink

    File → Examples → 01.Basics → Blink

    LED_BUILTIN is GPIO2.

  3. 3

    No board on your desk?

    Open a D1 R32 circuit in the SolderHub Simulator below.

06Gotchas

Things that trip people up

01

It's 3.3 V, not 5 V

The Uno shape invites 5 V shields. ESP32 pins are 3.3 V; check a shield's signal levels first.

02

A0 and A1 stop reading with Wi-Fi on

They're on ADC2, which Wi-Fi uses. Put analog sensors on A2–A5 (ADC1).

03

A2–A5 are input-only

GPIO34–39 can't output and have no internal pull-ups.

04

D8 and A0 are strapping pins

A shield that pulls D8 (GPIO12) high or A0 (GPIO2) high at reset can stop the board booting or flashing.

07SolderHub Simulator

Wire up the Wemos D1 R32 without the hardware

The simulator runs Wemos D1 R32 sketches in your browser. Start from the tested board circuit, then change the wiring or the code.

Board Basics

Introduction, pinout, and protocols — all in one guide.

Board basics guide coming soon

Sensor Modules & Library

Wiring sensors and modules, plus the library you need to talk to them.

Sensor Integration

Coming soon

Library & Setup

Coming soon

Projects

No Wemos D1 R32 projects yet — we're adding them soon

SolderHub Simulator

Wemos D1 R32 circuits you can run in the browser

Ready-wired circuits with working code. Open one, press run, then change the wiring or the sketch.

Tested on Wemos D1 R32