NodeMCU ESP8266 ESP-12E Dev Board CP2102 MicroUSB
New
Development BoardsSKU 20000103

NodeMCU ESP8266 ESP-12E Dev Board CP2102 MicroUSB

Rs. 980In stock

The NodeMCU ESP8266 (ESP-12E) is the low-cost Wi-Fi board that started the DIY IoT wave. It puts an ESP8266 Wi-Fi microcontroller, a CP2102 USB-to-UART chip and a 3.3 V regulator on one breadboard-friendly board, so… Read more

1 in stock

1
Ask about this
  • Courier islandwide, Rs. 580. Paid before 12:00 PM, it usually ships the same business day.
  • Pick up in Ganemulla, pay at the counter.
  • Checked before it ships. Faulty or wrong? Tell us within 7 days.

Description

The NodeMCU ESP8266 (ESP-12E) is the low-cost Wi-Fi board that started the DIY IoT wave. It puts an ESP8266 Wi-Fi microcontroller, a CP2102 USB-to-UART chip and a 3.3 V regulator on one breadboard-friendly board, so you can program it straight from Arduino IDE over Micro USB. Great for Wi-Fi switches, sensor nodes, MQTT clients and small web servers.

Features

  • ESP8266 32-bit Tensilica L106 CPU at 80 / 160 MHz with 4 MB flash (ESP-12E module)
  • Built-in 2.4 GHz Wi-Fi (802.11 b/g/n) — station, access point or both
  • CP2102 USB-to-UART over Micro USB for fast, reliable uploads
  • 11 digital GPIO with PWM, I2C, SPI and UART, plus 1 analog input (A0)
  • On-board 3.3 V regulator, FLASH and RST buttons, on-board LED
  • Works with Arduino IDE, PlatformIO, MicroPython and Lua (NodeMCU firmware)

Pinout

Tap the image to open it full size.

NodeMCU ESP8266 pinout

In Arduino IDE you can use the D-labels or GPIO numbers: pinMode(D4, OUTPUT) is the same as pinMode(2, OUTPUT). D3, D4 and D8 decide the boot mode - keep D3/D4 high and D8 low at power-up. Safest general pins: D1, D2, D5, D6, D7. The board has only one analog input (A0, 0-3.3 V).

Getting started in Arduino IDE

NodeMCU ESP8266 getting started in Arduino IDE

Board manager URL - paste into File → Preferences → Additional boards manager URLs:

https://arduino.esp8266.com/stable/package_esp8266com_index.json

Then install esp8266 by ESP8266 Community from Tools → Board → Boards Manager and pick NodeMCU 1.0 (ESP-12E Module).

Tools menuSet to
BoardNodeMCU 1.0 (ESP-12E Module)
Upload Speed115200 (921600 works on most cables)
Flash Size4MB (FS:2MB OTA:~1019KB)
CPU Frequency80 MHz
PortThe CP210x COM port

Your first sketches

1. Blink - the blue LED is on GPIO2 (D4) and is active LOW:

void setup() { pinMode(LED_BUILTIN, OUTPUT); }
void loop() {
  digitalWrite(LED_BUILTIN, LOW);  delay(500);  // LED on
  digitalWrite(LED_BUILTIN, HIGH); delay(500);  // LED off
}

2. Connect to Wi-Fi - open the Serial Monitor at 115200 baud:

#include <ESP8266WiFi.h>
void setup() {
  Serial.begin(115200);
  WiFi.begin("YOUR_SSID", "YOUR_PASSWORD");
  while (WiFi.status() != WL_CONNECTED) { delay(500); Serial.print("."); }
  Serial.println(WiFi.localIP());
}
void loop() {}

3. Read the analog pin - A0 reads 0-1023 for 0-3.3 V:

void setup() { Serial.begin(115200); }
void loop() { Serial.println(analogRead(A0)); delay(200); }

Troubleshooting

ProblemFix
No COM port appearsInstall the Silicon Labs CP210x driver and use a Micro-USB data cable
Upload failsLower Upload Speed to 115200, or hold FLASH, tap RST, release FLASH
Board won't boot with a module attachedRelease D3, D4 and D8 - they must be high, high and low at power-up
Random resets in Wi-Fi sketchesAvoid long delay() blocks - call yield() or use millis() timing

Good to know

  • Logic level is 3.3 V — don't connect 5 V signals directly to the GPIO pins.
  • Wi-Fi only (no Bluetooth). Need Bluetooth or more pins? Look at the ESP32 boards.
  • If your computer doesn't detect the board, install the Silicon Labs CP210x USB driver.

Images: NodeMCU DEVKIT 1.0 photo by Vowstar (CC BY-SA 4.0); NodeMCU v2 CP2102 pinout by Renzo Mischianti (CC BY-SA 4.0) — via Wikimedia Commons.

Specifications

ModuleESP-12E (ESP8266)
ProcessorTensilica L106 32-bit, 80/160 MHz
Flash4 MB
WirelessWi-Fi 802.11 b/g/n 2.4 GHz
USBMicro USB
USB-to-UARTCP2102
Digital I/O11 GPIO (PWM, I2C, SPI, UART)
Analog input1 (A0)
On-boardFLASH & RST buttons, LED
Power input5 V via Micro USB or VIN
Logic level3.3 V