Loading node mcu firmware to ESP8266-01

ESP8266-01 version comes with a AT based firmware, you need a application processor/controller to solve a problem.

if your use case doesn’t require lot of GPIO (ESP has only 2) you can load NodeMCU firmware and directly program the ESP. This way  you can avoid having to add another controller.

In this blog we will see how to load the nodemcu firmware to ESP, it is actually pretty simple. You need ESP and a USB- Serial bridge (3v3 level). Many FTDI based serial bridges supports 3v3 option.

ESP FTDI
ESP FTDI
  1. Build firmware with modules you need.
  2. Get ESP8266 flasher 

Connect ESP with Serial bridge.

ESP Connections:

VCC : 3v3 supply

ESP8266
ESP8266 pin mapping

CH_PD : 3v3

TX : RX of Serial bridge

RX : TX of Serial bridge

RST,GPIO 0 : gnd

Connect the Serial Bridge ground to the supply ground.

Connect the Serial bridge to the PC and open the ESP8266 flasher.

Select the firmware in config tab

esp8266_config

In advanced tab ,select the flash size, if your not sure about the flash size of your ESP, start from 512Kb

esp-flasher-advanced

In operation tab select the COM port of the Serial bridge and click on flash. Once you have clicked on flash disconnect ESP RST pin from ground, then disconnect GPIO 0 from ground. The flashing will be completed in couple of seconds.

 

 

Add a Comment

Your email address will not be published. Required fields are marked *