NodeMCU ESP8266 Specifications, Overview and Setting Up (2024)

Specifications, Overview and Setting Up Your NodeMCU

NodeMCU ESP8266 Specifications, Overview and Setting Up (1)

What is NodeMCU?

NodeMCU ESP8266 Specifications, Overview and Setting Up (2)The NodeMCU (NodeMicroControllerUnit) is an open-source software and hardware development environment built around an inexpensive System-on-a-Chip (SoC) called the ESP8266. The ESP8266, designed and manufactured by Espressif Systems, contains the crucial elements of a computer: CPU, RAM, networking (WiFi), and even a modern operating system and SDK. That makes it an excellent choice for Internet of Things (IoT) projects of all kinds.

However, as a chip, the ESP8266 is also hard to access and use. You must solder wires, with the appropriate analog voltage, to its pins for the simplest tasks such as powering it on or sending a keystroke to the “computer” on the chip. You also have to program it in low-level machine instructions that can be interpreted by the chip hardware. This level of integration is not a problem using the ESP8266 as an embedded controller chip in mass-produced electronics. It is a huge burden for hobbyists, hackers, or students who want to experiment with it in their own IoT projects.

But, what about Arduino? The Arduino project created an open-source hardware design and software SDK for their versatile IoT controller. Similar to NodeMCU, the Arduino hardware is a microcontroller board with a USB connector, LED lights, and standard data pins. It also defines standard interfaces to interact with sensors or other boards. But unlike NodeMCU, the Arduino board can have different types of CPU chips (typically an ARM or Intel x86 chip) with memory chips, and a variety of programming environments. There is an Arduino reference design for the ESP8266 chip as well. However, the flexibility of Arduino also means significant variations across different vendors. For example, most Arduino boards do not have WiFi capabilities, and some even have a serial data port instead of a USB port.

NodeMCU Specifications

The NodeMCU is available in various package styles. Common to all the designs is the base ESP8266 core. Designs based on the architecture have maintained the standard 30-pin layout. Some designs use the more common narrow (0.9″) footprint, while others use a wide (1.1″) footprint – an important consideration to be aware of.

The most common models of the NodeMCU are the Amica (based on the standard narrow pin-spacing) and the LoLin which has the wider pin spacing and larger board. The open-source design of the base ESP8266 enables the market to design new variants of the NodeMCU continually.

Official Amica
NodeMCU

NodeMCU ESP8266 Specifications, Overview and Setting Up (3)

Amica NodeMCU measures 49mm x 26mm with a standard pin space of 0.1″ between pins and 0.9″ between rows.

The Amica NodeMCU is approximately 25% smaller in size than a closely compatible LoLin style NodeMCU

Official Amica NodeMCU
on Carrier Board

NodeMCU ESP8266 Specifications, Overview and Setting Up (4)

Amico NodeMCU mounted to a 102mm x 51mm carrier board with dual DB-09 male/female connectors

Lolin
NodeMCU

NodeMCU ESP8266 Specifications, Overview and Setting Up (5)

LoLin style NodeMCU measures 58mm x 32mm with a pin spacing of 0.1″ between pins and 1.1″ between rows

NodeMCU Technical Specifications

OfficialNodeMCUNodeMCUCarrier BoardLoLinNodeMCU
MicrocontrollerESP-8266 32-bitESP-8266 32-bitESP-8266 32-bit
NodeMCU ModelAmicaAmicaClone LoLin
NodeMCU Size49mm x 26mm49mm x 26mm58mm x 32mm
Carrier Board Sizen/a102mm x 51mmn/a
Pin Spacing0.9" (22.86mm)0.9" (22.86mm)1.1" (27.94mm)
Clock Speed80 MHz80 MHz80 MHz
USB to SerialCP2102CP2102CH340G
USB ConnectorMicro USBMicro USBMicro USB
Operating Voltage3.3V3.3V3.3V
Input Voltage4.5V-10V4.5V-10V4.5V-10V
Flash Memory/SRAM4 MB / 64 KB4 MB / 64 KB4 MB / 64 KB
Digital I/O Pins111111
Analog In Pins111
ADC Range0-3.3V0-3.3V0-3.3V
UART/SPI/I2C1 / 1 / 11 / 1 / 11 / 1 / 1
WiFi Built-In802.11 b/g/n802.11 b/g/n802.11 b/g/n
Temperature Range-40C - 125C-40C - 125C-40C - 125C
Product LinkNodeMCUNodeMCU

NodeMCU Pinout and Functions Explained

