NodeMCU 1.0
Blocks Saved locally
Arduino code ESP8266 / NodeMCU
// Generated Arduino code will appear here...

ESP8266 reference

NodeMCU board guide

Arduino IDE setup

  1. Add the ESP8266 Boards Manager URL in Arduino IDE Preferences.
  2. Install the esp8266 board package.
  3. Select NodeMCU 1.0 (ESP-12E Module).
  4. Open the downloaded .ino file, select the correct port, and upload.

Pin map

BoardGPIOCommon use
D016Digital I/O, wake
D15I²C SCL
D24I²C SDA
D30Boot strap — use carefully
D42Built-in LED, boot strap
D514SPI SCLK
D612SPI MISO
D713SPI MOSI
D815SPI CS, boot strap
A0ADC0Only analog input
Important: GPIO 0, 2 and 15 affect boot mode. Avoid sensors that force the wrong level during reset. The bare ESP8266 ADC is limited to 1.0 V; confirm whether your NodeMCU board includes an input divider before applying a higher voltage.

Start quickly

Choose an example