Home Elements Boards Recipes

ESP8266 NodeMCU development boards

The NodeMCU boards are one of the most common development boards. They offer an easy start into the ESP8266 development. The have all you need for programming, offer 4MByte flash memory and a LED on-board.

NodeMCU is an open-source firmware for ESP8266 boards that enables scripting a IOT device using the Lua scripting language.

In general all these boards are exchangeable and can be used as replacements.

There are many derivate versions on the market but usually they follow the published design:

Here is a collection of pictures of known boards:

node-00 node-01 node-02 node-03 node-04

I prefer and recommend those with a CP2102 USB-to-USART chip and with a DS1117 regulator.

Overview table

GPIO Pin Functionality
GPIO0 D3 Flash Button
RESET RESET Button
GPIO2 D4 Blue LED on module
GPIO16 D0 LED on board

Onboard Momentary Buttons

There are 2 Buttons on the Boards:

Reset – This button pulls the reset pin down to GND.

Flash – This button pulls the GPIO0(D3) pin down to GND. It can be used to manually start the program upload mode when is it pushed while resetting or powering up. Later it can be used for any input purpose as long it is leaving the pin in HIGH input when not used.

Onboard LEDs

There are two LEDs that can be used without any external components:

NodeMCU LEDs

Vin / VUSB

There is a subtile difference in the nodeMCU bards from vendors regarding the availability and the usage of the 5V power supply.

Vin

VU

More to know

If you are most sure what characteristics a board has, try to find pictures and web sites that focus on describing the differences. Most of the boards behave the same.

There are boards that have a bigger PCB board that doesn’t work well with breadboards.

Burned boards

A overload of the 3.3 V output provided by the nodeMCU boards or a temporary shortcut between the GND and 3.3V pins can damage the onboard regulator or the board itself. It happened to me several times.

When only the regulator is damaged you can often cut off the one on the board and use still it by supplying 3.3 volts from an external power source.

After cutting the regulator the USB to serial chip may still work.

Some boards have a diode between the USB 5V line and the onboard regulator that is burned down and can be replaced.

Those boards may also be used by applying external power on +5V and +3.3V pins.

A multi purpose voltmeter is helpful.

System configuration

The following env.json file can be used on these boards:

env.json

{
  "device": {
    "main": {
      "name": "nodeding",
      "description": "nodeMCU board config",
      "reboottime": "24h",
      "button": "D3",
      "led": "D4",
      "I2C-SDA": "D2",
      "I2C-SCL": "D1"
    }
  },

  "ota": {
    "main": {
      "port": 8266,
      "passwd": "123",
      "description": "allow Over the Air Updates"
    }
  },

  "ntptime": {
    "0": {
        "ntpserver": "pool.ntp.org",
        "zone": "CET-1CEST,M3.5.0,M10.5.0/3"
    }
  },

  "ssdp": {
    "0": {
      "manufacturer": "Matthias Hertel"
    }
  }
}

See also

Tags

Board