ESPBoards Learn – Early Access!
WEMOS D1 MINI ESP32 image

WEMOS D1 MINI ESP32

Development Board

Code name: D1_MINI32

WEMOS D1 MINI ESP32 is a development board based on the ESP32 microcontroller using XTENSA architecture.

This board features a maximum CPU frequency of 240 MHz and 4MB flash memory.

About WEMOS D1 MINI ESP32



The WEMOS D1 mini ESP32 squeezes Espressif’s dual-core ESP32-WROOM-32 module into the familiar 34 × 25 mm D1-mini footprint-so it drops straight into the huge ecosystem of D1-mini shields. Despite its tiny size it brings full-featured Wi-Fi 802.11 b/g/n and Bluetooth 4.2 (BLE + BR/EDR) connectivity to your IoT projects. 📡

A reliable CH340C USB-to-UART interface (auto-reset capable) lets you plug in via Micro-USB, flash code, and get serial logs with zero extra hardware. 🔌

Power is flexible: feed the board from 5 V on USB/VIN or directly from the regulated 3V3 pin. An on-board LDO and protective circuitry keep the ESP32 happy. ⚡️

The board sports a tiny PCB antenna for solid RF performance, plus RST and BOOT (IO0) push-buttons to simplify firmware flashing and recovery. 🚀

All GPIOs support PWM, many provide ADC, DAC, I²C, SPI, UART, and ten pads double as capacitive-touch sensors. Stack it beneath sensor, relay, or display shields and you’ve got a compact yet powerful connected gadget in minutes. ⚙️

Where to Buy WEMOS D1 MINI ESP32

Prices are subject to change. We earn from qualifying purchases as an Amazon Associate.

📋 Technical Specifications

Complete technical specification details for WEMOS D1 MINI ESP32

🛰️ Connectivity

WiFi 802.11 b/g/n (2.4 GHz)
Bluetooth 4.2
BLE 4.2

🧠 Microcontroller

Model esp32
Clock Speed 240 MHz
Flash Size 4MB
Architecture xtensa

Features & Pins

Digital IO 34
Analog Input 18
  • Size: 39 mm x 31.5 mm
  • Weight: 12G
  • Built-in PCB antenna
  • Operating voltage: 5V DC

WEMOS D1 MINI ESP32 Board Dimensions

Physical measurements for WEMOS D1 MINI ESP32

WEMOS D1 MINI ESP32 dimensions - height, width
Width 31mm
Length 39mm
Pin Gap 2.54mm

WEMOS D1 MINI ESP32 Pinout Diagram

Complete pin reference for WEMOS D1 MINI ESP32

WEMOS D1 MINI ESP32 pinout

The WEMOS D1 mini ESP32 pinout exposes 26 ESP32 GPIOs on the familiar D label headers-making it shield-compatible while retaining the ESP32’s rich peripherals.

Power rails include 5 V/VIN (USB or external), a regulated 3V3 output, and multiple GND pins. Current draw is typically 80 mA active but can drop to <10 µA in deep-sleep.

Default serial lines U0_TX (GPIO1) and U0_RX (GPIO3) connect to the CH340C for programming and logging. Need another UART? Use U2_TX (GPIO17) and U2_RX (GPIO16).

I²C defaults to SDA (GPIO21) and SCL (GPIO22)-changeable in software-and breaks out on the D2/D1 shield pins.

SPI: the primary VSPI bus maps to MOSI GPIO23, MISO GPIO19, SCK GPIO18, and CS GPIO5. An alternate HSPI bus lives on GPIO12–15 when a second SPI device is needed.

Analog: Eight ADC1 channels on GPIO32–GPIO39 remain usable while Wi-Fi is active. Extra ADC2 channels (e.g., GPIO0, 2, 4, 12–15, 25–27) share hardware with Wi-Fi. Dual 8-bit DAC outputs are on GPIO25 and GPIO26.

Capacitive-touch sensing is available on GPIO0, 2, 4, 12–15, 27, 32, 33, perfect for touch-buttons or gesture pads.

Every GPIO can generate PWM up to 40 kHz for LEDs, motors, or buzzers. Watch the boot-strap pins-GPIO0, GPIO2, and GPIO15-which must be at the correct logic level (usually HIGH) at reset to boot normally.

With breadboard-friendly headers, shield compatibility, and the full might of an ESP32 module, the WEMOS D1 mini ESP32 pinout is your compact gateway to advanced connected projects.

Safe Pins to Use

These pins are safe for general GPIO usage without boot or system conflicts

LED_BUILTIN
TXD
RXD
SDA
SCL
SS
MOSI
MISO
SCK
A0
A3
A4
A5
DAC1
DAC2
IO27
RX2
TX2
BOOT_IO0
A6
A7

