Programming ESP8266 NodeMCU with Arduino IDE

 After long time I needed to reprogram my ESP8266 NodeMCU. Looking back into my older blogpost I came to know that I have not written any note on how I programmed it when I used it for the first time. So this time I wanted to write a note on how I am programming it and the errors and the troubleshooting I have taken.

Step 1: Setting Up the Arduino IDE

To program the ESP8266 NodeMCU, we will use the Arduino IDE v 1.8 and python v 3.8. If you don't already have it installed, download and install it from the [Arduino website](https://www.arduino.cc/en/software).

Installing the ESP32 Board in Arduino IDE

  1. Open the Arduino IDE.
  2. Navigate to File > Preferences.
  3. In the "Additional Board Manager URLs" field, paste the following URL:http://arduino.esp8266.com/stable/package_esp8266com_index.json
  4. Click OK.
  5. Go to Tools > Board > Boards Manager.
  6. Search for esp8266  by "ESP8266 Community" in the Boards Manager window.
esp8266 library


Now the ESP8266 board package should be installed in your Arduino IDE.

esp8266 board

2. Install the CH340 driver for ESP8266 NodeMCU




Post a Comment

Previous Post Next Post