NodeMCU v2 (ESP8266)

The NodeMCU v2 is the ESP8266 dev-kit that put WiFi on every project: cheap, ubiquitous, WiFi-only (no BLE), with enough GPIO and I2C for most CONDUYT module use cases. The protocol works the same as on the ESP32, just without BLE/MQTT-bridge transports.

Specs

PropertyValue
MCUTensilica L106, 80 MHz (160 MHz overclock supported)
Flash4 MB
RAM80 KB
GPIO11 usable pins (D0–D10 on the board, with caveats)
ADC1 channel (A0, 10-bit, max ~1V or 3.3V depending on resistor divider)
PWMSoftware PWM on any output pin (no hardware PWM peripheral)
I2CSoftware-bit-banged (Wire library) — typically D1 (SCL) / D2 (SDA)
SPI1 user-accessible HSPI bus
UART1 hardware UART (Serial); Serial1 is TX-only
WiFi802.11 b/g/n
BLENo
OTASupported (via ArduinoOTA library)

Flashing

USB-serial via the on-board CP2102. The Playground flashes via esp-web-tools. First flash needs the bootloader to enter; after that, OTA over WiFi is the easy path.

Notes

  • Only one ADC, max 1V at the chip — most boards include a resistor divider so the visible A0 pin tolerates 3.3V.
  • D8 / GPIO15 must be LOW at boot; D3 / GPIO0 must be HIGH at boot. If you wire those pins to active-driven peripherals, the board may not boot.
  • "Software" PWM means PWM frequency tops out around a few kHz before timing jitters — fine for LEDs and servos, not great for motor speed control.
  • ESP8266 has tighter RAM than ESP32. Watch your dynamic allocations and prefer PROGMEM for large constants.

Compile flag

[env:nodemcuv2]
platform = espressif8266
board = nodemcuv2
framework = arduino