Nodemcu pinout

Nodemcu pinout is having labels D0 to D8 and RX-TX but when programming it using Arduino IDE we observe that its labels are not matching with IO connections. Lets see actual connections of NodeMCU with ESP8266 i.e. ESP-12.

NodeMCU is an open source IoT platform. It includes firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which is based on the ESP-12 module. The term “NodeMCU” by default refers to the firmware rather than the dev kits.

We get two on board LEDs one is connected to GPIO2 and another is to GPIO16

Node MCU Pinout

nodemcu pins
NodeMCU Pinout

NodeMCU Pin Defining

NodeMCU has weird pin mapping.
Pin numbers written on the board itself do not correspond to ESP8266 GPIO pin numbers. We have constants defined to make using this board easier:

NodeMCU Circuit Diagram

nodemcu circuit diagram
NodeMCU Circuit Diagram

Circuit diagram of NodeMCU makes more clear about connections of NodeMCU with ESP8266 GPIO. Never use GPIO0 (D3) as input pin, this pin is flash button. If it is low at power on state this will put ESP in programming mode.


Leave a Reply