Safe GPIO pins
Operates at 3.3V logic level. ESP8266 GPIO pins are NOT 5V tolerant (max 3.6V). The 5V pin powers the onboard ME6211 3.3V LDO regulator (up to 500 mA output).
ADC and analog pins
Pin A0 connects to an integrated 220 kΩ / 100 kΩ voltage divider, scaling external voltages up to 3.2V to the raw 0-1.0V ESP8266 TOUT ADC channel.
I2C, SPI and UART pins
Hardware UART0 on TX/RX (shared with USB). Software/Hardware SPI on D5 (SCK), D6 (MISO), D7 (MOSI), D8 (SS). I2C bus default on D1 (SCL) and D2 (SDA).
Strapping and boot pins
Boot configuration strapping pins: D3 (GPIO0) pull-up for Flash mode; D4 (GPIO2) pull-up, drives blue onboard LED; D8 (GPIO15) pull-down, must be LOW at boot.
Input-only pins
Bidirectional GPIO pins feature internal software-configurable pull-ups (~30-100 kΩ) except GPIO16 (D0) which has a built-in pull-down.