How to install ESP32 Board in Arduino IDE

Arduino IDE is one of the most popular IDE to upload a sketch into an Arduino board. Using Arduino IDE we can also upload code into our ESP32 board. In this tutorial, we will explain step by step how to install Esp32 board in Arduino ide for Windows, MAC OS or Linux operating system. We also create an example project which is blinking a led ON or OFF every one second.

Our other ESP32-related tutorials are:

For troubleshooting, some extremely useful test equipment

Equipment Name

Purchase Link

Best Oscilloscope for Professionals

Best Oscilloscope for Beginners and Students

Logic Analyzer

Best Budget Multimeter

Adjustable Bench Power Supply

Affiliate Disclosure: When you click on links to make a purchase, this can result in this website earning a commission. Affiliate programs and affiliations include, but are not limited to

Installing Arduino IDE

First you need to download the Arduino IDE from Arduino website. Link is given below:

Download Arduino IDE 2.0

Please note : you can use the older version of Arduino IDE, if you want. Just go through the link and scroll down. You will find the older Arduino IDE versions. We are using Arduino ide 1.8.13 in this tutorial for demonstrate the whole process.

Installing ESP32 Board in Arduino IDE

Step 1: Connect your ESP32 with your PC.

Step 2: In Arduino IDE, go to File>>Preferences>>Additional board manager URLS and copy the link and save it. 

Please Note: If you also have ESP8266 board then copy the below link and paste it. separate the two URLs with a comma. Example is given below:,

Step 03: Go to Tools>>Board>>Boards Manager and search for ESP32 toolchain by Espressif Systems and install it.


This is how you can install your ESP32 Development Board to your Arduino IDE.

ESP32 Arduino IDE led blinking project

In this section of the tutorial, We will create a example project that is blinking a led every one second. For this click to File >> Examples >> Basics >> Blink

Screenshot 2023 02

Now, go to Tools >> Port and select your Port which your ESP32 is connected. For us it was COM8.

Screenshot 2023 02 21 220557

And the final step Verify and Upload the code.

Screenshot 2023 02 21 220930

Please Note: you need to press the Boot button immediately on your ESP32 development board and hold it for some seconds for completing the upload process.

6 min

Full code

#define LED_BUILTIN 5 // we define GPIO 5 as LED Pin

// the setup function runs once when you press reset or power the board
void setup() {
  // initialize digital pin LED_BUILTIN as an output.

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second

Rana Bhuiyan

I hold a B.Sc degree in Electrical & Electronic Engineering from Daffodil International University, Bangladesh. I am an Electronic circuit designer and Microcontroller programmer. I am interested in Robotics, Embedded System Design and IoT.

Recent Posts