NodeMCU · NodeMCU DEVKIT 1.0 (ESP-12E)

NodeMCU ESP8266

NodeMCU DEVKIT 1.0: an ESP-12E module (ESP8266, Wi-Fi) with a USB-serial chip and a 3.3 V regulator.

NodeMCU
NodeMCU ESP8266NodeMCU · ESP8266 · Tensilica L106 · 80 MHz · 80 KB · bare metalESP8266NodeMCU ESP8266123456789101usb USBMicro-USB (power, uploads, serial)2radio RadioWi-Fi3pwr Power5 V USB, or VIN4v3v3 Power3V3 pins (AMS1117 regulator)5v5 PowerVIN (5 V from USB)6gnd PowerGND7button GPIOFLASH button (D3, low when pressed) · io GPIO08uart0 UARTUART0 (TX, RX: the USB serial too) · tx GPIO1,rx GPIO39i2c0 I²CI²C, in software (D2 SDA, D1 SCL) · sda GPIO4,scl GPIO510spi0 SPIHSPI (D5, D7, D6, D8) · sck GPIO14, mosiGPIO13, miso GPIO12, cs GPIO1514 GPIO pins, each a port (led, …)

In short

Wi-Fi on a breadboard stick: an ESP8266 (one Tensilica L106 core at 80 MHz), 4 MB flash, 3.3 V pins. 11 GPIOs on the D, RX and TX pins, one analog input (A0).

Clock80 MHz
Flash4 MB
RAM80 KB
GPIO11
Logic3.3 V

Specs

From the board’s model in the store.

Processor
ESP8266 · 1× Tensilica L106 · chip "esp8266"
Clock
80 MHz
Flash
4 MB
RAM
80 KB
GPIO pins
11
ADC
ADC 1 ch 10-bit
Logic level
3.3 V
Power
5 V USB, or VIN (in); 3V3 pins (AMS1117 regulator): 3.3 V (≤ 500 mA); VIN (5 V from USB): 5 V (≤ 500 mA)
Current per pin
12 mA
Buses
UART ×2, I²C ×1, SPI ×1
On any pin
I²C, PWM
Runs
bare metal (no OS)

Pin map

Each pin by what it does. Hover or tap a pin to see what else it can be.

  • Power 3
  • Ground 1
  • Digital 1
  • Analog 1
  • Bus 5
  • Control 5
  • GPIO16D0 (GPIO16, no PWM)
  • GPIO5D1 (GPIO5, SCL)
  • GPIO4D2 (GPIO4, SDA)
  • GPIO0D3 (GPIO0, FLASH)
  • GPIO2D4 (GPIO2, LED)
  • GPIO14D5 (GPIO14, SCK)
  • GPIO12D6 (GPIO12, MISO)
  • GPIO13D7 (GPIO13, MOSI)
  • GPIO15D8 (GPIO15, CS)
  • GPIO3RX (GPIO3)
  • GPIO1TX (GPIO1)
  • TOUTA0 (ADC)
  • pwr5 V USB, or VIN
  • v3v33V3 pins (AMS1117 regulator)
  • v5VIN (5 V from USB)
  • gndGND

Watch out

What archec checks for this board, from its data. Each one names the check that catches it.

  • Its pins work at 3.3 V. A 5 V sensor’s output on one of them needs a level shifter between them.

    check pin-level

  • One pin gives at most 12 mA. An LED needs a resistor; a motor or a relay needs a driver.

    check pin-current

  • Two of the board’s connectors share these pins: GPIO16 (LED on the board (D0, on when low) / D0 (GPIO16, no PWM)), GPIO2 (Blue LED on the ESP-12 module (D4, on when low) / D4 (GPIO2, LED)), GPIO0 (FLASH button (D3, low when pressed) / D3 (GPIO0, FLASH)), GPIO1 (UART0 (TX, RX: the USB serial too) / TX (GPIO1)), GPIO3 (UART0 (TX, RX: the USB serial too) / RX (GPIO3)), GPIO4 (I²C, in software (D2 SDA, D1 SCL) / D2 (GPIO4, SDA)), GPIO5 (I²C, in software (D2 SDA, D1 SCL) / D1 (GPIO5, SCL)), GPIO14 (HSPI (D5, D7, D6, D8) / D5 (GPIO14, SCK)), GPIO13 (HSPI (D5, D7, D6, D8) / D7 (GPIO13, MOSI)), GPIO12 (HSPI (D5, D7, D6, D8) / D6 (GPIO12, MISO)), GPIO15 (HSPI (D5, D7, D6, D8) / D8 (GPIO15, CS)). Use one or the other.

    check pin-conflict

  • The board already uses GPIO16 (LED on the board (D0, on when low)), GPIO2 (Blue LED on the ESP-12 module (D4, on when low)), GPIO0 (FLASH button (D3, low when pressed)), GPIO16 (D0 (GPIO16, no PWM)), GPIO5 (D1 (GPIO5, SCL)), GPIO4 (D2 (GPIO4, SDA)), GPIO0 (D3 (GPIO0, FLASH)), GPIO2 (D4 (GPIO2, LED)), GPIO14 (D5 (GPIO14, SCK)), GPIO12 (D6 (GPIO12, MISO)), GPIO13 (D7 (GPIO13, MOSI)), GPIO15 (D8 (GPIO15, CS)), GPIO3 (RX (GPIO3)), GPIO1 (TX (GPIO1)). Something else wired there fights with it.

    check pin-conflict

  • The 3V3 pins (AMS1117 regulator) gives at most 500 mA at 3.3 V. Add up what you power from it.

    check board-current

  • The VIN (5 V from USB) gives at most 500 mA at 5 V. Add up what you power from it.

    check board-current

  • It gives 3.3 V (3V3 pins (AMS1117 regulator)), 5 V (VIN (5 V from USB)). Power each part from a rail at its own voltage.

    check board-supply

  • It has 2 UART, 1 I²C, 1 SPI. One more bus of a kind than that is an error.

    check board-peripheral

First model

A blink for this board: the board, an LED and a part that turns it over every 500 ms. archec checks it, then writes the code on the right.

This board has no pin a first model can blink in its model yet.

Parts on the board

What each numbered part is. Click a number to find it on the board.

1 2 3 4 5 6 7 8 9 10

Find the part

The quiz names a part: click it on the board. A first try scores a point.

Compare every board