ESP8266 NodeMCU V3 LoLin pinout

NodeMCU v3 LoLin (CH340G), ESP8266EX, 3.3 V logic, 31×58 mm, 30 pins

partly verified15.10.2026

Which ESP8266 NodeMCU V3 LoLin pins are safe to use

Free to use

GPIO3-5, GPIO12-14, GPIO16

Use with care

  • GPIO0, GPIO2, GPIO15: strapping: the level at power-up selects the boot mode.
  • GPIO1: signal at boot.
  • A0: analog input only.

Leave alone

  • GPIO6-11: flash and PSRAM memory.

Important

  • 3.3 V logic, do not apply 5 V to a GPIO (the datasheet VIH limit is 3.6 V).
  • Boot: GPIO15 (D8) = 0, GPIO2 (D4) = 1, GPIO0 (D3) = 1 runs from flash; GPIO0 = 0 is firmware download mode. Do not connect anything to these pins at power-up that pulls them the wrong way.
  • Interrupts on all GPIO except GPIO16 (D0). Software PWM on GPIO0–16.
  • To wake from deep sleep, connect D0 (GPIO16) to RST.
  • Wide board: the rows are 1.1 inch (27.94 mm) apart, so no free holes are left on a standard breadboard.
  • S0–S3, SC, SK are the flash pins (GPIO6–11): do not use.
  • The position of the first pin was measured from a photo (±1 mm). Holes and small components are drawn approximately.

Revisions and clones

  • Different LoLin batches have a different regulator and mask color. Boards on the CP2102 with the same width exist.
  • The "NodeMCU v3 CH340" schematic found online actually repeats the v2 schematic on the CP2102.

All pins

LabelNumberFunctionsLimitsCheck
A0TOUT, Arduino A0ADC0 (A0), 10 bitanalog input onlynot 5 V tolerantonboard voltage dividernot from manufacturer
GGroundnot from manufacturer
VU5 Vpower outputnot from manufacturer
S3GPIO10SPI flash SD3not 5 V tolerantused by flash, do not usenot from manufacturer
S2GPIO9SPI flash SD2not 5 V tolerantused by flash, do not usenot from manufacturer
S1GPIO8SPI flash SD1not 5 V tolerantused by flash, do not usenot from manufacturer
SCGPIO11SPI flash CMDnot 5 V tolerantused by flash, do not usenot from manufacturer
S0GPIO7SPI flash SD0not 5 V tolerantused by flash, do not usenot from manufacturer
SKGPIO6SPI flash CLKnot 5 V tolerantused by flash, do not usenot from manufacturer
GGroundnot from manufacturer
3V3.3 Vpower inputpower outputnot from manufacturer
ENCH_PD: chip enable (high = running)not from manufacturer
RSTReset (low = reset)onboard buttonnot from manufacturer
GGroundnot from manufacturer
VIN5 Vpower inputpower outputnot from manufacturer
D0GPIO16, Arduino D0 (16)XPD_DCDC: wake from deep sleep (connect to RST)PWM (software)not 5 V tolerantno interruptsnot from manufacturer
D1GPIO5, Arduino D1 (5)interruptPWM (software)I2C SCLnot 5 V tolerantnot from manufacturer
D2GPIO4, Arduino D2 (4)interruptPWM (software)I2C SDAnot 5 V tolerantnot from manufacturer
D3GPIO0, Arduino D3 (0)interruptPWM (software)not 5 V tolerantaffects boot (strapping)onboard buttonnot from manufacturer
D4GPIO2, Arduino D4 (2)interruptPWM (software)UART1 TX (Serial1, transmit only)not 5 V tolerantaffects boot (strapping)onboard LEDnot from manufacturer
3V3.3 Vpower inputpower outputnot from manufacturer
GGroundnot from manufacturer
D5GPIO14, Arduino D5 (14)interruptPWM (software)HSPI SCKnot 5 V tolerantnot from manufacturer
D6GPIO12, Arduino D6 (12)interruptPWM (software)HSPI MISOnot 5 V tolerantnot from manufacturer
D7GPIO13, Arduino D7 (13)interruptPWM (software)HSPI MOSIUART0 RX (Serial.swap)not 5 V tolerantnot from manufacturer
D8GPIO15, Arduino D8 (15)interruptPWM (software)HSPI CS (SS)UART0 TX (Serial.swap)not 5 V tolerantaffects boot (strapping)not from manufacturer
RXGPIO3, Arduino RX (3)interruptPWM (software)UART0 RXnot 5 V tolerantnot from manufacturer
TXGPIO1, Arduino TX (1)interruptPWM (software)UART0 TXnot 5 V tolerantoutputs a signal at bootnot from manufacturer
GGroundnot from manufacturer
3V3.3 Vpower inputpower outputnot from manufacturer

Sources

Not verified against the manufacturer: 30 of 30 pins. The pin card says what confirms each one and where sources disagree.

Size: Fritzing user measurement (31×58 mm), no manufacturer documentation (approximate).

FAQ

Which ESP8266 NodeMCU V3 LoLin pins are I2C, SPI and UART?
By default in ESP8266 Arduino core (NodeMCU 1.0): I2C: SDA GPIO4, SCL GPIO5; SPI: MOSI GPIO13, MISO GPIO12, SCK GPIO14, SS GPIO15; UART: TX GPIO1, RX GPIO3.
Which pin is the ESP8266 NodeMCU V3 LoLin LED on?
GPIO2.
Are the ESP8266 NodeMCU V3 LoLin pins 5 V tolerant?
No. The logic is 3.3 V and the pins are not 5 V tolerant: use a divider or a level shifter for 5 V signals.

You might also need

Similar boards

Next

Need firmware or a device built on ESP8266? I'll build it to order