sorry we are not native speakers, so the content may not be clear. We just want to share with you!
ESP8266 arduino ide, the esp8266 community created an add-on for the arduino ide whether you’re using Windows, Mac OS X or Linux.
We will help you Installing ESP8266 Board in Arduino IDE!
Read more: What is ESP8266 and it’s sleep mode
ESP8266 with LUA
Before starting ESP8266 arduino, i will introduce with you ESP8266 with lua language:
Lua is a powerful and simple scripting language used for many different applications. It has found great success in game development, and is now finding a new home in IoT development. NodeMCU created a firmware for the ESP8266 that is based upon a Lua interpreter. We’ll get you off and running with Lua on this popular IoT platform!
ESP8266 SDK Tutorial | Learn how to use the ESP8266 SDK. This is what the pros use! |
ESP8266 Lua/NodeMCU Tutorial | A look at the NodeMCU Lua interpreter for the ESP8266. Learn how to get to Blinky! |
Prerequisites: Arduino IDE Installed
Before starting this installation procedure, make sure you have the latest version of the Arduino IDE installed in your computer. If you don’t, uninstall it and install it again. Otherwise, it may not work.
Having the latest Arduino IDE software installed from arduino.cc/en/Main/Software, continue with this tutorial.

Install ESP8266 Add-on in Arduino IDE
refer: https://randomnerdtutorials.com/how-to-install-esp8266-board-arduino-ide/
- In your Arduino IDE, go to File> Preferences

- Enter http://arduino.esp8266.com/stable/package_esp8266com_index.json into the “Additional Boards Manager URLs” field as shown in the figure below. Then, click the “OK” button:

Note: if you already have the ESP32 boards URL, you can separate the URLs with a comma as follows:
https://dl.espressif.com/dl/package_esp32_index.json, http://arduino.esp8266.com/stable/package_esp8266com_index.json
- Open the Boards Manager. Go to Tools > Board > Boards Manager…

- Search for ESP8266 and press install button for the “ESP8266 by ESP8266 Community“:

- That’s it. It should be installed after a few seconds.

Uploading the Sketch for ESP8266 arduino
After install add-on, we will upload the sketch blink led. If you’re using an ESP-12E NodeMCU Kit, uploading the sketch is very simple, since it has built-in programmer. Plug your board to your computer.

After that you will select com port:

How to select COM PORT in Windows
If you don’t know how to find your COM port when you plug in the ESP8266 module, let follow this step:


Copy code to Arduino IDE
int pin = 2;
void setup() {
// initialize GPIO 2 as an output.
pinMode(pin, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(pin, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(pin, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
Upload code

Results after installed ESP8266 Arduino IDE

so, today i have introduce to you how to setup ESP8266 in Arduino IDE. Hope to help you!