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
- A0TOUTanalogADC0
- RSVTOUT directly
- RSVNC
- SD3GPIO10flashSPI flash SD3
- SD2GPIO9flashSPI flash SD2
- SD1GPIO8flashSPI flash SD1
- CMDGPIO11flashSPI flash CMD
- SD0GPIO7flashSPI flash SD0
- CLKGPIO6flashSPI flash CLK
- GND
- 3V33.3 V
- ENCH_PD
- RSTbuttonReset
- GND
- Vin4.5-10 V
Top view, USB at the bottom, module antenna at the top.
CompareDownload PNG- Chip
- ESP8266EX, ESP-12E (4 MB flash)
- Logic
- 3.3 V
- Power
- Micro-USB 4.75-5.25 VVin 4.5-10 V3V3 3-3.6 V
- Defaults in ESP8266 Arduino core (NodeMCU 1.0)
- I2C: SDA 4, SCL 5SPI: MOSI 13, MISO 12, SCK 14, SS 15UART: TX 1, RX 3LED: 2
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
| Label | Number | Functions | Limits | Check |
|---|---|---|---|---|
| A0 | TOUT, Arduino A0 | ADC0 (A0), 10 bit | analog input onlynot 5 V tolerantonboard voltage divider | verifiedOn the chip itself the range is 0–1.0 V. Boards add a divider, which widens the range (see the board note).The board has a 220 kΩ / 100 kΩ divider: A0 range 0–3.2 V (analogRead 0–1023). |
| RSV | TOUT directly (without the divider) | verifiedPer the NodeMCU schematic TOUT is wired to this pin bypassing the divider: 0–1.0 V. We do not recommend using it. | ||
| RSV | not connected | verifiedNot connected (reserved). | ||
| SD3 | GPIO10 | SPI flash SD3 | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.SD3 = GPIO10. |
| SD2 | GPIO9 | SPI flash SD2 | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.SD2 = GPIO9. |
| SD1 | GPIO8 | SPI flash SD1 | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.SD1 = GPIO8. |
| CMD | GPIO11 | SPI flash CMD | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.CMD = GPIO11. |
| SD0 | GPIO7 | SPI flash SD0 | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.SD0 = GPIO7. |
| CLK | GPIO6 | SPI flash CLK | not 5 V tolerantused by flash, do not use | verifiedConnected to the module flash. Do not use.CLK = GPIO6. |
| GND | Ground | verified | ||
| 3V3 | 3.3 V | power inputpower output | verified | |
| EN | CH_PD: chip enable (high = running) | onboard pull-up | verified | |
| RST | Reset (low = reset) | onboard buttononboard pull-up | verifiedRST button on the board. | |
| GND | Ground | verified | ||
| Vin | 5 V | power inputpower output | verified3.3 V regulator input. Powered from USB it is 5 V. | |
| D0 | GPIO16, Arduino D0 (16) | XPD_DCDC: wake from deep sleep (connect to RST)PWM (software) | not 5 V tolerantno interruptsonboard LED | verifiedGPIO16 is in the RTC domain: no interrupts and no pull-up (only INPUT_PULLDOWN_16). To wake from deep sleep, connect it to RST.Blue LED on the board (3V3 → 470 Ω → LED → GPIO16): lit at LOW. LED_BUILTIN_AUX in Arduino. |
| D1 | GPIO5, Arduino D1 (5) | interruptPWM (software)I2C SCL | not 5 V tolerant | verified |
| D2 | GPIO4, Arduino D2 (4) | interruptPWM (software)I2C SDA | not 5 V tolerant | verified |
| D3 | GPIO0, Arduino D3 (0) | interruptPWM (software) | not 5 V tolerantaffects boot (strapping)onboard button | verifiedAt reset: low = firmware download mode, high is needed for a normal boot.FLASH button on the board (through 470 Ω to ground). |
| D4 | GPIO2, Arduino D4 (2) | interruptPWM (software)UART1 TX (Serial1, transmit only) | not 5 V tolerantaffects boot (strapping)onboard LED | verifiedMust be high at reset, otherwise the board will not start.Blue LED of the ESP-12E module: lit at LOW. LED_BUILTIN = 2. |
| 3V3 | 3.3 V | power inputpower output | verified | |
| GND | Ground | verified | ||
| D5 | GPIO14, Arduino D5 (14) | interruptPWM (software)HSPI SCK | not 5 V tolerant | verified |
| D6 | GPIO12, Arduino D6 (12) | interruptPWM (software)HSPI MISO | not 5 V tolerant | verified |
| D7 | GPIO13, Arduino D7 (13) | interruptPWM (software)HSPI MOSIUART0 RX (Serial.swap) | not 5 V tolerant | verified |
| D8 | GPIO15, Arduino D8 (15) | interruptPWM (software)HSPI CS (SS)UART0 TX (Serial.swap) | not 5 V tolerantaffects boot (strapping) | verifiedMust be low at reset (boards have a pull-down). Do not pull up. |
| RX | GPIO3, Arduino RX (3) | interruptPWM (software)UART0 RX | not 5 V tolerant | verifiedUsed for UART flashing.Connected to the CP2102: busy during flashing and Serial. |
| TX | GPIO1, Arduino TX (1) | interruptPWM (software)UART0 TX | not 5 V tolerantoutputs a signal at boot | verifiedPrints the bootloader log at boot (74880 baud).Connected to the CP2102: busy during flashing and Serial. |
| GND | Ground | verified | ||
| 3V3 | 3.3 V | power inputpower output | verified |
Sources
Every pin is verified against the manufacturer's documents.
- nodemcu-devkit-v1.0: NODEMCU_DEVKIT_V1.0.PDF (schematic, board drawing, BOM)schematic, checked 15.10.2026board 25.40×48.26 mm, labels and nets of both rows (J1, J2), RSV = TOUT, A0 divider 220k/100k, LED on GPIO16, RST and FLASH buttons, CP2102, NCP1117
- ESP8266 Arduino Core: doc/boards.rst (NodeMCU 1.0)Arduino core, checked 15.10.2026GPIO15/0/2 boot levels, module LED on GPIO2
- ESP8266EX Datasheet (Espressif)datasheet, checked 15.10.2026pins and functions, TOUT (ADC 0–1.0 V), HSPI, UART0/UART1, strapping GPIO0/2/15, flash pins, GPIO16 XPD_DCDC
- ESP8266 Arduino Core: Reference (GPIO, PWM, interrupts, Serial)Arduino core, checked 15.10.2026PWM on GPIO0–16, interrupts on all except GPIO16, GPIO6–11 used by flash, Serial1 TX only on GPIO2, Serial.swap on 15/13
- esp8266/Arduino: variants/nodemcu/pins_arduino.h and common.hArduino core, checked 15.10.2026D0–D8 ↔ GPIO, SDA 4, SCL 5, SS 15, MOSI 13, MISO 12, SCK 14, LED_BUILTIN 2
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