NodeMCU ESP8266 Specifications, Overview and Setting Up (6)
    • Power Pins There are four power pins. VIN pin and three 3.3V pins.
      • VIN can be used to directly supply the NodeMCU/ESP8266 and its peripherals. Power delivered on VIN is regulated through the onboard regulator on the NodeMCU module – you can also supply 5V regulated to the VIN pin
      • 3.3V pins are the output of the onboard voltage regulator and can be used to supply power to external components.
    • GNDare the ground pins of NodeMCU/ESP8266
    • I2C Pins are used to connect I2C sensors and peripherals. Both I2C Master and I2C Slave are supported. I2C interface functionality can be realized programmatically, and the clock frequency is 100 kHz at a maximum. It should be noted that I2C clock frequency should be higher than the slowest clock frequency of the slave device.
    • GPIO Pins NodeMCU/ESP8266 has 17 GPIO pins which can be assigned to functions such as I2C, I2S, UART, PWM, IR Remote Control, LED Light and Button programmatically. Each digital enabled GPIO can be configured to internal pull-up or pull-down, or set to high impedance. When configured as an input, it can also be set to edge-trigger or level-trigger to generate CPU interrupts.
    • ADC Channel The NodeMCU is embedded with a 10-bit precision SAR ADC. The two functions can be implemented using ADC. Testing power supply voltage of VDD3P3 pin and testing input voltage of TOUT pin. However, they cannot be implemented at the same time.
    • UART Pins NodeMCU/ESP8266 has 2 UART interfaces (UART0 and UART1) which provide asynchronous communication (RS232 and RS485), and can communicate at up to 4.5 Mbps. UART0 (TXD0, RXD0, RST0 & CTS0 pins) can be used for communication. However, UART1 (TXD1 pin) features only data transmit signal so, it is usually used for printing log.
    • SPI Pins NodeMCU/ESP8266 features two SPIs (SPI and HSPI) in slave and master modes. These SPIs also support the following general-purpose SPI features:
      • 4 timing modes of the SPI format transfer
      • Up to 80 MHz and the divided clocks of 80 MHz
      • Up to 64-Byte FIFO
    • SDIO Pins NodeMCU/ESP8266 features Secure Digital Input/Output Interface (SDIO) which is used to directly interface SD cards. 4-bit 25 MHz SDIO v1.1 and 4-bit 50 MHz SDIO v2.0 are supported.
    • PWM Pins The board has 4 channels of Pulse Width Modulation (PWM). The PWM output can be implemented programmatically and used for driving digital motors and LEDs. PWM frequency range is adjustable from 1000 μs to 10000 μs (100 Hz and 1 kHz).
    • Control Pins are used to control the NodeMCU/ESP8266. These pins include Chip Enable pin (EN), Reset pin (RST) and WAKE pin.
      • EN: The ESP8266 chip is enabled when EN pin is pulled HIGH. When pulled LOW the chip works at minimum power.
      • RST: RST pin is used to reset the ESP8266 chip.
      • WAKE: Wake pin is used to wake the chip from deep-sleep.
    • NodeMCU ESP8266 Specifications, Overview and Setting Up (7)Control Pins are used to control the NodeMCU/ESP8266. These pins include Chip Enable pin (EN), Reset pin (RST) and WAKE pin.
      • EN: The ESP8266 chip is enabled when EN pin is pulled HIGH. When pulled LOW the chip works at minimum power.
      • RST: RST pin is used to reset the ESP8266 chip.
      • WAKE: Wake pin is used to wake the chip from deep-sleep.

USB to Serial Converter – CP2102 or CH340G

Incorporated into each NodeMCU is a USB to Serial Converter. The official design is based on the CP2102 chipset and offers the best compatibility. Genuine boards use the CP2102 chipset including the officially licensed Amica NodeMCU modules. The other common USB to Serial Converter used is the CH340G which is common on the lower-priced modules including the LoLin units. Other designs may use drivers including the FTDI chipset, but those designs are rare.

Depending on the Operating System you are using with the NodeMCU, the appropriate driver must be installed. Generally, Windows 10 immediately recognizes the CP2102 chipset while the CH340G may require separate installation.

  • NodeMCU ESP8266 Specifications, Overview and Setting Up (8)Drivers for the CP2102 are available fordownloadfrom theSilicon Labs support site. Drivers constantly evolve and ensuring and installing the most recent version in your development environment minimum issues. Drivers are available for Windows, Mac, Linux, and Android.We also have a local copy of the CP2102 drivers (v10.1.8) available locally fordownload. You are always best to visit the original manufacturer to ensure you are receiving the most recent versions of the driver.
  • NodeMCU ESP8266 Specifications, Overview and Setting Up (9)WCH maintain and update the drivers for the CH340G on a regular basis. Versions of the driver are also available for Windows, Mac, Linux, and Android. Visit theirDriver Downloadpage. We also have a local copy of the CH340G drivers (version 3.5) available locally fordownload.You are always best to visit the original manufacturer to ensure you are receiving the most recent versions of the driver.

