Page MenuHomePhorge

Ultimate guide to ESP2866 pin/GPIO numbers
Updated 2,140 Days AgoPublic

Ultimate guide to ESP2866 pin/GPIO numbers

^ Package pin number ^ Manufacturer name ^ GPIO number ^ Nodemcu name ^ Alternative functions ^ Notes ^

1VDDA
2LNA
3VDD3P3
4VDD3P3
5VDD_RTC
6TOUTA0ADC0-1.0V raw, 0-3.2V nodemcu
7CHIP_PUENChip enableHigh ON, Low OFF (with a small current consumed)
8XPD_DCDCGPIO16D0WAKE UPConnect to EXT_RSTB (RESET) to support wakeup from deep-sleep. user/reset button on modemcu - pressed LOW, user LED on nodemcu - LOW ON, no interrupt/pwm/fancy features support - only I/O
9MTMSGPIO14D5HSPI_CLK, alternative I2C_SCL
10MTDIGPIO12D6HSPI_MISO
11VDDPST
12MTCKGPIO13D7HSPI_MOSI, UART0_CTS, alternative UART0_RXTo use alternative function please see manufacturer doc
13MTDOGPIO15D8HSPI_CS, UART0_RTS, alternative USART0_TXTo use alternative function please see manufacturer doc, keep LOW during boot
14GPIO2GPIO2D4USART1_TX, alternative I2C_SDAMay print garbage during boot/programming, keep HIGH during boot
15GPIO0GPIO0D3SPI_CS2On nodemcu run/flash selector - run HIGH, flash LOW
16GPIO4GPIO4D2
17VDDPST
18SDIO_DATA_2GPIO9SD2 (D11)SD_D2Connected to flash in most modules
19SDIO_DATA_3GPIO10SD3 (D12)SD_D3Connected to flash in most modules
20SDIO_CMDGPIO11CMDSD_CMDConnected to flash in most modules
21SDIO_CLKGPIO6CLKSD_CLKConnected to flash in most modules
22SDIO_DATA_0GPIO7SD0SD_D0Connected to flash in most modules
23SDIO_DATA_1GPIO8SD1SD_D1Connected to flash in most modules
24GPIO5GPIO5D1
25U0RXDGPIO3D9UART0_RXUART RX during programming
26U0TXDGPIO1D10UART0_TX, SPI_CS1UART TX during programming
27XTAL_OUT
28XTAL_IN
29VDDD
30VDDA
31RES12KConnect to ground with 12kΩ resistor
32EXT_RSTBRSTResetExternal reset, reset LOW, active HIGH
Last Author
jkramarz
Last Edited
Jan 11 2019, 12:09 PM