Introduction: Get Started With NodeMCU (ESP8266)....

About: I am a Programmer, Hacker, Maker and Technology enthusiast.

In this Instructable, I'm sharing how you can get started with NodeMCU(ESP8266) with Arduino IDE. This tutorial is for beginners who are just getting started. NodeMCU is just like Arduino with onboard Wifi, so you can take your projects online. To know more about NodeMCU visit its official website here.

I will be sharing more projects based on this so make sure to follow me if you are interested.

So let's get started.


  1. Arduino IDE.
  2. CP210X Driver.
  3. NodeMCU [ ESP8266 ] (Amazon IN / Amazon US / Amazon UK )
  4. LEDs (Amazon IN / Amazon US / Amazon UK)
  5. Breadboard. (Amazon IN / Amazon US / Amazon UK)

That's all you will need to refer to the best buy links if you don't already have the Board.

Once you have the required things. Move to the next step.


  • First Download and Install Arduino IDE.
  • Goto >> Files >> Preferences and paste following Link in "Additional board manager URL's"
"" (Without the quotes) 
  • Click ok, Now Goto >> Tools >> Board >> Board Manager.
  • Scroll down to find ESP8266 and click on install.

This will add all the ESP boards to the IDE.

Now to recognize the Board on the computer you have to install CP210X Drivers. It is very simple. Just visit the link and download the version compatible with your device.

now you have to select the correct board, Here I have used NodeMCU 1.0 (ESP-12E Module).

After selecting the board follow the settings below:-

  • Flash Size : "4M (3M SPIFFS)"
  • Debug Port: "Disabled"
  • Debug Level: "None"
  • IWIP Variant: "V2 Lower Memory"
  • CPU Frequency: "80Mhz"
  • Upload Speed: "921600"
  • Erase Flash: "Sketch On"
  • Port: "COM port available" (where the device is connected should show up)

Now you can upload your sketch on the board.

(Refer to the pictures for details.)


Now that the IDE is set up for NodeMCU you can test it by uploading an Example sketch as follows:-

  • In IDE Goto >> Files >> Examples >> ESP8266
  • Select the Blink Example and upload it.

The onboard LED should start to blink. That means you successfully programmed the board. The onboard LED is connected to pin D0 of NodeMCU. You can add an external LED to Pin D0.

Now for you to work with NodeMCU you have to know the pinouts and Arduino to ESP8266 Pin mapping.

Here I have listed the NodeMCU's pin and corresponding Arduino pins :

  • D0 = 16
  • D1 = 5
  • D2 = 4
  • D3 = 0
  • D4 = 2
  • D5 = 14
  • D6 = 12
  • D7 = 13
  • D8 = 15
  • D9 = 3
  • D10 = 1

So to use pin D0 of NodeMCU you have to use Pin 16 in Arduino IDE.

If you have any doubts, you can ask in the comments.

In the next Instructable I will show you how you can control LEDs over the Internet from anywhere in the world. Check it out here.

Do check out our website and blog for more articles and projects.