Introduction: ESP8266 Arduino Ide Setup and Led Blink Project With ESP8266
In this tutorial we will learn how to setup arduino ide for ESP8266 and we will do a simple project of led blink.
Step 1: Library Setup:
- open the arduino ide
- click on File
- then click on preference
- paste the following link in additional board manager:
http://arduino.esp8266.com/stable/package_esp8266c...
5.click on tools and click on manage libraries
6.Search the ESP8266 board and install it.
Step 2: Board Selection:
- connect the ESP8266 with Computer
- click on the Tools in arduino ide
- then click on board and select the board
Step 3: Circuit Diagram:
1.connect the led according to above circuit diagram.
Step 4: Programming:
Upload the below program in ESP8266 board:
void setup()
{
pinMode(D0, OUTPUT);
}
void loop()
{
digitalWrite(D0, HIGH);
delay(1000);
digitalWrite(D0, LOW);
delay(1000);
}