Component guide · Beginner · 3 min read
ESP32 D1 R32 (Uno Form Factor)

Pin Mapping, Shields and Limits
By Geekobot Learning Team · Updated 29 Oct 2026
On this page
The ESP32 D1 R32 puts an ESP32-WROOM-32 on an Arduino Uno-shaped board, so Uno shields physically fit. The catch is that the ESP32 runs at 3.3 V and the Uno labels map to different GPIO numbers, so many shields need code changes and some 5 V shields do not work at all. It is a handy step up for students who know the Uno layout.
Key specs at a glance
- Module
- ESP32-WROOM-32, 4 MB flash
- USB
- CH340G, micro USB or USB-C
- Power
- USB or DC jack 7 to 12 V
- Logic
- 3.3 V
- Layout
- Uno R3 headers plus extra ESP32 pins
- Wireless
- Wi-Fi and Bluetooth
Models in this guide
These are alternatives. Pick the one that fits your project; you only need one.
What the ESP32 D1 R32 Uno-shape board is
Uno pin labels map to ESP32 GPIOs, for example D2 = GPIO 26, D3 = GPIO 25, D4 = GPIO 17, D5 = GPIO 16, D6 = GPIO 27, D7 = GPIO 14, D8 = GPIO 12, D9 = GPIO 13, D10 = GPIO 5, D11 = GPIO 23, D12 = GPIO 19, D13 = GPIO 18, A0 = GPIO 2, A1 = GPIO 4, A2 = GPIO 35, A3 = GPIO 34, A4 = GPIO 36, A5 = GPIO 39. Always use GPIO numbers in code.
Shields that only need 3.3 V logic (many sensor and relay shields) work; shields that need 5 V logic or AVR timers (some motor and display shields) may not.
ESP32 D1 R32 Uno-shape board pinout
The pins on the ESP32 D1 R32 Uno-shape board and what each one does.
| Pin | Function |
|---|---|
| D0 to D13 | Mapped to ESP32 GPIOs (see above) |
| A0 to A5 | ADC pins; A0/A1 are ADC2 and stop with Wi-Fi |
| 5V / 3V3 / GND | Power |
| VIN | DC jack voltage |
| IO0 | BOOT button |
- D0 to D13
- Mapped to ESP32 GPIOs (see above)
- A0 to A5
- ADC pins; A0/A1 are ADC2 and stop with Wi-Fi
- 5V / 3V3 / GND
- Power
- VIN
- DC jack voltage
- IO0
- BOOT button
Wiring the ESP32 D1 R32 Uno-shape board
Use the GPIO number shown in the third column in your code. Check that a shield does not drive 5 V back into ESP32 pins.
| ESP32 D1 R32 Uno-shape board pin | Shield signal | D1 R32 header |
|---|---|---|
| Relay shield IN1 | D7 label | GPIO 14 in code |
| Sensor analog | A3 label | GPIO 34 in code |
| I2C | SDA/SCL headers | GPIO 21 / 22 |
- Relay shield IN1
- Shield signal:
- D7 label
- D1 R32 header:
- GPIO 14 in code
- Sensor analog
- Shield signal:
- A3 label
- D1 R32 header:
- GPIO 34 in code
- I2C
- Shield signal:
- SDA/SCL headers
- D1 R32 header:
- GPIO 21 / 22
Example code
Select ESP32 Dev Module. Open the board's IP address in a browser to toggle the LED.
#include <WiFi.h>
#include <WebServer.h>
WebServer server(80);
const int LED = 18; // Uno label D13
void setup() {
pinMode(LED, OUTPUT);
WiFi.begin("YOUR_WIFI", "YOUR_PASSWORD");
while (WiFi.status() != WL_CONNECTED) delay(300);
server.on("/", [] { digitalWrite(LED, !digitalRead(LED)); server.send(200, "text/plain", "toggled"); });
server.begin();
}
void loop() { server.handleClient(); }Setup and tuning
install the CH340 driver if no COM port appears.
use A2 to A5 (ADC1) when Wi-Fi is on.
check each shield's logic level and pin use before stacking.
hold BOOT if uploads time out.
What you need
Shop this list5 of 6 found in our store · ₹1,942
ESP32 D1 R32 Development Board 4MB Flash w/ CH340G: the part this guide coversESP32 D1 R32 Development Board 4MB Flash w/ CH340G₹569
ESP32 UNO D1 R3 R32 WiFi Bluetooth Development Board: another version this guide coversESP32 UNO D1 R3 R32 WiFi Bluetooth Development Board₹459- Uno R3 development board: the controller used in the wiring tableFind this part
USB Type-C cable 1 m: a data cable for programming (not charge-only)24-Core USB Type-C Cable, 1 m₹500Closest match, check the specs
5V relay module with optocoupler: to switch a load from a GPIO5V Relay Module with Optocoupler₹74
DS18B20 waterproof temperature probe: a first sensor to readSonoff DS18B20 Waterproof Temperature Sensor Probe w/ 1m Cable – 1-Wire Interface₹340Closest match, check the specs
Alternatives and when to choose them
- ESP32 DevKit board: smaller board, same chip.
- Arduino shields: which shields exist.
- ESP32 vs ESP8266: choosing a Wi-Fi board.
Common mistakes to avoid
- Using Uno pin numbers in code.
- Stacking 5 V logic shields.
- Reading A0 or A1 while Wi-Fi is on.
- Expecting AVR-specific libraries to compile.
Frequently asked questions
Do Uno shields work?
Physically yes; electrically only 3.3 V-friendly shields.
Which board do I select?
ESP32 Dev Module.
Can it run Uno sketches?
Simple ones, after changing pin numbers and AVR-only code.
Is the motor shield L293D compatible?
The common L293D shield relies on 5 V and AVR timers; it usually needs changes.
Does it have more pins than an Uno?
Yes, extra headers expose more ESP32 GPIOs.
Parts for this guide
Keep learning
Sources
Written by the Geekobot team from manufacturer datasheets. Always check the datasheet for the exact part and variant you buy.


