This image has an empty alt attribute; its file name is vlcsnap-2018-12-27-16h48m48s771-1024x576.png

ESP8266 NodeMCU is the smallest & cheapest IoT Development board. Price is only starting from $2. There is two chipset model available, one is CH340 and another one is CP2102. You can buy it from the following links.

Buy Link

CH340 AliExpress Amazon
CP2102 AliExpress Amazon

If you wanted to create bin file from Arduino IDE and flash it into ESP8266, then follow these posts.

How to create bin file from Arduino IDE

In this post, I will tell how to flash bin file to ESP8266 Nodemcu from Linux OS. This is for the absolute beginners who are very new to this device.

First, connect your pc to Internet and open Terminal as root. To login as root or superuser mode, run the following command and enter your password.

sudo -i

Now Run the following command in terminal.

pip install pyserial

After this run the following command to install esptool. This is the main flashing tool which will help us to install bin file into Nodemcu.

pip install esptool
How to flash bin file to ESP8266 from Linux OS

After this go to the folder where bin file is saved. Then Right click and open terminal on that path. Now run the following command to flash the bin file in the ESP8266 module. Do not forget to replace filename with your file name.

Now you have successfully installed bin file to your ESP8266 Nodemcu.

How to flash bin file to ESP8266 from Windows OS

How to fix cannot access /dev/ttyUSB0 in Arduino IDE


  1. esptool write_flash: error: argument : [Errno 2] No such file or directory: ‘AuzaGateSensor.bin’
    CAN u please solve my issue

Comment Box