Setting up arduino to program ESP 32

In this post we will see how to add ESP 32 to arduino IDE (on windows machine) , this post assumes that you already have Arduino IDE installed on your windows machine (you can get latest version of Arduino IDE from arduino.cc )

Installing the ESP32 Arduino Core

download the git repo and extract the contents to ${Sketchbook}\hardware\espressif\esp32 directory (generally the sketchbook folder is ~/Documents/Arduino, you can check in the Arduino IDE File->Preferences. Create the directory structure in your sketchbook directory,After extracting the contents should be in esp32 folder, not in its child folder, refer below images)

arduino sketchbook folder
arduino sketchbook folder

In the tools directory, you can find get.exe, double click on that. It will download the required files

 

once the download is completed, restart your arduino you can see the ESP 32 boards in the available boards list

I will load a simple program that shows the CHIP ID of the device , you can find the program in arduino examples

 

 

upload the code and open the serial monitor

 

ESP 32 DevKit pin mapping

 

pd: Pulldown

pl: Pullup

3 Comments

Add a Comment

Your email address will not be published. Required fields are marked *