NodeMCU V2 ESP8266 (CP2102) pinout

NodeMCU v2 (DevKit v1.0, Amica, CP2102), ESP8266EX, 3.3 V logic, 25.4×48.26 mm, 30 pins

verified15.10.2026

Which NodeMCU V2 ESP8266 (CP2102) pins are safe to use

Free to use

GPIO3-5, GPIO12-14

Use with care

  • GPIO0, GPIO2, GPIO15: strapping: the level at power-up selects the boot mode.
  • GPIO1: signal at boot.
  • GPIO16: onboard LED.
  • 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.
  • SD0–SD3, CMD, CLK are flash pins (GPIO6–11): do not use them.
  • Rows 0.9 inch (22.86 mm) apart: on a breadboard one row of holes is left on each side.
  • Pin positions: rows by board symmetry, the first pin measured from the board drawing (±0.2 mm). Small components are drawn approximately.

Revisions and clones

  • "NodeMCU v2" clones may use a CH340G instead of the CP2102; the width and pin order are the same.
  • The solder mask color differs between manufacturers.

All pins

LabelNumberFunctionsLimitsCheck
A0TOUT, Arduino A0ADC0 (A0), 10 bitanalog input onlynot 5 V tolerantonboard voltage dividerverified
RSVTOUT directly (without the divider)verified
RSVnot connectedverified
SD3GPIO10SPI flash SD3not 5 V tolerantused by flash, do not useverified
SD2GPIO9SPI flash SD2not 5 V tolerantused by flash, do not useverified
SD1GPIO8SPI flash SD1not 5 V tolerantused by flash, do not useverified
CMDGPIO11SPI flash CMDnot 5 V tolerantused by flash, do not useverified
SD0GPIO7SPI flash SD0not 5 V tolerantused by flash, do not useverified
CLKGPIO6SPI flash CLKnot 5 V tolerantused by flash, do not useverified
GNDGroundverified
3V33.3 Vpower inputpower outputverified
ENCH_PD: chip enable (high = running)onboard pull-upverified
RSTReset (low = reset)onboard buttononboard pull-upverified
GNDGroundverified
Vin5 Vpower inputpower outputverified
D0GPIO16, Arduino D0 (16)XPD_DCDC: wake from deep sleep (connect to RST)PWM (software)not 5 V tolerantno interruptsonboard LEDverified
D1GPIO5, Arduino D1 (5)interruptPWM (software)I2C SCLnot 5 V tolerantverified
D2GPIO4, Arduino D2 (4)interruptPWM (software)I2C SDAnot 5 V tolerantverified
D3GPIO0, Arduino D3 (0)interruptPWM (software)not 5 V tolerantaffects boot (strapping)onboard buttonverified
D4GPIO2, Arduino D4 (2)interruptPWM (software)UART1 TX (Serial1, transmit only)not 5 V tolerantaffects boot (strapping)onboard LEDverified
3V33.3 Vpower inputpower outputverified
GNDGroundverified
D5GPIO14, Arduino D5 (14)interruptPWM (software)HSPI SCKnot 5 V tolerantverified
D6GPIO12, Arduino D6 (12)interruptPWM (software)HSPI MISOnot 5 V tolerantverified
D7GPIO13, Arduino D7 (13)interruptPWM (software)HSPI MOSIUART0 RX (Serial.swap)not 5 V tolerantverified
D8GPIO15, Arduino D8 (15)interruptPWM (software)HSPI CS (SS)UART0 TX (Serial.swap)not 5 V tolerantaffects boot (strapping)verified
RXGPIO3, Arduino RX (3)interruptPWM (software)UART0 RXnot 5 V tolerantverified
TXGPIO1, Arduino TX (1)interruptPWM (software)UART0 TXnot 5 V tolerantoutputs a signal at bootverified
GNDGroundverified
3V33.3 Vpower inputpower outputverified

Sources

Every pin is verified against the manufacturer's documents.

Size: from the board drawing in the NodeMCU schematic (2.54×4.826 cm).

FAQ

Which NodeMCU V2 ESP8266 (CP2102) 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 NodeMCU V2 ESP8266 (CP2102) LED on?
Blue LED on GPIO16 (D0), lit at LOW.
Are the NodeMCU V2 ESP8266 (CP2102) 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