Overview

Step 1: You must first download and install the Arduino IDE, which you can download from https://www.arduino.cc/en/Main/Software for free. If you have already installed the Arduino IDE on your computer, make sure it is the latest version of the IDE because the older version does not include the ESP32 board.

Step 2 –

After installation, open the IDE and go to Files -> Preferences and open the Preferences window and see the “Additional Panel Manager URL” as shown below:

Step 3 –

This box may be empty or contain some other URL if you have used it previously for ESP8266. Simply paste the URL below into this box if the box already contains another URL, and then paste it by separating another URL with a comma (,).

https://dl.espressif.com/dl/package_esp32_index.json

Step 4 –

After pasting the given URL, my window looks like this because I already used ESP82666, now press ok and the window will be gone.

Step 5:

Now go to Tools->Dashboard->Dashboard Manager and find ESP32 and press install, it will take some time to install, please make sure you have an internet connection; After installation, your window looks like this:

Programming ESP32 With Arduino IDE

Now you are ready to program your ESP32 using the Arduino IDE as per your requirements. Below are the steps required to program the ESP32 using the Arduino IDE. Here we are going to load the binky LED software on the ESP32 using the Arduino IDE.

Step 1:

First, connect the ESP32 to your computer with a micro-USB cable, and make sure the red LED lights up after connecting to the computer.

Step 2:

Now you have to select your forum; So go to Tools->Boards and select “ESP32 Development Module”.

Step 3:

Now open the device manager and check which com port ESP32 is connected to. Here my ESP is connected to port 6.

Final Code


// Blink Led Using ESP32  //


int LED_BUILTIN = 2;

void setup()
{
pinMode (LED_BUILTIN, OUTPUT);
}

void loop()
{

digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);

}


/////////   end /////

By Admin

Leave a Reply

Your email address will not be published.

%d bloggers like this: