Random Nerd Tutorials

Installing the ESP32 Board in Arduino IDE (Windows instructions)


The ESP32 is currently being integrated with the Arduino IDE just like it was done for the ESP8266, but not everything is working at the moment (see here).

This add-on for the Arduino IDE allows you to program the ESP32 using the Arduino IDE and its programming language.

If you like the ESP32, you might also enjoy reading all my ESP8266 tutorials.

Let’s get started!

Note:  you can also learn how to install the ESP32 Board in Arduino IDE on Mac or Linux computer or you read my Getting Started with ESP32 Dev Module.

Installing Python 2.7.x

Having the latest Arduino IDE software installed from arduino.cc/en/Main/Software. Follow these next instructions:

1) Go to Python website and download the 2.7.x version for Windows: https://www.python.org/downloads

2) Open the file and follow the installation wizard

3) Choose the option “Install for all users”

4) In Customize Python 2.7.X, you must enable the last option “Add python.exe to Path”

Installing Git

Having Git is optional, but it’s easier to download an prepare everything through Git’s Bash. Follow these next steps:

1) Download and install Git and Git GUI from git-scm.com

2) Launch Git GUI and select the Clone Existing Repository option:

3) Then, select the source and destination:

  • Source Location: https://github.com/espressif/arduino-esp32.git
  • Target Directory: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32 (in my case, it looks like: C:/Users/ruisantos/Documents/Programs/arduino-1.6.13/hardware/espressif/esp32)
  • Press the “Clone” button

4) Open the folder: Your_Arduino_IDE_Folder_Path/hardware/espressif/esp32/tools

5) Open the “get.exe” file and wait for it to download/prepare the files

6) Re-open the Arduino IDE software

Testing the Installation

Plug your ESP32 dev board to your computer.

1) Open Arduino IDE

2) Select your board in Tools > Board menu (in my case it’s the ESP32 Dev Module)

3) Select the COM port

4) Open one of these examples under File > Examples > WiFi (ESP32) > WiFi Scan

5) To make your ESP32 go into downloading/uploading mode: hold the BOOT button and press the EN button to reboot your ESP32

6) Press the Upload button in the Arduino IDE and wait a few seconds while the code compiles and uploads to your board. If everything is correct this what you should see:

7) Open the Arduino IDE serial monitor at a baud rate of 115200 to see the networks available near your ESP32:

This is a very basic tutorial that illustrates how to prepare your Arduino IDE for the ESP32 on a Windows PC.

Do you have any questions? Leave a comment down below!

Thanks for reading. If you like this post probably you might like my next ones, so please support me by subscribing my blog and my Facebook Page.

P.S. Learn how to install the ESP32 Board in Arduino IDE (Mac and Linux instructions)

P.P.S. Getting Started with ESP32 Dev Module

Recommended Resources

Home Automation using ESP8266 »
Build IoT projects and home automation gadgets with the ESP8266 Wi-Fi module.

Build a Home Automation System »
Learn how to build a automation system using open-source hardware and software from scratch.

Arduino Step-by-Step Projects »
Build 25 cool Arduino projects with our couse even with no prior experience!

Leave a Comment:

Add Your Reply