We have experienced situations where both CP2102 and CH340G devices have not functioned or been recognized as expected. The solution was as simple as uninstalling the old driver and installing the most recent version.

NodeMCU Compatibility with Arduino IDE

NodeMCU ESP8266 Specifications, Overview and Setting Up (10)
NodeMCU ESP8266 Specifications, Overview and Setting Up (11)

The NodeMCU offers a variety of development environments, including compatibility with the Arduino IDE (Integrated Development Environment). The NodeMCU/ESP8266 community took the IDE selection a step further by creating an Arduino add-on. If you’re just getting started programming the ESP8266 or even an established developer, this is the highly recommended environment. Visit our dedicated page on setting up and configuring the Arduino IDE for a NodeMCU ESP8266.

NodeMCU Carrier Board

NodeMCU Carrier Board with Serial Ports

NodeMCU ESP8266 Specifications, Overview and Setting Up (12)

The NodeMCU Carrier Board features a genuine Amica NodeMCU ESP8266 processor along with a DB09 male and female connector with an RS-232 level converter.

The original design of the Carrier Board was for a WiFi application and the serial ports allowed for RS-232 data to be provided over the serial connectors, through a MAX232 compatible level converter to the NodeMCU. The level converter allows true RS-232 signals to be sent to the NodeMCU without worrying about the wide voltage swings.

NodeMCU Carrier Board Schematic

NodeMCU ESP8266 Specifications, Overview and Setting Up (13)
NodeMCU ESP8266 Specifications, Overview and Setting Up (14)

The NodeMCU Carrier Board schematic shows the two DB-09 connectors, along with the switch atSW1. The switch toggles the data from either DB-09 between Pin 2 or Pin 3 to the level converter.

Finally, there is a jumper position atJ1. The allows serial data from either DB-09 to appear on the NodeMCURxpin.

It is important to note that with a jumper placed across J1, this will interfere with the ability of the USB connector on the NodeMCU module, in particular, the ability to program the NodeMCU. If programming/reprogramming the NodeMCU, it is advisable to remove the jumper when programming.

NodeMCU ESP8266 IoT Experimenter

NodeMCU Development and Prototyping Platform

NodeMCU ESP8266 Specifications, Overview and Setting Up (15)

What Is The NodeMCU IoT Experimenter?

NodeMCU ESP8266 Specifications, Overview and Setting Up (16)

TheNodeMCU IoT Experimenteris a versatile prototyping platform for use with a variety of the most popular NodeMCU modules including our NodeMCU Carrier Board. Great to use for IoT projects, advanced or straightforward interfacing, and as a prototyping platform. The NodeMCU, with its versatility, including its ability to be programmed and used from the Arduino IDE, makes it along with this prototyping board the perfect experimenter’s solution.

TheNodeMCU IoT Experimentermeasures 5 5/16″ x 4.5″ (135mm x 115mm) with a solder mask on each side, plated holes along with a high-contrast silk-screen labeling component and prototyping positions.

Features of the board include a mounting socket area to accept either wide 1.1″ or narrow 0.9″ pitch NodeMCU modules. This includes the Amica NodeMCU carrier board (narrow pin spacing) to compatible variants such as the LoLin NodeMCU models. Power can be provided directly to your NodeMCU module through its built-in USB interface. Alternately, power can be supplied to theIoT Experimenterboard which has provisions for an integrated regulated power supply module.

The board offers over 1,000 plated-through holes on the prototype surface, mounting for eight status indicator LEDs along with dropping resistors and a power indicator LED. The prototyping area offers power busbars for the Ground (G), +3.3V (3V) power rail, and a third railX. The third rail can be used for external voltages such as a 5V rail.

Interfacing to the NodeMCU is through a series of headers that extend each pin of the NodeMCU to rows of four headers. Each port is labeled to identify matching pins from the NodeMCU. The header area is located below the NodeMCU using standard 40-pin headers allowing for versatility in interfacing for sockets or header pins.

For more information about theNodeMCU IoT Experimenter, visit the support page.

Are you interested in purchasingNodeMCU IoT Experimenter, either a partial or full kit of parts? Visit the Online Store for the NodeMCU IoT Experimenter or other NodeMCU and Arduino accessories.

NodeMCU ESP8266 Specifications, Overview and Setting Up (2024)

FAQs

What is the specification of NodeMCU? ›

