[Tutorial] Part-1 :: Step by Step :: Setting up your node mcu ESP8266 for Arduino :: Uploading Firmware for Arduino IDE
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:
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.
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.
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.
Go to Operation tab of Flasher software and click on Flash(F) button.
It is showing Acknowledge successful.
After successful acknowledgment it show the status of set base address. In the above image it is showing successful set base address.
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.
On successful completion of flashing green tick mark appear on bottom left corner. The same can be seen from Log tab of Flasher software.
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.
http://iotneed.com/2017/03/25/tutorial-part-1-step-by-step-setting-up-your-node-mcu-esp8266-for-arduino-uploading-firmware-for-arduino-ide/UncategorizedIOT,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...ArvinshArvindam Jainadmin@iotneed.comAdministratorNatrualist, Technologist, Experminatlist having keen interest in IOT and Bots.IOTNeed