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
Hover or tap any pin on the board
DIGITAL header · pin 1
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. | Pin | Signals | Status |
|---|---|---|---|
| 1 | IOREF | Shield logic-level reference pin (Uno position). | |
| 2 | RESET | Pull LOW to reset the ESP32. | |
| 3 | 3.3V | 3.3 V output. | |
| 4 | 5V | 5 V rail. | |
| 5 | GND | Ground | |
| 6 | GND | Ground | |
| 7 | VIN | External supply input. | |
| 8 | IO2 | A0, LED_BUILTIN, ADC2_CH2 | Avoid |
| 9 | IO4 | A1, ADC2_CH0 | Caution |
| 10 | IO35 | A2, ADC1_CH7 | Caution |
| 11 | IO34 | A3, ADC1_CH6 | Caution |
| 12 | IO36 | A4, ADC1_CH0 | Caution |
| 13 | IO39 | A5, ADC1_CH3 | Caution |
DIGITAL · right side
| No. | Pin | Signals | Status |
|---|---|---|---|
| 1 | IO22 | SCL | OK |
| 2 | IO21 | SDA | OK |
| 3 | AREF | Uno AREF position. The d1_uno32 pin map gives it no ESP32 function. | |
| 4 | GND | Ground | |
| 5 | IO18 | D13, SCK | OK |
| 6 | IO19 | D12, MISO | OK |
| 7 | IO23 | D11, MOSI | OK |
| 8 | IO5 | D10, SS | Caution |
| 9 | IO13 | D9, ADC2_CH4 | Caution |
| 10 | IO12 | D8, ADC2_CH5 | Avoid |
| 11 | IO14 | D7, ADC2_CH6 | Caution |
| 12 | IO27 | D6, ADC2_CH7 | Caution |
| 13 | IO16 | D5 | OK |
| 14 | IO17 | D4 | OK |
| 15 | IO25 | D3, ADC2_CH8 | Caution |
| 16 | IO26 | D2, ADC2_CH9 | Caution |
| 17 | IO1 | D1, TX | Caution |
| 18 | IO3 | D0, RX | Caution |
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
Install ESP32 support
Tools → Board → esp32 → WEMOS D1 R32Then pick the new port.
- 2
Blink
File → Examples → 01.Basics → BlinkLED_BUILTIN is GPIO2.
- 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.
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
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.
More From This Board
6More Wemos D1 R32 guides worth reading.
XIAO ESP32S3 Pinout: D0–D10, ADC, Touch, I2C, SPI and Battery
7m
ESP32 Dual Core and FreeRTOS: Tasks on Core 0 and Core 1, Queues and Mutexes
6m
MicroPython ESP32 Deep Sleep: Timer, Button, Touch Wake-Up and RTC Memory
10m
ESP32 MicroPython Weather Web Server: Live DHT22 Readings with Auto-Refresh
17m
MicroPython ESP32 Web Server: Control an LED or Relay from Your Browser
16m
ESP32 MQTT Tutorial: Publish and Subscribe with Arduino IDE
12m