💡 Why Are These Pins Safe?

No boot sequence involvement
No flash/PSRAM connections
No USB or JTAG conflicts
Freely assignable without issues

⚠️ Pins to Avoid or Use with Caution

Reserved for critical functions. Misuse may cause boot failures, programming issues, or system conflicts.

🔄 Strapping Pins

Boot behavior & flash voltage

🐛 JTAG Debugging

Low-level debugging interface

🔌 USB Pins

USB Serial/JTAG communication

💾 Flash/SPI Pins

Memory & PSRAM connections

📡 UART Serial

Debugging & firmware uploads

PINLabelWhy AvoidType
IO14MTMS (GPIO14)Used for JTAG debugging (TMS); driving it as GPIO may interfere with JTAG or produce spurious signals at boot.🪛 Other
IO12MTDI (GPIO12)Keep LOW during boot (internal PD); pulling HIGH at reset selects 1.8V flash mode, causing flash brownout if 3.3V flash is used.🛠️ Strapping
IO13MTCK (GPIO13)Used for JTAG debugging (TCK); avoid using as GPIO if JTAG is needed.🪛 Other
IO15MTDO (GPIO15)Keep HIGH during boot (internal PU); if LOW on reset, bootloader log is silenced and boot mode may change.🛠️ Strapping
IO4GPIO4Sampled at reset for boot config; should not be driven at boot (affects boot mode timing).🛠️ Strapping

Useful Links

Datasheets and resources for WEMOS D1 MINI ESP32

WEMOS D1 MINI ESP32 Custom Pin Mapping

Pin configuration and GPIO mapping for WEMOS D1 MINI ESP32

34
Digital I/O Pins
Interrupt Pins
18
Analog Inputs
PinFunctionESP PinI/O TypeDescription
1LED_BUILTINGPIO2outputOn-board blue LED (active-LOW)
2TXDGPIO3outputUART0 Transmit (U0_TX)
3RXDGPIO1inputUART0 Receive (U0_RX)
4SDAGPIO21bidirectionalI²C Data Line
5SCLGPIO22bidirectionalI²C Clock Line
6SSGPIO5bidirectionalVSPI Chip-Select
7MOSIGPIO23bidirectionalVSPI Master-Out Slave-In
8MISOGPIO19bidirectionalVSPI Master-In Slave-Out
9SCKGPIO18bidirectionalVSPI Clock
10A0GPIO36inputADC1 Channel 0
11A3GPIO39inputADC1 Channel 3
12A4GPIO32inputADC1 Channel 4 / Touch 9
13A5GPIO33inputADC1 Channel 5 / Touch 8
14DAC1GPIO25output8-bit Digital-to-Analog Converter 1
15DAC2GPIO26output8-bit Digital-to-Analog Converter 2
16IO27GPIO27bidirectionalTouch 7 / RTC-17
17IO14GPIO14bidirectionalHSPI SCK / Touch 6
18IO12GPIO12bidirectionalHSPI MISO / Touch 5
19IO13GPIO13bidirectionalHSPI MOSI / Touch 4
20IO15GPIO15bidirectionalBoot-strap Pin / Touch 3
21IO4GPIO4bidirectionalTouch 0 / ADC2 Channel 0
22RX2GPIO16bidirectionalUART2 Receive
23TX2GPIO17bidirectionalUART2 Transmit
24BOOT_IO0GPIO0bidirectionalBoot-mode Select / Touch 1 (keep HIGH to boot)
25A6GPIO34inputADC1 Channel 6 (input-only)
26A7GPIO35inputADC1 Channel 7 (input-only)
Legend
Function Pin role
GPIO ESP32 pin
I/O Direction
# Pin number

Pin Mappings

Complete pinout and GPIO mapping for WEMOS D1 MINI ESP32

34
Digital I/O Pins
Interrupt Pins
18
Analog Inputs
PinAnalogTouchPWMOther
1TXD
2LED_BUILTIN
3RXD
5
16
17
18
19
21
22
23
26
35_VBAT
Legend
A0 Analog input
T0 Touch sensor
PWM PWM capable
RX/TX Serial pins
LED Built-in LED
# Pin number

Default Tools & Configuration

Build and upload settings for WEMOS D1 MINI ESP32

SettingValue
Bootloader toolesptool_py
Uploader toolesptool_py
Network uploader toolesp_ota
Bootloader address0x1000
Flash modedio
Boot modedio
Maximum upload size
1280 KB (1310720 bytes)
Maximum data size
320 KB (327680 bytes)
Configuration Summary

The WEMOS D1 MINI ESP32 uses esptool_py for uploads , esp_ota for OTA updates, and esptool_py bootloader at 0x1000.

Flash mode: dio | Boot mode: dio

Max sketch size: 1280 KB | Max data size: 320 KB