This is Step 2 of Step by Step :: Setting up your node mcu ESP8266 tutorial.

Before we start programming via arduino, first upload the firmware.

Board ships with the firmware, but not to take a chance and update the firmware, so that we ensure we are working with latest firmware.

Download latest firmware binary:

Github for the same is https://github.com/nodemcu/nodemcu-firmware/releases

Earlier binaries were available directly in the github

Due to the ever-growing number of modules available within NodeMCU, pre-built binaries are no longer made available. Use the automated custom firmware build service to get the specific firmware

However, we are sharing hack for our tutorial continuity. Download the binary from below:

nodemcu_float_0.9.6-dev_20150704.bin

nodemcu_integer_0.9.6-dev_20150704.bin

For simplicity, we would be using nodemcu_integer_0.9.6-dev_20150704.bin.

Download Flashloader software

A software will be required to transfer the firmware we downloaded in above step to the ESP8266 wifi module. This software is known as flasher. Download flasher from the below mentioned link. It has got flasher for Win64 and Win32, download as per your computer’s operating system.

https://github.com/nodemcu/nodemcu-flasher

 

In order to flash ESP8266 wifi module, your module should be connected to your computer. From device manager of your computer please note down the comport no to which your ESP8266 wifi module is connected. For mine it is COM2.

Open Flasher downloaded in above step and select COM Port.

esp8266-nodemcu-flasher-1

Click on configuration tab and enter the full path the firmware you downloaded in step2. if the path is correct it will be in green color else it will turn red. As shown in the following image.

esp8266-nodemcu-flasher-2

Go to Operation tab of Flasher software and click on Flash(F) button.

 

esp8266-nodemcu-flasher-3.0

It is showing Acknowledge successful.

esp8266-nodemcu-flasher-3.1

After successful acknowledgment it show the status of set base address. In the above image it is showing successful set base address.

esp8266-nodemcu-flasher-4

The module is being flashed with the NodeMCU firmware. In the operation tab you can see current status of flashing.

Once the module gets connected to Flasher software, it starts showing MAC address of the ESP8266 wifi module.

esp8266-nodemcu-flasher-5

On successful completion of flashing green tick mark appear on bottom left corner. The same can be seen from Log tab of Flasher software.

esp8266-nodemcu-flasher-6

After successful flashing Flasher software disconnects itself.

Your device is now ready to flashed by Arduino IDE. However, before we can strart writing and downloading the code to ESP8266, we need to configure Arduino IDE envirnoment for the binaries of nodemcu. Our next tutorial is about the same.

Step 3 : Configuring Arduino IDE (few imports of libraries required) to enable writing code for ESP8266.

 

 

ArvinshUncategorizedIOT,NODEMCU,TutorialThis is Step 2 of Step by Step :: Setting up your node mcu ESP8266 tutorial. Before we start programming via arduino, first upload the firmware. Board ships with the firmware, but not to take a chance and update the firmware, so that we ensure we are working with latest firmware. Download...Collobrative Intelligence News and updates