Development boards

LOLIN D1 mini v4.0.0 pinout

ESP8266EX · USB-C · I²C connector

Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe

At a glance

Platform / manufacturer
Espressif
Type
Development boards
MCU
ESP8266EX
Physical contacts
20
GPIO
11
I/O voltage
3.3 V I/O
Interfaces (pin count)
I²C (4) · SPI (4) · UART (5) · ADC (1) · PWM (12) · IRQ (13) · SYSTEM (2)
First production / release date
Unverified for this exact model/revision [b] [c]
MCU / processor core
1 × Tensilica L106 32-bit [a]
Clock speed / maximum
80 MHz (160 MHz max) [a]
Internal RAM / system RAM
80 KB user data SRAM + 32 KB instruction RAM + 32 KB instruction cache [a]
Program Flash / storage
4 MB on-board Flash [b] [c]
Power and logic level
USB-C; 3.3 V I/O. A0 board input up to 3.2 V. [b] [c]
Pin sources checked
2026-11-19
Technical details reviewed
2026-11-19

All pins (20)

LOLIN D1 mini v4.0.0: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
J2.1RSTSystem——[1] [2]
J2.2A0AnalogADC0

A0 connects to ESP8266 TOUT through the 220 kΩ and 100 kΩ divider in the schematic. Source: [1]

[1] [2]
J2.3D0General-purpose I/OWAKEGPIO interrupt—[1] [2]
J2.4D5General-purpose I/OHSPI SCKPWMGPIO interrupt—[1] [2]
J2.5D6General-purpose I/OHSPI MISOPWMGPIO interrupt—[1] [2]
J2.6D7General-purpose I/OHSPI MOSIUART0 CTSPWMGPIO interrupt—[1] [2]
J2.7D8General-purpose I/OHSPI CSUART0 RTSPWMGPIO interrupt

Strapping pin: its reset-time level affects boot or hardware configuration. Check that external circuitry preserves the required reset levels.

This GPIO is one of the ESP8266 pins sampled for boot mode at reset. Source: [1]

[1] [2]
J2.83V3Power——[1] [2]
J3.1TXGeneral-purpose I/OUART0 TXPWMGPIO interrupt—[1] [2]
J3.2RXGeneral-purpose I/OUART0 RXPWMGPIO interrupt—[1] [2]
J3.3D1General-purpose I/OI2C SCLPWMGPIO interrupt

Same electrical signal as P1.3

[1] [2]
J3.4D2General-purpose I/OI2C SDAPWMGPIO interrupt

Same electrical signal as P1.2

[1] [2]
J3.5D3General-purpose I/OFLASH buttonPWMGPIO interrupt

Strapping pin: its reset-time level affects boot or hardware configuration. Check that external circuitry preserves the required reset levels.

This GPIO is one of the ESP8266 pins sampled for boot mode at reset. Source: [1]

[1] [2]
J3.6D4General-purpose I/OUART1 TXPWMGPIO interrupt

Strapping pin: its reset-time level affects boot or hardware configuration. Check that external circuitry preserves the required reset levels.

GPIO2 (D4) shares the on-board LED and sets a boot level at reset. Source: [1]

[1] [2]
J3.7GNDGround——[1] [2]
J3.85VPower——[1] [2]
P1.1GNDGround——[1] [2]
P1.2SDAGeneral-purpose I/OI2C SDAPWMGPIO interrupt

Same electrical signal as J3.4

[1] [2]
P1.3SCLGeneral-purpose I/OI2C SCLPWMGPIO interrupt

Same electrical signal as J3.3

[1] [2]
P1.43V3Power——[1] [2]

Sources

Pin and warning references

  1. LOLIN D1 mini v4.0.0 schematic · PDF p. 1LOLIN D1 mini v4.0.0 · J2/J3/P1, A0 divider, LED and boot resistors
  2. LOLIN D1 mini v4.0.0 top-view pinoutWEMOS v4.0.0 top view · USB at the bottom and P1 at right

Technical sources (3)

  1. ESP8266EX DatasheetEspressif Systems · Locked pin-source document; see sources/manifest.json for revision and SHA-256
  2. LOLIN D1 mini v4.0.0WEMOS · Technical specifications, schematic and revision
  3. LOLIN D1 mini v4.0.0 schematicWEMOS · Locked schematic or pin-source document

Locked source documents

Pin reference · Datasheet