Installing the Arduino IDE for the ESP8266 | IoT Tutorial
Today I show Installing the Arduino IDE for the ESP8266 Step by step complete Process. Fast you have to need Download Arduino software from here http://www.arduino.cc/en/main/software. Then set up a normal way. After Finish Setup you have to need to chack up the drive if the driver has installed properly then ok Now, you would like to require a take after steps to be able to configure the ESP8266 with the Arduino IDE:
1. Start the Arduino IDE and open the Preferences window.
2. Enter the following URL into the Additional Board Manager URLs field:http://arduino.esp8266.com/stable/package_esp8266com_index.json

3. Open Boards Manager from the Tools | Board menu and install the esp8266 platform as shown here and install :

Connecting your module to your Wi-Fi network:
Now, we are going to check whether the ESP8266 and the Arduino IDE are working correctly, and interface your chip to your local Wi-Fi network.
To do so, let's
// Import required libraries
#include <ESP8266WiFi.h>
// WiFi parameters
const char* ssid = "Mechatronics";
const char* password = "Password";
void setup(void)
{
// Start Serial
Serial.begin(115200);
// Connect to WiFi
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}
Serial.println("");
Serial.println("WiFi connected");
// Print the IP address
Serial.println(WiFi.localIP());
}
void loop() {
}perform the following steps:
You'll basically copy the lines of the going before code and after that paste them into the ESP8266 Arduino IDE that you downloaded earlier. Of course, put your own Wi-Fi title and password within the code. Save this record with a title of your choice

No comments