Set up Arduino IDE for node MCU ESP8266 (CP2102).
Aim: To set up Arduino IDE for node MCU ESP8266 (CP2102).
Requirements
Laptop/Computer with the Internet.
Procedure
Once you go through all the steps in this tutorial, you can run Arduino IDE code on node MCU.
Step 1: If you do not have Arduino IDE installed on your computer, click the link below and download it.
https://www.arduino.cc/en/software
Choose “Windows Win 10 and newer, 64 bits” in the Download options.
Once you have Arduino IDE software installed, follow the steps below-
Step 2: We will start by adding the ESP8266 board to Arduino IDE.
Link: https://arduino.esp8266.com/stable/package_esp8266com_index.jsonCopy this link. Open Arduino IDE > File > Preferences > Additional board manager.
Paste this link in the additional board manager and click OK to save changes.
Step 3: This tutorial is for ESP8266 (CP2102 driver). So, we need to install the driver for CP2102 on our device/ computer.
Follow the link given below and download
https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads
In the software downloads section choose “CP210x Windows drivers”. Start Download.
Extract and open the downloaded file and install the “CP210xVCPInstaller_x64” application.
Step 4: Go to Arduino IDE. On the left-hand side select boards manager and search for “esp8266 by ESP8266 Community”.
Select the latest version and install it.
Step 5: Select board “NodeMCU 1.0 (ESP-12E Module)” and port (accordingly). As shown in picture below-
Select OK.
Conclusion
Arduino IDE is now ready to program Node MCU ESP8266 (CP2102).
Author
Akash Sharma