It has one Analog Input Pin, 16 Digital I/O pins along with the capability to connect with serial communication protocols like SPI, UART, and I2C. NodeMCU has 128 KB RAM and 4MB of Flash memory to store data and programs.

What is NodeMCU ESP8266 and how it works? ›

Description. NodeMCU is an open-source firmware and development kit that helps you to prototype or build IoT products. It includes firmware that runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which is based on the ESP-12 module. The firmware uses the Lua scripting language.

What power supply is needed for NodeMCU? ›

Voltage requirements:

The NodeMCU board typically operates in the range of 3.3V to 5V. It's important to ensure that the voltage supplied to the board falls within this range. If the voltage supplied is too low, the board may not function correctly, and if it is too high, it may damage the board.

What is the difference between NodeMCU and ESP8266? ›

Some development boards use basic esp8266 modules and some integrate the chip, flash memory and the antenna on the PCB. NodeMcu is a development board with esp8266 and a firmware with the same name. On the picture is a NodeMcu development board with an esp-12F esp8266 module soldered to the PCB of the NodeMcu.

Is NodeMCU 5V or 3.3 V? ›

It's 3.3V. Connecting 5V will destroy those pins, and possibly the whole board with it. pert: They're 3.3 V.

Does NodeMCU have WiFi? ›

NodeMCU already has a processor built in with the WiFi so you don't need a separate processor. If you just want to add WiFi to your Arduino board use an ESP8266 board connected to the Arduino. That is essentially the WiFi part of NodeMCU.

What are the disadvantages of NodeMCU? ›

Disadvantages of NodeMCU over Arduino UNO:

Analog pins: NodeMCu has only one Analog input pin. But the Arduino UNO contains 6 Analog pins. Lower voltage level: The NodeMCU cannot be compatible with the other Modules in rare cases.

Can NodeMCU work without Internet? ›

Smart home automation system, which uses Wi-Fi technology(no internet required) and smartphone to control the home appliances, which also includes timer.

What are the advantages of using NodeMCU? ›

NodeMCU has several advantages. It is a low-cost platform that allows for the reduction of costs in IoT applications . It also has WiFi connectivity, enabling remote monitoring and control of systems . NodeMCU is expandable and has firmware that can be easily extended, making it flexible for various applications .

Can I power NodeMCU with 12v? ›

Using a 12V or above supply and loading the module's outputs/using wifi means it will run very hot - possibly even damaging it. Use, if possible, a 5V wall wart - temperatures will be much lower. NodeMCU is not an Arduino and I've seen stories about them burning up when supplied with voltage too high.

What type of cable is used for NodeMCU? ›

The Micro USB cable allows you to connect your NodeMCU to your computer for programming. It also supplies power to the device. The NodeMCU only works with specific cables.

Does NodeMCU have a voltage regulator? ›

NodeMCU has a Vin pin that is connected to a voltage regulator (usually LD33). This regulator supports up to 15V as input (it also has a terrible dropout voltage). If you are supplying NodeMCU with >5V, then you can just use this pin and wire directly to the sensor.

What is the specification of NodeMCU ESP32? ›

Specifications
TypeESP32
Clock Frequency240 MHz
SRAM512 kB
Memory4 MB
Wireless Lan802.11 b/g/n
8 more rows

How much RAM does NodeMCU have? ›

In the NodeMCU v3 specs it says it has 4Mb flash memory. In the ESP-12EX datasheet it says the MCU has no rom, but can boot from an SPI external memory.

How much RAM does the NodeMCU ESP8266 have? ›

NodeMCU
NodeMCU DEVKIT 1.0
DeveloperESP8266 Opensource Community
Memory128kBytes
Storage4MBytes
PowerUSB
4 more rows

What is the RAM and ROM of NodeMCU? ›

NodeMCU comes with 128KB RAM and UNO it's just 2kB RAM so NodeMCU is having more ram space. NodeMCU is having 4MBytes of ROM (flash) and UNO is just 32 KB, NodeMCU can store more code compare to UNO.

Top Articles
Latest Posts
Article information

Author: Trent Wehner

Last Updated:

Views: 6297

Rating: 4.6 / 5 (76 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Trent Wehner

Birthday: 1993-03-14

Address: 872 Kevin Squares, New Codyville, AK 01785-0416

Phone: +18698800304764

Job: Senior Farming Developer

Hobby: Paintball, Calligraphy, Hunting, Flying disc, Lapidary, Rafting, Inline skating

Introduction: My name is Trent Wehner, I am a talented, brainy, zealous, light, funny, gleaming, attractive person who loves writing and wants to share my knowledge and understanding with you.