Aug 28, 2026 — Digital Edition
Bradley Ideas
Independent Journalism & Insight
Feature

NodeMCU Pinout: Ausstattung und Funktionen

The NodeMCU is a popular, cost-effective, and powerful microcontroller board that runs on the ESP8266 chip, designed for IoT applications. With its built-in Wi-Fi capabilities, the NodeMCU allows developers to create smart projects with ease. Understanding the NodeMCU pinout is crucial for utilizing its features effectively. Let's dive into the detailed pinout of the NodeMCU and explore each pin's function.

an image of a micro board with many different colors on it and the main components labeled in
an image of a micro board with many different colors on it and the main components labeled in

The NodeMCU comes in various pin configurations, but the most common is the one based on the ESP-12 module. This article will focus on the ESP-12 based NodeMCU pinout. The board has 17 pins, with several GPIO (General Purpose Input/Output) pins, power pins, and special function pins.

Introduction to STM32F103 Nucleo-64: Overview and Features
Introduction to STM32F103 Nucleo-64: Overview and Features

NodeMCU GPIO Pins

GPIO pins are the bread and butter of any microcontroller, allowing interaction with other components. The NodeMCU has 12 GPIO pins, each with its unique functionality.

an image of a computer block diagram with many different colors and numbers on the board
an image of a computer block diagram with many different colors and numbers on the board

Exploring each GPIO pin's function is crucial for harnessing the NodeMCU's power:

GPIO2 (D4, FLASH)

an image of a micro board with instructions
an image of a micro board with instructions

The GPIO2 pin, also known as D4, is connected to the NodeMCU's onboard LED and serves as a debugging tool. It blinks during boot-up, helping diagnose connectivity and power issues.

To control the onboard LED or use GPIO2 for other purposes, simply write your code to turn the pin on or off, like so:

```cpp digitalWrite(D4, HIGH); // Turn the LED on digitalWrite(D4, LOW); // Turn the LED off ```

GPIO0 (D3, RESET)

an electronic device with parts labeled in red and white on the bottom right hand corner
an electronic device with parts labeled in red and white on the bottom right hand corner

The GPIO0 pin, or D3, is responsible for resetting the NodeMCU. It's an input pin that's pulled up to high logic level. To put the NodeMCU into reset mode, pull this pin down to the low logic level.

Here's how you can make your NodeMCU reset within your code:

```cpp digitalWrite(D3, LOW); delay(10); digitalWrite(D3, HIGH); delay(1000); ```

Special Function Pins

NodeMCU v3 high resolution pinout and specs - Mischianti
NodeMCU v3 high resolution pinout and specs - Mischianti

The NodeMCU also has special function pins that serve dedicated purposes:

RST

How To Make Mini PLC using ESP8266 Node MCU - TRONICSpro
How To Make Mini PLC using ESP8266 Node MCU - TRONICSpro
NodeMCU-32S
NodeMCU-32S
the nodemcu development kit is shown in this diagram
the nodemcu development kit is shown in this diagram
an image of a micro board with the components labeled in red and green on it
an image of a micro board with the components labeled in red and green on it
Download NodeMCU Development Workshop.
Download NodeMCU Development Workshop.
IOT based device control using Node MCU
IOT based device control using Node MCU
Programming ESP8266 ESP-12E NodeMCU Using Arduino IDE - a Tutorial
Programming ESP8266 ESP-12E NodeMCU Using Arduino IDE - a Tutorial
Node MCU ESP32 38Pin USB Type-C
Node MCU ESP32 38Pin USB Type-C

The RST (Reset) pin is an input pin that, when pulled low, can reset the ESP8266 microcontroller. However, it's essential to note that using the RST pin for reset isn't recommended, as doing so can cause unpredictable behavior.

EN

The EN (Enable) pin is an output pin that signals when the board is ready to accept commands. When held low, it disables the ESP8266's interior flash memory, preventing unintentional data writes.

The diverse pinout of the NodeMCU, along with its built-in Wi-Fi, makes it an excellent choice for numerous IoT projects. Browsing through the pinout table in the NodeMCU's datasheet while programming can be invaluable, especially when working with hardware libraries.

Embrace the NodeMCU's power and expand your IoT horizons by exploring its versatile GPIO and special function pins. Happy coding and let your creativity flow as you build remarkable projects with the NodeMCU!